How do I connect Twilio SMS?
Connect a number with your Twilio Account SID and Auth Token; the assistant of the flow you choose replies to incoming SMS.
What Twilio SMS gives you
When a customer texts your Twilio number, the message goes to the flow you chose and the assistant replies by SMS. You can connect several numbers; each replies with its own flow. Your flows can also send SMS and make calls.
Every incoming SMS and every reply is billed separately by Twilio.
Connecting step by step
The Owner or an Admin can do this. You need a flow first.
- Sign in at console.twilio.com and copy the Account SID and Auth Token from the home page.
- On Integrations → Twilio, paste them into “Account SID” and “Auth Token” in the “Connect a number” form.
- Press “Fetch numbers”. Your account is verified and your numbers are listed.
- Pick the number the assistant answers on in “Number” and the flow in “Flow that replies”, then press “Connect”.
agenola sets the number's “A message comes in” URL itself; nothing else needs configuring in the Twilio console.
Twilio actions in flows
The flow step actions are “Send SMS” and “Make a call”; the assistant can also use them from the AI Assistant step's “Integrations” tab.
- These actions send from your number; they don't run until “I understand this step sends from my account” is ticked on the step.
- A workspace can send at most 100 sends per hour; other sending actions such as WhatsApp and email count toward the same limit.
- To prevent unwanted sends to premium numbers, we recommend limiting the countries you can send to in your Twilio settings.
Troubleshooting and disconnecting
- “Wrong Account SID or Auth Token”: copy the values again from the Twilio console home page.
- “This account has no numbers”: get a number in the Twilio console and try again.
- Only text messages are handled.
- To disconnect, press “Disconnect” in “Connected numbers”; messages from that number are no longer answered.
Related articles
- How do I connect WhatsApp?Connect a WhatsApp number with the number ID and permanent access token from Meta; the assistant of the flow you choose replies.
- How do integrations work?Connect your store, messaging channels and work tools to agenola so the assistant and your flows can work with them.
- Request, Integration Action and End stepsHow to set up the steps that open a request, act in external systems and end the flow.