Google Cloud SendFile

Google Cloud SendFile

Certified

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.

yaml
type: io.kestra.plugin.gcp.rcs.SendFile

Send a file attachment from a public URL

yaml
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

The unique agent ID of the Brand Agent configured on the RBM platform

The file attachment URI (can be a public HTTPS URL or a Kestra internal storage URI)

The recipient's phone number (MSISDN) in E.164 format (e.g. +33612345678)

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.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset 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.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150

The GCP service account to impersonate

The GCP project ID

SubTypestring
Default["https://www.googleapis.com/auth/rcsbusinessmessaging"]

The GCP scopes to be used

The GCP service account

Optional thumbnail image URI. Only applied when file is a public HTTPS URL; ignored when file is a Kestra internal storage URI

The unique message ID assigned by the RBM platform

Formatdate-time

The timestamp when the message was sent