Botpress Integration - HITL & WhatsApp
This documentation is based on the integrations possible in the vCX Platform and does not warrant that the external bot studios will work as changes in their architecture are beyond our control. It is our best effort to ensure that the connectivity works
Botpress Setup and WhatsApp Integration
After you have set up your bot in Botpress, enable the WhatsApp Integration
For vCX to work with Botpress, your WhatsApp Integration has to be in manual mode as shown below. Automated WhatsApp configuration is made, has to be deleted and configured manually
There are two methods to configure your WhatsApp
1. Using the Automated Setup
2. Using Facebook App
Botpress and vCX support these methods. However, for this integration to work, Botpress has to be setup in manual mode
Head to over vCX and log into your account. Once in your account, click on Settings -> My Plan -> Integrations
To setup using manual mode, head over to https://developers.facebook.com/docs/whatsapp/cloud-api/get-started/
Select Bot Integration and select WhatsApp Integration
From Botpress, copy the webhook from the WhatsApp Integration and paste it into the Botpress WhatsApp Webhook URL section
If you have a trigger webhook event in Botpress, you need to add the Webhook URL in the Botpress Webhook URL section. This is optional
Now copy the code in the Integration panel and add it to your Botpress hook
Important: you need to pass the WhatsApp Phone Number of the user conversing as a parameter, which without vCX platform will not be able to show the user details on the conversations tab.
In the above screenshot "user.phonenumber" is a variable that has the phone number of the user
This