To connect your bot to your WhatsApp business account(s):
Step 1: Create a bot, SAVE IT.
Step 2: Go to the Channels tab -> Instant messengers
Step 3: Click on Add new channel of type WhatsApp (Twilio) and click Next
Step 4: Set additional settings:
Account SID and Auth token, as well as their Sandbox counterparts, can be found on this page of Twillio Console:
Step 5: Each bot on WhatsApp can have up to 10 Menu items. These menu items allow the user to Switch to a live chat conversation or to Finish and (re)Start an automated Quriobot chat conversation, or just an arbitrary URL which you want to put in. Those items are accessible via the special text command: /qb
Note: We have added some default texts to these items, but these can be changed, removed or reordered:
For example, an arbitrary URL menu item:
You also need to configure the Quriobot to be the receiver of your WhatsApp messages on the Twilio side. These settings can be found on WhatsApp sandbox:
You'll need to put those values in the fields:
- WHEN A MESSAGE COMES IN: https://api.quriobot.com/0.0.1/frontend/chats/twilio_whatsapp/message
- STATUS CALLBACK URL: https://api.quriobot.com/0.0.1/frontend/chats/twilio_whatsapp/status
That's it! You have now connected your bot to your WhatsApp Business account!
Need more help or looking for inspiration? Join the Quriobot community!
Friendly & Fun
Interact & Convert