Supported channels
Twilio SMS
Use SMS-capable numbers from your own Twilio account.
Telnyx SMS
Use SMS-capable numbers from your own Telnyx account.
Start conversations with approved templates on WhatsApp Business.
Outgoing and incoming text agents
- Outgoing. The agent messages each contact you add (CSV upload, API, or a trigger) during its schedule. If the contact doesn’t reply, it follows up. If the contact replies and then goes quiet, it can send drop-off follow-ups.
- Incoming. The agent answers anyone who texts one of its numbers. A new conversation starts when a message arrives from a number that has no open chat with the agent.
How a conversation runs
- The agent sends its first message. On SMS the AI writes it from your script. On WhatsApp the approved template from the first script step is sent, with variables filled in.
- When the contact replies, the agent waits briefly for more messages, then answers. Replies are delayed by a few seconds to read naturally (see Message delay).
- The conversation stays open while messages keep coming. If the contact goes idle for longer than the Chat Window Duration (default 5 minutes), the chat closes and post-chat analysis runs.
- If the contact replies again later, the agent continues in context. Follow-ups and drop-off follow-ups re-engage contacts who stop replying.
- Results appear in the agent’s results table with a status, a summary, and success criteria, the same way calls do.
Pause, stop, and terminate
Open the status badge in the agent header to control a running Text agent.Opt-outs and unsubscribes
The agent stops messaging a contact who opts out, and marks the contact Unsubscribed:- Twilio. When a contact replies with a standard opt-out keyword such as
STOP, Twilio flags the opt-out and Callers ends the chat. Twilio also blocks later sends to that number until the contact opts back in (for example withSTART). - Telnyx and Twilio carrier blocks. If the provider rejects a message because the recipient has unsubscribed, the chat ends with an unsubscribed reason instead of retrying.
- Any channel. Post-chat analysis reads the conversation. If the contact asked to stop receiving messages in their own words, the contact is marked Unsubscribed.
Test before you launch
Click Test in the agent header. Enter a phone number in international format (for example+15551234567), fill in any variables, and click Start Chatting. The agent texts that number from the agent’s text channel, and the transcript appears live in the panel. For an incoming agent you also enter the Initial message the contact “sends” first. See Testing your agent.
Build faster with Studio Chat
Studio Chat can create a Text agent from a description, write the script, adjust follow-up settings, and summarize how your chats are going.Related
Text agent settings
Chat window, message delay, follow-ups, and drop-offs.
Create an agent
Pick a channel and generate a first script.
Upload contacts
Add the people your agent will message.
Statuses & outcomes
What each chat and contact status means.