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)

The GCP service account to impersonate

Reference (ref) of the pluginDefaults to apply to this task.

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