What it is for
The Twilio component lets you send SMS, place calls with spoken messages, look up phone numbers and download recordings from flooows. It is used for appointment reminders, codes or urgent alerts, and to react to incoming texts or calls.
The triggers (New Incoming SMS, New Call, New Recording, New Transcription and New Phone Number) are polling triggers: flooows checks your Twilio account every few minutes, so they are not instant.
Set up the connection
Authentication type: Username and password
- 1Open the Twilio Console (console.twilio.com).
- 2On the home page, find the Account Info block and copy the Account SID and Auth Token (click Show to reveal it).
- 3In flooows add a Twilio step and click "Connect".
- 4Paste the Account SID as the username and the Auth Token as the password, then save the connection.
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Send SMS: in "From" pick one of your Twilio numbers, in "To" map the customer phone in international format (+1...) and type or map the "Message".
- Call Phone: set "From", "To" and the "Message" to be read aloud; choose "Voice" and "Language" to match your audience.
- Phone Number Lookup: validate a number before sending messages.
- Get Message and Download Recording Media use the SID returned by triggers or earlier actions.
Tips
- •Always store phone numbers in E.164 format (with country code) to avoid errors.
- •Trial accounts can only send to verified numbers.
- •If you need near-instant SMS replies, keep the trigger polling interval in mind.
Triggers (5)
Events that can start a flow. Expand each one to see its fields.
New Incoming SMSPeriodic check1 fields
| Field | Type | Required |
|---|---|---|
| Phone Number | List (from your account) | Yes |
New Phone NumberPeriodic check0 fields
No fields to configure.
New RecordingPeriodic check0 fields
No fields to configure.
New TranscriptionPeriodic check0 fields
No fields to configure.
New CallPeriodic check0 fields
No fields to configure.
Actions (6)
Operations available as flow steps. Expand each one to see its fields.
Send SMS3 fields
| Field | Type | Required |
|---|---|---|
| From | List (from your account) | Yes |
| To | Text | Yes |
| Message | Text | Yes |
Phone Number Lookup1 fields
| Field | Type | Required |
|---|---|---|
| Phone Number | Text | Yes |
Call Phone7 fields
| Field | Type | Required |
|---|---|---|
| From | List (from your account) | Yes |
| To | Text | Yes |
| Message | Long text | Yes |
| Voice | Fixed list | No |
| Language | Fixed list | No |
| Keys to Dial | Text | No |
| Ring Timeout | Number | No |
Get Message1 fields
| Field | Type | Required |
|---|---|---|
| Message SID | Text | Yes |
Download Recording Media3 fields
| Field | Type | Required |
|---|---|---|
| Recording SID | Text | Yes |
| Format | Fixed list | No |
| Channels | Fixed list | No |
Custom API Call10 fields
| Field | Type | Required |
|---|---|---|
| url | Dynamic fields | Yes |
| Method | Fixed list | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body Type | List (from your account) | No |
| Body | Dynamic fields | No |
| Response is Binary | Yes / No | No |
| Return Error as Output | Yes / No | No |
| Timeout | Number | No |
| Follow redirects | Yes / No | No |
Common errors
Authenticate error (20003)
The Account SID or Auth Token is wrong or the token was rotated; update the connection.
Invalid 'To' number
Use the full international format and verify the number on trial accounts.
'From' number cannot send SMS
Check the Twilio number has SMS capability for that country.
Insufficient balance
Top up your Twilio account.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
