Send

Send

Certified

Send an MMS via Twilio Programmable Messaging

yaml
type: io.kestra.plugin.twilio.notify.mms.Send
yaml
id: mms_on_failure
namespace: company.team

tasks:
  - id: fail
    type: io.kestra.plugin.scripts.shell.Commands
    runner: PROCESS
    commands:
      - exit 1

errors:
  - id: alert_on_failure
    type: io.kestra.plugin.twilio.notify.mms.Send
    accountSID: "{{ secret('TWILIO_ACCOUNT_SID') }}"
    authToken: "{{ secret('TWILIO_AUTH_TOKEN') }}"
    from: "{{ secret('TWILIO_FROM_NUMBER') }}"
    to: "+15555550100"
    body: "Flow {{ flow.id }} failed on execution {{ execution.id }}."
    mediaUrls:
      - "https://demo.twilio.com/owl.png"

yaml
id: send_mms
namespace: company.team

tasks:
  - id: send_mms
    type: io.kestra.plugin.twilio.notify.mms.Send
    accountSID: "{{ secret('TWILIO_ACCOUNT_SID') }}"
    authToken: "{{ secret('TWILIO_AUTH_TOKEN') }}"
    from: "{{ secret('TWILIO_FROM_NUMBER') }}"
    to: "+15555550100"
    body: "Here is your report."
    mediaUrls:
      - "https://example.com/report.png"
Properties
SubTypestring
Definitions
connectTimeoutstring
connectionPoolIdleTimeoutstring
DefaultPT0S
defaultCharsetstring
DefaultUTF-8
headersobject
maxContentLengthintegerstring
Default10485760
readIdleTimeoutstring
DefaultPT5M
readTimeoutstring
DefaultPT10S