The Twilio channel allows chatbots and agents to chat with customers via the Twilio SMS Messaging API.
Once you add a Twilio SMS channel, click on the channel row to configure it.
Under the SETTINGS tab, you have the following options:
- Enable - make the channel live to the public
- Name - edit the channel name within the AICX platform
- Language - set the default language for customers using this channel
- Testing mode - make chatbot edits live only after when the chatbot is deployed
- Channel ID and Secret - required for the deploy script
- Delete - remove the channel
Set up a Twilio account and purchase an SMS-enabled Twilio phone number. You can check the availability of the phone number for each country from the Twilio Console.
Complete the following steps to set up the Twilio Programmable Messaging on your Twilio account:
- Create an account on Twilio
- Purchase a mobile number from Twilio
- Set up your Twilio Messaging Service
- Sign up for Twilio account.
- Once you log in to the Twilio console, go to Develop > Phone Numbers > Buy a number to search for the mobile numbers available for your required countries.
The mobile number must have SMS capabilities. Please contact Twilio if you need assistance.
To configure your Twilio SMS channel:
- Get the following info from your Twilio console: Account SID, Auth token, Twilio enabled number
- Paste the required info into the Twilio CONFIGURATION tab in the Proto AICX platform
- Enable the Webhook URL on your Twilio console
- Account SID - go to your Twilio console, click on the Account tab, then click General settings from the menu, then copy your Account SID under the Properties section
- Auth token - go to your Twilio console, find the Auth token on the General Settings, and copy your Auth token
- Twilio enabled number - go to the Twilio console, navigate to Develop > Phone Numbers > Manage > Active Numbers and copy mobile phone numbers
If a Twilio SMS channel is deleted, you will need to update the channel webhook information on your Twilio Console.
- Under the CONFIGURATION tab, paste the Account SID, Auth token, and Twilio enabled number from your Twilio console
- Under the WhatsApp WEBHOOK tab in the Proto AICX platform, copy the Webhook URL
- Create a Messaging Service in your Twilio Messaging > Services. Follow the instruction and fill up all the required information.
- In the Set up Integration step (Step 3), select Send a webhook and paste the Webhook URL in the Request URL, Fallback URL and Callback URL fields.
- Finish the messaging Services setup and save the settings.
The Twilio SMS channel must be enabled before you test it. To enable the channel, click the STATUS toggle.
You can test out the Twilio SMS channel on your bot by using the Sandbox provided by Twilio before purchasing a mobile number from Twilio. You may find the Account SID, Auth token, Twilio sandbox number for testing on the Twilio SMS console. To use the Twilio sandbox number for testing, you need to add your personal phone number to the list of Verified Caller IDs.
To allow user from different country to receive your SMS, you can setup the Messaging Geographic Permissions to enable the countries supported for the SMS service.
Updated 2 months ago