Twilio
Last updated
Last updated
Before configuring your own phone number, you can configure Twilio Sandbox environment to test your chatbot directly on WhatsApp as follows:
Create your chatbot and, when ready to publish, open the WhatsApp channel settings
Select Twilio as provider
Create a standard Twilio account. It is fully free as long as you are using the sandbox
Go to the Twilio Sandbox for WhatsApp page
Copy the Xenioo hook url from the publish page
Paste the hook url in both the Message and Status url of the Twilio sandbox
Scroll down the page and click on the "Save" button.
The page will reload. Make sure that both the hooks are correctly saved.
Copy, without removing the + symbol, the sandbox phone number you see on the page into the Sender Phone Number in the Xenioo publish dialog
Go to the Twilio Dashboard
Copy the Account SID value your see on the very first box under "Project Info" in the same field you see on the Xenioo dialog
Do the same for the Auth Token field you see right below after clicking on the "View" link
When all fields are filled, click on the "Save" button to confirm data on the Xenioo dialog and the click on Publish.
Your chatbot is now online and ready to chat
Open your WhatsApp desktop or mobile and send the join message to the number specified in the Twilio Sandbox page
You will receive an automatic message from Twilio telling you you've joined the sandbox.
Now you can freely test your chatbot for as long as you like.
Please note that Twilio Sandbox forces at least a 2 seconds additional delay on every message. You chatbot will be slower when used in the sandbox.
When you upgrade to your real phone number, just update the phone number setting in the Xenioo publishing dialog and publish again your chatbot.