Skip to content
Try Free →

Answer text messages (SMS)

Connect your own Twilio account and phone number to AskVault and your agent replies to inbound text messages with answers from your content. If your number is a US number, you must also register it for A2P 10DLC with Twilio before carriers deliver your messages. Growth+

SMS runs on your own Twilio account: the number and every text are billed to you by Twilio, not by AskVault. SMS suits short exchanges such as order-status questions, appointment confirmations and quick answers. For longer conversations, WhatsApp is usually better. Each AI reply counts as 1 message against your AskVault plan's monthly allowance.

Before you start

  • The Growth plan or above.
  • A Twilio account, and a Twilio phone number with SMS capability (or you can buy one during setup).
  • For a US number: your company details for A2P 10DLC registration (legal name, tax ID, address, website and sample messages).
  • Content in your agent. See add your website.

Connect your number

  1. In the Twilio Console, copy your Account SID and Auth Token from the home page.
  2. In AskVault, open Channels & Apps, then the Channels tab, and click Connect on the Text messages (SMS) card.
  3. In the Account step, enter the Account SID and Auth Token.
  4. In the Get a Number step, reuse your number or buy a new one, and finish the setup.

AskVault sets the Twilio webhook on the number for you, so inbound texts reach your agent. If your workspace already has a WhatsApp number bought through Twilio, setup offers to add SMS to it. Twilio's shared WhatsApp test number cannot carry SMS because it is not yours.

Register US numbers (A2P 10DLC)

US carriers block business text traffic from standard 10-digit numbers that are not registered. Twilio refuses messages from a US number that is not tied to an approved campaign. Registration happens in the Twilio Console:

  1. Register your brand under Messaging, Regulatory Compliance, A2P 10DLC. Twilio verifies your business details.
  2. Create a campaign that describes how you will use the number, for example customer support replies. Use a "customer care" style use case, and write sample messages that name your brand and include the opt-out instruction, such as "Reply STOP to opt out".
  3. Link your number to the approved campaign.

Approval takes several business days, so start before you plan to go live. Twilio sets the fees, and a campaign is often rejected the first time for vague sample messages: revise and resubmit. Numbers outside the US do not need A2P 10DLC, but each country has its own rules. See Twilio's documentation for yours.

Opt-in and opt-out

Get explicit opt-in before you text anyone first, for example a checkbox on a signup form, or a customer who texts you first. Do not import a contact list and bulk-message it: carriers will block your number.

AskVault handles opt-outs:

  • STOP, STOPALL, UNSUBSCRIBE, OPTOUT and OPT-OUT opt a customer out, including at the start of a longer message ("Stop please"). CANCEL, END, QUIT and REVOKE count only when they are the whole message, so "Cancel my order 1234" is a question for your agent.
  • The customer gets a confirmation that they can reply START to opt back in. START, UNSTOP, YES, OPTIN and OPT-IN, as the whole message, opt them back in.
  • No further messages go to an opted-out number.

Opening hours

Under Auto-replies, hours & keywords you can set opening hours and an after-hours reply. Choose your timezone by its standard name, for example America/New_York. A name AskVault does not recognise, such as "Pacific Time", cannot be applied, and your hours would run on UTC instead.

Check it worked

Send a text from your own phone to the connected number. The agent should reply shortly, and the conversation appears in your Inbox.

If it doesn't work

Messages do not reach US customers. The most common cause is a number that is not registered for A2P 10DLC. Check Twilio's Messaging logs for error code 30007 (filtered) or 30034 (no approved campaign).

Inbound texts do not reach the agent. In the Twilio Console, open the number and check that its webhook still points at AskVault. If it was edited, save the number again in AskVault to set it back.

A customer texted STOP but the agent keeps replying. Twilio handles STOP at the carrier, so AskVault will not see further messages from that number. Check the customer is not texting from a different number.

Replies are cut into pieces. A text holds 160 characters (70 for non-Latin scripts), and Twilio splits longer ones, billing each part. Add a targeted rule limited to the SMS channel that keeps answers to two sentences, so your website widget is not shortened too.

Questions

Does "Cancel my order" opt a customer out of SMS?

No. CANCEL, END, QUIT and REVOKE opt a customer out only when they are the whole message, so "Cancel my order 1234" goes to your agent as a question.