Connect SMS with Twilio
On this page
Connect a Twilio phone number that can send SMS, and answer text messages from your Deskwoot inbox like any other conversation. You bring your own Twilio account and pay Twilio's SMS rates directly; Deskwoot adds no markup.
Step 1: Set up your Twilio account
You need an active Twilio account with a phone number that can send and receive SMS.
- Sign up at twilio.com if you don't have an account yet.
- Buy a phone number with SMS capability. In the Twilio console, you can filter for SMS support under Phone Numbers > Buy a Number.
- In your Twilio dashboard, note these 3 values for the next step:
- Account SID
- Auth Token
- Phone number in E.164 format, for example
+15551234567
Step 2: Create the SMS inbox in Deskwoot
- Go to Settings > Inboxes.
- Click Add Inbox.
- Pick SMS.
- Enter an Inbox Name.
- Enter your Twilio Account SID and Auth Token.
- Enter the Phone Number you bought.
- Click Create Inbox.
Step 3: Point your Twilio number at Deskwoot
Deskwoot does not set this webhook for you. The form in Step 2 shows the same URL.
- In the Twilio console, open your phone number.
- In its messaging settings, set A message comes in to Webhook.
- Enter the URL
https://deskwoot.com/api/webhooks/smswith the method HTTP POST. - Send a test SMS to your Twilio number and check that it shows up in your Deskwoot inbox.
Costs
Twilio charges for every SMS segment sent and received, and prices vary by country. A longer message may be split into several segments, which costs more. Deskwoot adds no charge for the SMS channel: you pay only Twilio, directly, for what you use.
Troubleshooting
- Messages don't arrive in Deskwoot: check that the Account SID and Auth Token are entered correctly. A single extra space can make authentication fail.
- Phone number format: enter the number in E.164 format, with the
+and the country code. A missing country code is a frequent mistake. - Twilio trial accounts: they can only send SMS to verified numbers. Upgrade to a paid Twilio account to use everything.
- Webhook conflicts: a Twilio number sends incoming messages to one webhook URL. If another app set its own URL on the same number, messages go there instead of Deskwoot. In the Twilio console, check that your number's URL is
https://deskwoot.com/api/webhooks/sms.
Tips
- Keep SMS replies short. Under 160 characters per message avoids charges for several segments and reads better.
- Set up auto assignment in the inbox's row Who answers, so incoming SMS conversations reach the right team quickly.
- Use canned responses for common questions to reply faster over SMS.
Frequently asked questions
Can I use a Twilio number I already own?
Yes. As long as the number has SMS capability, you can connect it to Deskwoot. You set the number's incoming message webhook to the Deskwoot URL, so an app that used that webhook before stops receiving the messages.
Can the bot reply by SMS?
Yes. Fynn answers SMS like any other channel once he is switched on for the inbox under Fynn > Where Fynn answers. Under his first reply in a conversation, customers see a line such as "Fynn, the AI assistant of Acme", so they know an AI answers.
The line counts toward the length of that SMS. Keep the bot's SMS replies short (one segment if you can), because Twilio charges for every segment.
Can I connect multiple Twilio numbers?
Yes. Each becomes its own inbox in Deskwoot, useful for numbers per region (a US number for US customers, a UK number for UK customers).
The Hacker plan includes 1 inbox besides live chat and email forwarding inboxes; Startup and higher have no inbox limit.
Are there country restrictions?
Some countries require registration first, such as 10DLC in the US, or only allow short codes, such as the UK. Twilio's docs cover each country's requirements; meet them in Twilio before you send.
Do MMS (picture messages) work?
It depends on your Twilio number's MMS capability and your region: the US and Canada support MMS widely, many other countries don't. Set it up in Twilio. Deskwoot handles MMS the same as regular SMS, just with attachments.
What if an SMS is not delivered?
The reply shows Delivery failed. with Twilio's reason, also when Twilio reports the failure a little later. A picture message carries all its files in one message, so it arrives whole or not at all. Fix the cause and send the reply again, see When a reply is not delivered.
Was this guide helpful?
Keep reading
- Forward email from any other providerMost email providers can forward incoming mail. Point it at your Deskwoot forwarding address and every email becomes a conversation.Read guide
- Forward Outlook or Microsoft 365 to DeskwootSend every email from Outlook.com or a Microsoft 365 mailbox to your Deskwoot forwarding address with a redirect rule or forwarding.Read guide
- Send WhatsApp templates after the 24 hour windowHow agents send approved WhatsApp templates once the 24 hours are over, start new WhatsApp conversations with one, and where Deskwoot gets your templates.Read guide