Learn how an SMS chatbot works, which phone number to use, and how to build one with AI. Covers healthcare use cases, free options, and platform selection.

An SMS chatbot is software that holds automated, two-way text conversations with customers over standard SMS. It reads each inbound message, interprets it with rules or an AI model, and replies from your business phone number within seconds. Because it runs over conversational SMS rather than a web widget or a mobile app, it reaches every phone on every carrier, including feature phones with no data plan.
Most businesses do not start with a chatbot. They start with one-way notifications, such as an airline pushing flight disruption alerts from its reservation system or a clinic sending appointment confirmations. The chatbot is the natural second phase. The number, the messaging profile, and the carrier registration you set up for notifications carry over. You add reply handling and AI logic on top of infrastructure you already own. It is an upgrade path, not a rip-and-replace.

An SMS chatbot works in four steps. A customer texts your number. The carrier delivers that message through an SMS gateway to your provider, which fires a webhook to your application with the message payload. Your application passes the text, along with prior conversation history, to a rules engine or an LLM that generates a reply. Your application then calls the SMS API to send that reply back to the customer's handset.
The step that separates a useful SMS chatbot from a frustrating one is conversation memory. SMS is stateless by nature. Each message arrives as an isolated event, so your application has to store the thread per phone number and feed it back to the model on every turn. Here is a working example that does exactly that, using Telnyx for both the messaging and the AI inference:
The full runnable project is in the conversation memory example on GitHub.
The business case rests on reach and attention. Industry benchmarks consistently put SMS open rates near 98 percent, while email averages closer to 20 percent, and most texts are read within minutes of delivery. There is no app to install, no login to remember, and no notification permission to grant. Gartner research has tracked steady growth in conversational automation across customer service channels, and SMS is the one channel that requires zero behavior change from the customer.
The revenue impact shows up in the workflows a chatbot can close on its own. A reminder that lets a patient reschedule by reply keeps the appointment slot filled. A shipping alert that answers "where is my order" avoids a support ticket. A flight disruption text that rebooks the passenger by SMS keeps them off the phone queue during an irregular operations event.
Build your SMS chatbot on one networkThe Telnyx SMS API gives you two-way messaging, smart routing, and built-in compliance on direct carrier connections, with AI inference on the same platform.
Explore the SMS APIHealthcare is where a healthcare chatbot over SMS earns its keep fastest. Missed appointments cost providers billable hours that cannot be recovered, prescription refills lapse when patients forget to request them, and intake forms delay visits. Each of these problems reduces to a short text exchange that software can handle, on the one channel every patient already uses.
A plain reminder text reduces no-shows. A healthcare chatbot that handles the reply eliminates the follow-up work. When a patient answers "can't make it," the bot offers open slots, books the new time, and updates the schedule without a staff member touching the thread. Non-responders get escalated to an automated voice call, so the practice covers patients who ignore texts without adding headcount.

This workflow is multichannel by design. The example below sends SMS first, then places an AI-handled voice call to anyone who has not responded, with the model instructed to confirm, reschedule, or cancel:
The complete project is in the appointment reminder example on GitHub.
Texting protected health information triggers obligations under HIPAA regulations. Standard SMS is not encrypted end to end, so covered entities keep PHI out of message bodies where possible, obtain documented patient consent for text communication, and sign a business associate agreement with any vendor that transmits or stores patient data on their behalf.
This is where the underlying platform matters more than the bot logic. If your chatbot tool rents telephony from an aggregator, your patient data crosses an extra vendor boundary, and you need agreements and audits covering every party in the chain. A platform that carries the message, hosts the webhook, and runs the AI inference itself gives you one data processor to vet and one BAA to sign.
The AI SMS chatbot number decision comes before any line of chatbot code, and it shapes throughput, deliverability, and how customers perceive your messages. Telnyx phone numbers activate instantly across 140+ countries, which matters when your launch date is fixed by a system integration going live, not by how long provisioning takes.
A 10DLC long code is a standard 10-digit local number registered for business messaging. It is the default choice for a two-way AI SMS chatbot number because it looks like a number a human would text, supports voice on the same line, and costs a few dollars a month. Toll-free numbers offer higher default throughput after verification and carry national brand recognition, which suits support lines and alert systems. Short codes deliver the highest throughput in the industry but cost thousands per month and read as broadcast, not conversation.
| Number type | Throughput | Best fit |
|---|---|---|
| 10DLC long code | Moderate, tied to campaign trust score | Two-way conversational chatbots |
| Toll-free | High after verification | National support and alerts |
| Short code | Highest available | Mass one-way campaigns |

