Enable your AI agent to send SMS, MMS, and WhatsApp messages, validate phone numbers, send booking confirmations, and alert your team. all through natural conversation.
7 min read
Updated October 2026
The Twilio integration gives your AI agent the ability to send text messages on your behalf. Customers can ask to receive a confirmation, a link, an address, or any other information by text, and your agent handles it all through natural conversation.
You can also use Twilio to send your team an SMS alert when a new lead comes in, or automatically text a customer their booking confirmation right after they schedule an appointment through Square, Calendly, or Google Calendar.
Available actions depend on your agent type and plan. Customer-facing actions serve customers. Internal team actions are for authenticated team use. AI CoPilot is Enterprise-only. Plus enables up to 5 actions per agent, Pro enables 40, and Enterprise has no enabled-action limit.
| Action | Description | Audience |
|---|---|---|
| Check Message Status | Check the delivery status of a previously sent Twilio message using its Message SID. Useful when a customer says they did not receive a text. | Customer-facing |
| Lookup Phone Number | Validate a phone number and check whether it can receive SMS (mobile vs. landline vs. VoIP) using the Twilio Lookup API. Prevents failed sends and wasted message credits. | Customer-facing |
| Notify Team SMS | Send an SMS alert to a member of your team when a new lead is captured or an important event occurs in a chat. The message goes to your staff, not the customer. | Internal team |
| Send Booking SMS | Send an SMS booking confirmation to a customer after an appointment is scheduled via Square, Calendly, or Google Calendar. Optionally schedules a reminder SMS before the appointment. | Customer-facing |
| Send Mms | Send an MMS message with an image or media file to a customer via Twilio. Useful for sending menus, receipts, listing photos, coupons, or any visual content. | Customer-facing |
| Send SMS | Send an SMS message to a customer or contact via Twilio. The AI agent collects the recipient's phone number and message content, confirms with the customer, then sends the text. | Customer-facing |
| Send Whatsapp | Send a WhatsApp message to a customer via Twilio's WhatsApp Business channel. Requires a Twilio WhatsApp-approved sender. Ideal for businesses with customers who prefer WhatsApp. | Customer-facing |
Before setting up the Twilio integration, you'll need:
Your agent needs a sender to send from. You can use either a Twilio phone number or a Messaging Service.
MG), and use it as your Messaging Service SID. Required for scheduling booking reminders.| Field | Description | Example |
|---|---|---|
| Account SID | Your Twilio account identifier | ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
| Auth Token | Your Twilio auth token (kept encrypted) | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
| From Phone Number | The Twilio number your agent sends from. Leave blank if using a Messaging Service. | +15551234567 |
| Messaging Service SID | Use instead of a From number if you have a Messaging Service. Required to schedule booking reminders. | MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
| Agent Notify Number | Your team member's mobile number for internal alert actions | +15559876543 |
The Send WhatsApp action uses the same Twilio credentials but requires a WhatsApp-approved sender in your Twilio account. Twilio must approve your WhatsApp Business number before you can send messages.
After setup, test the integration in your AI Agent widget:
Sample trigger phrases by action:
Double-check your Account SID and Auth Token. The Account SID starts withAC and can be found at the top of your Twilio Console dashboard. If the token was recently rotated, update it in the action settings.
The recipient's phone number is not valid. Ask the customer to confirm their number and try again. Use the Lookup Phone Number action first to validate numbers before sending.
The number is a landline or VoIP number that cannot receive text messages. The Lookup Phone Number action returns the line type before sending so your agent can catch this automatically.
Either a From Phone Number or a Messaging Service SID must be set in the action configuration. Go to AI Actions, open the Twilio settings, and add one of the two.
Confirm your Twilio sender is approved for WhatsApp in the Console. The From number must be listed under WhatsApp senders with an “Approved” status before messages can be sent.
Scheduled reminders require a Messaging Service SID (not just a From number) and an appointment date that can be parsed automatically. Set your Messaging Service SID in the action configuration to enable this feature.