DEV

Twilio

Twilio Connection

Put Twilio to Work with @Human Automations and @Human Agents

The Twilio Connection documents all Triggers, Actions and Query Operations available for creating automations via the Twilio API.

What can you do with the Twilio Connection?

  • Connect to the Twilio API in a few clicks

  • Use the related Twilio Operations (see below) in @Human Automations or @Human Agents

Trigger Operations

Message Received

Triggers on: messages/message_received

Triggered when a new message is received via Twilio.

Call Received

Triggers on: calls/call_received

Triggered when a new call is received via Twilio.

Action Operations

Action: Call Phone

Action: Send SMS

Action: Send WhatsApp Message

Action: API Request

Query Operations

Example link

Example link

Obtaining Access Credentials

To obtain a Twilio Personal Access Token (PAT) for system-to-system access, provide the following:

  1. Twilio Account SID (Found in the Twilio Console Dashboard)

  2. Twilio Auth Token (Found in the Twilio Console Dashboard, under "Auth Token")

Steps to Generate a Twilio PAT:

  1. Log in to your Twilio Console (Requires a Twilio account with admin/subscription access).

  2. Navigate to Settings (Gear icon) → API Keys & Tokens.

  3. Under Personal Access Tokens, click Create Token.

  4. Assign a Friendly Name (e.g., "System-to-System Access").

  5. Select the required Scopes (e.g., api:read, api:write).

  6. Click Create Token.

  7. Copy the generated PAT (displayed once; store securely).

Configuring Webhooks

  1. Log in to the Twilio Console.

  2. Navigate to Phone Numbers > Manage > Active Numbers.

  3. Select the Phone Number you wish to configure.

  4. Scroll to the Voice & Fax or Messaging section.

  5. Change the dropdown for A CALL COMES IN or A MESSAGE COMES IN to Webhook.

  6. Paste your Webhook URL into the URL field.

  7. Ensure the HTTP method is set to HTTP POST.

  8. Click Save to apply the configuration.

Code (Apache v2.0): Service Connectivity and Metadata

Code (Apache v2.0): List of External Resources and Internal Mapping

Last updated