Skip to content
For LLMsView as Markdown·

Twilio ​

Send SMS, make voice calls, and manage phone numbers via Twilio.

DetailValue
CategoryCommunication
Base URLhttps://api.twilio.com
AuthenticationBearer Token
Endpoints5
Connector keytwilio

Using Twilio in a workflow ​

  1. Go to Connections and click New Connection.
  2. Pick Twilio from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown. The full list is below.

Available endpoints ​

EndpointSummary
POST /Accounts/{AccountSid}/Messages.jsonSend an SMS message
GET /Accounts/{AccountSid}/Messages.jsonList messages
GET /Accounts/{AccountSid}/Messages/{MessageSid}.jsonFetch a message
POST /Accounts/{AccountSid}/Calls.jsonMake a phone call
GET /Accounts/{AccountSid}/Calls.jsonList calls

Each endpoint is documented in full below. Use the outline on the right to jump to one.

POST /Accounts/{AccountSid}/Messages.json ​

Send an SMS message

DetailValue
Operation IDmessaging.sendSMS
MethodPOST
Path/Accounts/{AccountSid}/Messages.json

Parameters ​

NameLocationTypeRequired
AccountSidpathstringYes

Request Body ​

FieldType
Tostring
Fromstring
Bodystring

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Twilio connection from the Connection dropdown.
  3. In the Operation dropdown, select messaging.sendSMS.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Twilio API reference.

GET /Accounts/{AccountSid}/Messages.json ​

List messages

DetailValue
Operation IDmessaging.listMessages
MethodGET
Path/Accounts/{AccountSid}/Messages.json

Parameters ​

NameLocationTypeRequired
AccountSidpathstringYes
PageSizequeryintegerNo

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Twilio connection from the Connection dropdown.
  3. In the Operation dropdown, select messaging.listMessages.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Twilio API reference.

GET /Accounts/{AccountSid}/Messages/{MessageSid}.json ​

Fetch a message

DetailValue
Operation IDmessaging.getMessage
MethodGET
Path/Accounts/{AccountSid}/Messages/{MessageSid}.json

Parameters ​

NameLocationTypeRequired
AccountSidpathstringYes
MessageSidpathstringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Twilio connection from the Connection dropdown.
  3. In the Operation dropdown, select messaging.getMessage.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Twilio API reference.

POST /Accounts/{AccountSid}/Calls.json ​

Make a phone call

DetailValue
Operation IDmessaging.makeCall
MethodPOST
Path/Accounts/{AccountSid}/Calls.json

Parameters ​

NameLocationTypeRequired
AccountSidpathstringYes

Request Body ​

FieldType
Tostring
Fromstring
Urlstring

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Twilio connection from the Connection dropdown.
  3. In the Operation dropdown, select messaging.makeCall.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Twilio API reference.

GET /Accounts/{AccountSid}/Calls.json ​

List calls

DetailValue
Operation IDmessaging.listCalls
MethodGET
Path/Accounts/{AccountSid}/Calls.json

Parameters ​

NameLocationTypeRequired
AccountSidpathstringYes
PageSizequeryintegerNo

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Twilio connection from the Connection dropdown.
  3. In the Operation dropdown, select messaging.listCalls.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Twilio API reference.