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 April 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.
| Action | Description |
|---|---|
| Send SMS | Send a text message to a customer or contact |
| Send MMS | Send a media message with an image, coupon, or document |
| Send WhatsApp | Send a WhatsApp message via Twilio's WhatsApp Business channel |
| Check Message Status | Look up whether a previously sent message was delivered |
| Lookup Phone Number | Validate a number and check if it can receive SMS (mobile vs. landline) |
| Notify Team SMS | Send an internal SMS alert to a staff member when a lead or key event occurs |
| Send Booking SMS | Text a customer their booking confirmation after scheduling an appointment |
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.