
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 *string
The unique agent ID of the Brand Agent configured on the RBM platform
file *string
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 *string
The recipient's phone number (MSISDN) in E.164 format (e.g. +33612345678)
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150impersonatedServiceAccount string
The GCP service account to impersonate
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