Twilio Step

Send SMS messages as part of your workflow using Twilio. Use this step to deliver text notifications to users from your Twilio account.

The Twilio step sends an SMS message to a phone number using a named connection. Use it to notify users when a workflow session is complete, send verification codes, or deliver time-sensitive alerts via text message.

Configuration

nametyperequireddescription
connectionstringyesThe name of the Twilio connection to use, as configured in Integrations.
actionstringyesThe operation to perform. Must be SEND_SMS.
sendFromstringyesThe sender phone number in E.164 format (e.g. +15557654321). Must be a Twilio number on your account.
sendTostringyesThe recipient phone number in E.164 format. Supports mapping placeholders.
messagestringyesThe SMS body content. Supports mapping placeholders.

Example

The example below sends an SMS notification from a Twilio number to a recipient's phone.

{
  "connection": "twilio-prod",
  "action": "SEND_SMS",
  "sendFrom": "+15557654321",
  "sendTo": "+15551234567",
  "message": "Your verification code is 123456."
}