Skip to content

Twilio

Integration · Messaging and voice

Using Twilio for SMS, voice and WhatsApp agents

Twilio gives an AI agent a phone number: it can send and receive SMS, handle voice calls and run WhatsApp conversations through Twilio’s APIs. The agent logic lives in your own system; Twilio carries the messages and calls. Each channel has its own registration rules, per-message or per-minute charges and limits.

What Twilio does, and what it does not

Twilio is communications infrastructure. It connects your software to phone networks and messaging platforms, so a message or call can reach your agent and the agent’s reply can reach the customer. It does not decide what to say. The agent’s knowledge, rules and connections to your calendar or CRM sit in the system we build.

Twilio channels for an agent
ChannelWhat an agent can do with it
SMSSend reminders, confirmations and short updates, and handle replies such as “C” to confirm or a request to rebook.
VoiceAnswer or place calls. Twilio’s ConversationRelay product handles speech recognition and text-to-speech so an AI agent can hold a spoken conversation.
WhatsAppSend and receive WhatsApp messages through the WhatsApp Business Platform, with Twilio as the provider.
VerificationSend one-time codes to confirm a customer’s phone number before an agent discusses their account.

Example workflows

  • Appointment reminders with replies: the day before, an SMS asks the customer to confirm. Replies are read by the agent, which confirms, offers new times or passes the request to reception. See appointment booking.
  • After-hours phone line: calls outside opening hours reach a voice agent that answers common questions, takes details and books callbacks. See AI receptionist.
  • Follow-ups that stop when someone replies: quotes or overdue items get a short sequence of messages that ends as soon as the customer responds. See follow-up automation.

Voice is the hardest of these to get right. Latency, accents, background noise and callers interrupting all affect quality, so keep the first version narrow and transfer to a person early.

For any of these, measure what matters to the business rather than message counts: confirmed appointments and no-shows for reminders, calls resolved without a person and callers who hung up for a phone line, and replies or bookings for follow-ups. Twilio’s logs show whether a message was delivered, which helps separate a delivery problem from a wording problem. Listen to or read a sample of conversations every week while you tune it.

What is needed to set it up?

  1. A Twilio account in your business’s name, with billing and spending alerts set.
  2. Phone numbers or sender IDs suitable for the countries you message. Many countries require registration or documentation for numbers and senders, and the rules differ by country and message type. Allow time for this before launch.
  3. For WhatsApp, a sender registered to your WhatsApp Business Account, and approved message templates for notifications outside a customer-started conversation. You can prototype in Twilio’s WhatsApp sandbox first.
  4. Webhook addresses in your system that Twilio calls when a message or call arrives, verified so only Twilio can call them.
  5. A plan for handoffs: which person or phone line receives a conversation the agent cannot finish, and during which hours.

Before you connect Twilio: a checklist.

Checklist

Connecting Twilio safely

Twilio or direct WhatsApp access?

For WhatsApp-only projects, you can connect to Meta’s WhatsApp Business Platform directly or through a provider such as Twilio. Going through Twilio puts SMS, voice and WhatsApp behind one account and one set of tools, which helps if you use several channels. Going direct avoids an extra provider and its fees. Neither is wrong; we decide with you based on the channels you need. Whichever route you choose, the WhatsApp Business Account and its phone number should be registered to your business, so you can move providers later without losing the number or its approved templates. See WhatsApp and WhatsApp Business API setup.

Costs, limits and consent

  • Usage charges apply per message and per call minute, vary by country and change over time. For WhatsApp, Meta’s charges apply as well as Twilio’s. Model costs on your real volumes using current price pages.
  • Throughput limits on numbers and senders affect how quickly bulk reminders go out, so schedule large batches rather than sending everything at nine o’clock.
  • Consent matters. Marketing messages by SMS or WhatsApp need prior consent under Irish and EU rules, and every message should make it easy to opt out. Service messages, such as a reminder for an appointment the customer booked, are treated differently; check with your advisor.
  • Recording calls or storing transcripts is processing personal data. Tell callers, keep only what you need and set a retention period.

Common questions

Can an AI agent answer our phone using Twilio?

Yes. Calls to a Twilio number can be connected to an AI agent that listens, replies with a generated voice and takes actions such as booking a callback. It works best for a narrow set of calls with an easy transfer to a person. Test it with real callers, including people with strong accents and noisy lines, before relying on it.

Do we need Twilio if we only use WhatsApp?

Not necessarily. You can connect to WhatsApp through Meta directly or through several providers. Twilio is useful when you also want SMS or voice, or prefer its tools and support. If WhatsApp is your only channel, compare the direct route on cost and simplicity before adding another supplier.

Can we keep our existing business phone number?

Sometimes. Numbers can often be ported to Twilio, or calls forwarded from your existing line to a Twilio number, but porting rules depend on the country, number type and current carrier. Forwarding is usually the simplest way to start, because you can switch it off instantly if the agent is not working out.

Bring us the task.

Tell us what happens today, which tools are involved and where it goes wrong. On a free 30-minute review, we’ll work out whether an agent, an automation or neither is the right fix, and what a sensible first release would be.

Start a project.

Two people on a sofa with laptops, planning a project beside a whiteboard of sticky notes

Book a call or send us a message. We read everything.

tash@neu.ie
Working with teams in Ireland and worldwide.

Get in touch

Free 30-minute AI review.