SMS
Let customers text your business and get answers from the AI agent or your team.
SMS lets customers text your business and get answers by text. Incoming messages become SMS conversations in the help desk, answered by the AI agent or by your team, and every reply goes out from the number the customer texted. Supported numbers also carry picture messages, known as MMS.
Octocom can also send texts:
- The AI agent can text a customer during another conversation, for example a link during a phone call.
- Your agents can start a text conversation from the help desk, or text a caller back after a call.
- Your own systems can text customers through the REST API, for example a shipping or appointment update.
SMS runs on numbers from your own Twilio account. Numbers you buy through Octocom are for calls.
Set up SMS
Connect my Twilio number to this business for SMS handled by our agents.
Copilot connects your Twilio account, lists its numbers, checks that the one you pick can receive texts and connects it to the business. Connecting a number for SMS leaves its call routing as it is. You need the Edit channels permission. Any MCP client can do the same; the tools are listed below.
Then open Settings -> Voice & SMS -> SMS to see the connected numbers and whether each one answers with AI replies or human agents, turn receiving on or off per number and manage blocked senders.
US and Canadian toll-free numbers
Texting US and Canadian customers from a US toll-free number needs approved toll-free verification with your carrier. A number that supports SMS is not automatically approved to send. Octocom reports the verification status when Twilio provides it, but registration happens in Twilio. Other destinations and number types have their own provider requirements. See Twilio's toll-free verification guide.
Human or AI replies
Each business answers SMS in one of two modes:
- Human agents: incoming texts create or update an SMS conversation in the help desk for your team.
- AI replies: the AI agent answers with the business's knowledge, rules and workflows, and hands off to your team when needed.
New connections start with human agents. To switch, ask Copilot, or set the mode through MCP or the REST API. Replies always use the number the customer texted. A number with receiving turned off discards incoming texts before a conversation is created.
Texting customers from the help desk
Agents can text customers from connected numbers that receive texts, since that is where the reply arrives:
- A new conversation: click + beside Help Desk and choose SMS. See Starting a new conversation.
- A phone call conversation: choose Reply via SMS to text the caller, for example after a missed call. It goes from the number they called when that number can text. Their reply joins the same conversation. See Replying by text or email.
Texts from the AI agent
The AI agent's sendSms action texts a customer during another conversation, such as a web chat or a phone call. To turn it on, choose which connected number it sends from (ask Copilot, or set outboundPhoneNumber with update_sms_settings). Choosing the number doesn't send anything: add the action to the workflows where a text is appropriate.
- On a phone call,
sendSmstexts the person on the call: the caller on an inbound call, the number dialed on an outbound one. The AI agent doesn't need the number in its instructions. A caller who withheld their number can't be texted this way. - Without your own Twilio number, ask Octocom to set up a sender name for you, such as your brand name. Customers can't reply to a text sent from a name.
- Through another service, such as Viber, WhatsApp or a different SMS gateway:
sendSmsalways sends a plain SMS through Twilio, so use a custom Python action that calls the other service.
This action is separate from replying in an SMS conversation. To text customers from your own systems, use the REST API's outbound SMS.
Troubleshooting
- The number is in Twilio but not in Octocom: it hasn't been connected to a business yet. Ask Copilot to connect it.
- Messages don't appear: check that receiving is on for the number in Settings -> Voice & SMS -> SMS and that the sender isn't blocked. A Twilio Messaging Service or application can override the number's own webhook; see Numbers in a Messaging Service.
- Sending fails: check the saved credentials, the selected sender, carrier registration and Twilio's delivery errors. Turning receiving on doesn't approve a sender with a carrier.
- The business already receives SMS through Postscript or another Twilio account: connecting another number is refused, so the existing setup is never replaced without notice.
- Receiving stopped after you rotated your Twilio Auth Token: Octocom uses the saved token to check that incoming texts come from Twilio. Update the saved token to match Twilio and test both directions.
For developers and AI agents
Connect a number. You need the channels:write scope.
- Connect the Twilio account and list its numbers with
create_twilio_accountandlist_twilio_phone_numbers. See Your own Twilio account. - Inspect the selected number with
get_twilio_phone_number. Check SMS capability, current routing and any toll-free verification requirements. - Call
connect_twilio_phone_numberwith the business, explicit account ID, number SID andchannels: ["sms"]. Leave voice out to preserve call routing. UsesmsMode: "agent"for human replies or"bot"for AI replies; without it, a first connection uses human agents and an existing mode is kept. - If a Messaging Service overrides the number's webhook, follow Numbers in a Messaging Service.
- Inspect again and check
sms.pointsToOctocom,sms.configuredInOctocomandsms.receivingEnabled. These confirm configuration, not delivery.
list_twilio_phone_numbers is the live Twilio inventory; list_phone_numbers shows the numbers connected to Octocom.
Settings. get_sms_settings returns the mode, connected numbers, receiving state, blocked senders and the sendSms sender. update_sms_settings changes mode, the complete disabledRecipientNumbers list (an empty list enables receiving on every connected number) or outboundPhoneNumber. Omitted fields stay unchanged. The same settings are available through GET and PATCH /rest/v1/sms-settings?businessSlug=your-business.
The sendSms action. On a phone call, leave out to and the text goes to the person on the call. Pass to only to text a different number.
No inspection or configuration tool sends a test message.