Skip to content

Integrations

Twilio SMS

Send SMS messages

Use Twilio SMS to send a text message from a workflow. Configure the Twilio credentials, sending number, recipient, and message body documented below.

Connect Twilio once as a Twilio credential with your Account SID and either the account's Auth Token or an API key. Enter an API key as its SID and secret joined by a colon (SKxxx:secret). A Standard or Main key works; a restricted key needs read access to phone numbers. Workflows built with the earlier Twilio block keep the Account SID and Auth Token they entered in the block.

Use the block

Send SMS messages.

Actions

Twilio Send SMS

Send a text message to one recipient using the Twilio API. Call once per recipient to reach several numbers.

Inputs and outputs

Input

ParameterTypeRequiredDescription
phoneNumbersstringYesRecipient phone number in E.164 format (e.g., +15551234567) or a channel address (e.g., whatsapp:+15551234567). Only the first line is used.
messagestringYesMessage to send
fromNumberstringNoSender: a Twilio phone number in E.164 format (e.g., +15551234567), alphanumeric sender ID, short code, or channel address. Required unless a Messaging Service SID is given.
messagingServiceSidstringNoMessaging Service SID (MG...). When set without a From number, Twilio picks the sender from the service sender pool.

Output

ParameterTypeDescription
successbooleanSMS send success status
messageIdstringUnique Twilio message identifier (SID)
statusstringMessage delivery status from Twilio
fromNumberstringPhone number message was sent from
toNumberstringPhone number message was sent to
Was this helpful?
Suggest an edit