
Google Cloud SendFile
CertifiedSend a file attachment to a recipient's phone number
Google Cloud SendFile
Send a file attachment to a recipient's phone number
Uploads and sends a media attachment (image, video, audio, or PDF) to a user via RBM.
type: io.kestra.plugin.gcp.rcs.SendFileExamples
Send a file attachment from a public URL
id: rcs_send_file
namespace: company.team
tasks:
- id: send_file
type: io.kestra.plugin.gcp.rcs.SendFile
serviceAccount: "{{ secret('GCP_SERVICE_ACCOUNT') }}"
agentId: "{{ secret('RBM_AGENT_ID') }}"
msisdn: "+33612345678"
file: "https://example.com/delivery-receipt.pdf"
Properties
agentId *Requiredstring
The unique agent ID of the Brand Agent configured on the RBM platform
file *Requiredstring
The file attachment URI (can be a public HTTPS URL or a Kestra internal storage URI)
Pebble expression referencing an Internal Storage URI e.g. {{ outputs.mytask.uri }}.
msisdn *Requiredstring
The recipient's phone number (MSISDN) in E.164 format (e.g. +33612345678)
impersonatedServiceAccount string
The GCP service account to impersonate
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
projectId string
The GCP project ID
scopes array
["https://www.googleapis.com/auth/rcsbusinessmessaging"]The GCP scopes to be used
serviceAccount string
The GCP service account
thumbnail string
Optional thumbnail image URI. Only applied when file is a public HTTPS URL; ignored when file is a Kestra internal storage URI
Pebble expression referencing an Internal Storage URI e.g. {{ outputs.mytask.uri }}.
Outputs
messageId string
The unique message ID assigned by the RBM platform
sendTime string
date-timeThe timestamp when the message was sent