Twilio
Twilio nodes let you send SMS and WhatsApp messages from your workflows.
Both nodes require a Twilio connection configured with your Account SID and Auth Token.
Nodes
Send SMS
Send an SMS (or MMS) message.
| Field | Description | Notes |
|---|---|---|
| To | Recipient phone number in E.164 format | Required. Supports templates |
| From | Sender phone number | Optional (use Messaging Service SID instead) |
| Messaging Service SID | Twilio Messaging Service SID | Optional alternative to From |
| Message Body | Text content of the SMS | Required. Supports templates |
| Media URL | URL of media to attach (MMS) | Optional. Supports templates |
Returns the Twilio message object including sid, status, and date_created.
Send WhatsApp
Send a WhatsApp message via the Twilio WhatsApp API. The whatsapp: prefix is added automatically to phone numbers.
Choose a Message Type to control which fields are shown:
Text Message
Send a free-form text message. Only works within the 24-hour conversation window (the recipient must have messaged you first).
| Field | Description | Notes |
|---|---|---|
| To | Recipient phone number in E.164 format | Required. Supports templates |
| From | Sender WhatsApp number | Optional (use Messaging Service SID instead) |
| Messaging Service SID | Twilio Messaging Service SID | Optional alternative to From |
| Message Body | Text content of the message | Required. Supports templates |
| Media URL | URL of media to attach | Optional. Supports templates |
Template Message
Send a pre-approved content template. Templates can initiate conversations outside the 24-hour window, making them ideal for notifications, alerts, and outbound messaging.
| Field | Description | Notes |
|---|---|---|
| To | Recipient phone number in E.164 format | Required. Supports templates |
| From | Sender WhatsApp number | Optional (use Messaging Service SID instead) |
| Messaging Service SID | Twilio Messaging Service SID | Optional alternative to From |
| Content SID | Content Template SID (starts with HX) | Required. Supports templates |
| Content Variables (JSON) | JSON object mapping variable positions to values | Optional. Supports templates |
Content variables example:
json
{"1": "John", "2": "Order #1234"}TIP
Create and manage content templates in the Twilio Console under Content Editor, or via the Content API. Templates must be approved by Meta before use.
TIP
You must either provide a From number or a Messaging Service SID — one of the two is required by Twilio.
Streaming
Both nodes support streaming — when connected to an upstream list, each item triggers a separate message send.
Common Patterns
Order Confirmation SMS
- Webhook — receive order data
- Twilio Send SMS — send confirmation to customer phone number
Alert via WhatsApp
- Cron — scheduled check
- HTTP Request — poll a monitoring endpoint
- Switch — route on status
- Twilio Send WhatsApp (Text) — alert on failure branch
Proactive WhatsApp Notification
- Cron — scheduled trigger
- DataStore Query — fetch pending notifications
- Twilio Send WhatsApp (Template) — send approved template to each recipient