< Back to all integrations
Marketing & Tracking

Connect AI agents and workflows to Twilio: send SMS and WhatsApp messages, place calls, verify phone numbers, look up numbers, and act on incoming messages.

Book a demo
[ Twilio + engini ]

Twilio for AI agents and workflows.

engini lets your AI agents and workflows work with Twilio: send SMS and WhatsApp messages, read message and call history, place outbound calls, send and check verification codes, look up a phone number before you use it, and start a workflow the moment a customer texts back. Order updates, appointment reminders and payment notices reach customers from the systems that hold the facts. Connect from Claude, ChatGPT or Cursor over MCP, from your code, or build in Workflow Studio.

MCPPython and TypeScript SDKCLIREST APIWorkflow Studio
Sign-inYour Twilio account SID with an API key and secret
ReachSMS, MMS and WhatsApp messages, calls, Verify, Lookup and Conversations
TriggersIncoming messages and status changes, as they happen
[ 01 / What agents can do ]

What your agent can do in Twilio. Every tool is one you allow or leave out.

The Twilio tools in engini, grouped by what they change. Read tools are safe to hand out widely. Write and delete tools go only to the agents that need them.

Read

Get Messages, Get Message

Read sent and received messages and their delivery status.

Read
Get Calls, Get Call

Read call history and outcomes.

Read
Lookup Phone Number

Check a number's format, country and line type before you text it.

Read

Write

Send SMS, Send WhatsApp Message

Send a message from your Twilio number or sender, with media if you need it.

Write
Make Call

Place an outbound call that plays a message or connects to a person.

Write
Send Verification Code, Check Verification Code

Verify a phone number or a sign-in with Twilio Verify.

Write
Send Conversation Message

Reply inside a Twilio Conversation.

Write

Any endpoint

Send API Request

Call any Twilio API, with the sign-in added for you.

Any call

Triggers

Incoming Message

A customer sent an SMS or WhatsApp message to your number.

Event
Message Status Changed

A message was delivered, failed or was read.

Event
Incoming Call

Someone called your number.

Event

A trigger starts a workflow, and a workflow can include an AI agent step. In Code, a trigger delivers the event to your own endpoint.

[ 02 / Connect your agent ]

Connect your AI agent to Twilio. Four ways in, one set of permissions.

MCP

Claude, ChatGPT, Cursor

Create an MCP server in engini with your Twilio connection and only the tools you choose. Add its address to your client and sign in through engini. There is no key to copy.

MCP client setup →
SDK

Python and TypeScript

Hand your agent a toolset of Twilio tools. The SDK gives OpenAI and Anthropic models the tools in the format they expect and runs the ones they pick.

SDK guide →
CLI

For coding agents

The engini CLI connects Twilio and runs its tools from a terminal, with machine-readable output, so an AI coding agent can drive it without getting stuck.

CLI guide →
REST API

Any language

Every Twilio tool is an endpoint. Call it with exact inputs from a scheduled job or a sync, with no model in the loop.

API reference →
MCP in four steps
In engini, connect Twilio and create an MCP server with that connection and the tools this agent may use.
Claude: Settings, Connectors, Add custom connector, then paste the server address.
Cursor: add the address to .cursor/mcp.json. Claude Code: claude mcp add.
Sign in through engini when the client asks. The agent sees only the tools you chose.
Cursor, connected to Twilio through engini
// .cursor/mcp.json: Cursor, connected to Twilio through engini
{
"mcpServers": {
"engini-twilio": {
"url": "<your engini MCP server address>"
}
}
}

Create the MCP server in engini with your Twilio connection and the tools this agent may use, then paste its address. The client signs in through engini on first use. Claude, VS Code and other clients take the same address: see the MCP client setup guide.

Try asking your agent
“Text Dana that her order shipped, with the tracking link.”
“Which reminder messages failed to deliver yesterday?”
“Send a WhatsApp message to the customers with appointments tomorrow.”
“Is this a mobile number?”
“What did the customer reply to our delivery text?”
“Call the on-call engineer and read the alert.”

Each request runs through the Twilio tools in the agent's toolset or MCP server. If a tool is not allowed, the agent cannot call it.

[ 03 / What teams build ]

What teams build on Twilio. Agents and workflows, across systems.

Customer service

Order updates from the ERP

When an order ships in NetSuite or Shopify, the customer gets a text with the tracking link, and replies land on the ticket in Zendesk.

NetSuiteShopifyTwilioZendesk
Collections

Payment reminders that get paid

Customers with invoices coming due get a text with a payment link, and the reply is logged on the account.

QuickBooksStripeTwilio
Field service

Appointments confirmed

A day before a visit, customers get a reminder and can reply to confirm or reschedule, and the schedule updates.

TwilioGoogle CalendarSalesforce
Operations

Alerts that wake someone up

A critical incident in ServiceNow places a call to the on-call engineer and texts the team.

ServiceNowTwilio

Every integration runs both ways, so any of these flows can also run in reverse. These are examples, not the limit: any flow between Twilio and another system engini connects is available.

[ 04 / Agent Policy ]

You decide what each agent may do in Twilio. engini enforces it on every call.

Toolsets

Only the tools you allow

A toolset lists the Twilio tools an agent may call and the connection each one uses. Give one agent read tools only and another the write it needs. engini refuses any call outside the toolset.

MCP servers

Scoped when you set them up

An MCP server exposes only the connections and tools chosen when it is created, and engini shows who uses each server.

Identity

Whose permissions apply

Connect a person's own Twilio account and engini acts as that person, with their Twilio permissions. Use a shared integration account and it acts as that account. Every run is recorded under the user who started it.

Credentials

Kept out of prompts

Your agent never needs your credentials: engini stores them and adds them when it runs each call, so keys stay out of prompts and tool inputs.

Audit

Every call on record

Every call lands in History and the audit log, which you can export or stream to your SIEM.

Environments

Test before production

Workspaces keep teams apart, and development, staging and production environments keep a test agent away from live data.

SOC 2 Type IIISO 27001GDPRSecurity at engini →
[ 05 / Set up ]

Connect Twilio in three steps. Then decide what each agent may do.

Step 01

Sign in to Twilio

In the Twilio Console, create an API key for engini, then add a Twilio connection with your account SID, the key and its secret.

Step 02

Choose the tools

Add the connection to an MCP server or a toolset with only the tools each agent needs.

Step 03

Build or ask

Use the connection as a step in a workflow, or ask your agent to work in Twilio from Claude, ChatGPT, Cursor or your own code.

[ 06 / Questions ]

Twilio and engini. Straight answers.

Can an AI agent write to Twilio, or only read?

Both. engini has tools to send SMS and WhatsApp messages, place calls, send and check verification codes, and reply in Conversations. Whether a given agent may use them is up to you: give it a toolset or an MCP server with read tools only, and it cannot call the rest.

Can an agent text customers on its own?

Only if you give it Send SMS or Send WhatsApp Message. Many teams keep sending in workflows with fixed templates and give agents read tools only. Every call is recorded.

Does the agent act as me in Twilio?

It acts as the Twilio account behind the connection, sending from the numbers and senders you choose. Every run is recorded under the person who started it.

Can a change in Twilio start work?

Yes. Twilio notifies engini when messages and calls come in and when message status changes. A trigger starts a workflow, and that workflow can include an AI agent step.

What if the tool I need is not listed?

Use Send API Request to call any Twilio API endpoint through the same connection, and give it only to the agents that need it.