Unregistered traffic gets filtered. In the US, 10DLC numbers require brand and campaign registration with The Campaign Registry, where your declared use case and trust score determine your throughput. Toll-free numbers require a verification submission describing your traffic. Both paths follow the CTIA messaging guidelines, which mandate clear opt-in, honoring STOP immediately, and responding to HELP.
Two practical steps protect deliverability once you are registered. First, submit registration early, because campaign vetting can take days and a hard launch date does not move for carrier review queues. Second, validate recipient numbers with number lookup before sending, so you do not burn throughput and reputation texting landlines or disconnected numbers.
The honest answer is no, not for production. Carriers charge per-message fees, 10DLC campaigns carry registration costs, and toll-free verification takes real review time. Any AI SMS chatbot number free offer is either a trial, a shared number, or a cost hidden somewhere else in the pricing. What you can get free is everything you need to build and validate the chatbot before spending a dollar at scale.
Trial credits typically cover a test number, a limited volume of sends to verified recipients, and full API access. That is enough to wire up the webhook, test conversation memory, and demo the bot internally. Telnyx trial credit works this way. You build against the same SMS API you will run in production, on direct carrier connections, and flip to paid when you register your campaign.
| Trial phase | Production phase |
|---|---|
| Test number, limited sends | Registered 10DLC or toll-free number |
| Verified recipients only | Any opted-in recipient |
| No registration required | Campaign registration and verification |
Free options carry costs that surface later. Unregistered traffic gets filtered by carriers, so messages silently fail. Shared numbers pool your reputation with every other tenant, and one bad actor tanks deliverability for all of them. Free-tier chatbot tools often meter conversations, so the bill arrives the moment the bot succeeds and volume grows.
Pay-as-you-go is the honest alternative. With Telnyx there is no platform fee. You pay for the number and the messages you send, and the unit costs are visible before you commit. For a chatbot handling real customer conversations, predictable per-message pricing beats a free tier with a conversion trap.
Most roundups answer the best SMS chatbot question with a list of 25 tools. That format hides the actual decision, because nearly every tool on those lists sits on rented telephony. A better approach is a short evaluation framework applied to how the platform is built.
Six criteria separate platforms that survive production from platforms that survive demos:
When your chatbot tool rents telephony from an aggregator, every message crosses at least two companies. Each boundary adds cost markup, adds latency between reply generation and delivery, and creates a support gap where the bot vendor blames the message layer and the message layer blames the bot. Telnyx removes the boundary. The number, the webhook, the LLM inference, and the SMS delivery run on one owned network, with a single bill and a single support team accountable for the whole loop.
Most Voice AI platforms sit on top of someone else's telephony stack. Telnyx runs the AI within our telephony layer.", Ian, Telnyx
The same architecture applies to messaging. The inference endpoint your chatbot calls lives on the same platform as the number receiving the text, so there is no cross-vendor hop between understanding a message and answering it. If you want to see it working, clone the appointment booking flow, a guided SMS booking bot with slot selection, and deploy it against your trial number today.
Launch your SMS chatbot todayGet a number, register your campaign, and connect your webhook on one platform. The Telnyx SMS API runs messaging and AI inference on one owned network with direct carrier connections.
Start buildingRelated articles