Send

Send

Certified

Send an SMS via Twilio Programmable Messaging

yaml
type: io.kestra.plugin.twilio.notify.sms.Send
yaml
id: sms_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.sms.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 }}."

yaml
id: send_sms
namespace: company.team

tasks:
  - id: send_sms
    type: io.kestra.plugin.twilio.notify.sms.Send
    accountSID: "{{ secret('TWILIO_ACCOUNT_SID') }}"
    authToken: "{{ secret('TWILIO_AUTH_TOKEN') }}"
    from: "{{ secret('TWILIO_FROM_NUMBER') }}"
    to: "+15555550100"
    body: "Hello from Kestra."
Properties
Definitions
connectTimeoutstring
connectionPoolIdleTimeoutstring
DefaultPT0S
defaultCharsetstring
DefaultUTF-8
headersobject
maxContentLengthintegerstring
Default10485760
readIdleTimeoutstring
DefaultPT5M
readTimeoutstring
DefaultPT10S