メインコンテンツへスキップ

Twilio Toolkit

The Twilio Toolkit is a workflow node. Its tools include Send SMS, List Messages, Get Message, and List Calls, plus 5 more listed below. Create a connection before you use any of these tools. Type @ in a field when the value should come from an earlier step.

Authentication​

Create a Twilio connection before you use any of these tools.

  1. On the node, open Connection and choose Create Connection.
  2. Enter a Connection Name.
  3. Open the Twilio Console, then Account, then Account Info.
  4. Copy the Account SID (it starts with AC) and the Auth token.
  5. Paste both values and save, then select the connection on the node.

Tools​

Send SMS​

Sends sms.

FieldRequiredDescription
**From **YesThe phone number to send the message from (Twilio phone number). Type @ to select a variable.
ToYesThe phone number to send the message to. Type @ to select a variable.
BodyYesThe body of the message to send. Type @ to select a variable.

List Messages​

Lists messages.

FieldRequiredDescription
ToNoFilter messages sent to this phone number. Default is null. Type @ to select a variable.
**From **NoFilter messages sent from this phone number. Default is null. Type @ to select a variable.
Date SentNoFilter by date sent (YYYY-MM-DD). Default is null. Type @ to select a variable.
Page SizeNoNumber of messages to return (max 1000). Default is 20.

Get Message​

Retrieves message.

FieldRequiredDescription
Message SidYesThe SID of the message to retrieve (starts with SM or MM). Type @ to select a variable.

List Calls​

Lists calls.

FieldRequiredDescription
ToNoFilter calls made to this phone number. Default is null. Type @ to select a variable.
**From **NoFilter calls made from this phone number. Default is null. Type @ to select a variable.
StatusNoFilter by call status (queued, ringing, in-progress, completed, busy, failed, no-answer, canceled). Default is null. Type @ to select a variable.
Page SizeNoNumber of calls to return (max 1000). Default is 20.

Get Call​

Retrieves call.

FieldRequiredDescription
Call SidYesThe SID of the call to retrieve (starts with CA). Type @ to select a variable.

List Phone Numbers​

Lists phone numbers.

FieldRequiredDescription
Page SizeNoNumber of phone numbers to return (max 1000). Default is 20.

Get Account​

Retrieves account.

FieldRequiredDescription
——This tool has no input fields.

List Recordings​

Lists recordings.

FieldRequiredDescription
Call SidNoFilter recordings by call SID. Default is null. Type @ to select a variable.
Page SizeNoNumber of recordings to return (max 1000). Default is 20.

Custom API Call​

Runs the custom api call tool.

FieldRequiredDescription
URLYesThe API endpoint path (e.g., 'Messages.json', 'Calls.json'). Base URL is automatically prepended. Type @ to select a variable.
MethodNoHTTP method (GET, POST, PUT, DELETE). Default is GET. Type @ to select a variable.
HeadersNoAdditional HTTP headers (Authorization is added automatically). Default is null.
Query ParametersNoQuery parameters for the request. Default is null.
BodyNoRequest body data (for POST/PUT requests). Default is null.

Agents can use this integration from chat. See Twilio.

See all integrations on the toolkits overview.