Chatfuel Integration
Chatfuel and Alterra bots can work together in Facebook Messenger. Chatfuel will guide customers through a pre-built dialog flow using on-screen buttons while Alterra Answers will respond to free-text messages.
Your webhook URL for Chatfuel JSON API
https://next.alterra.ai/msbot/api/chatfuel?clientId=<YOUR_CLIENT_ID>&messenger+user+id={{messenger user id}}&user+input={{user input}}
You can choose between two integration options:
- Light integration
- Full integration
Light integration
Add both Alterra and Chatfuel bots to your Facebook Page and let them work side by side.
- Before you proceed with this integration please make sure that your FAQ file has been uploaded to Alterra and the bot has been trained. Learn how to do it here.
- Make sure your Chatfuel bot doesn’t process any text input messages.
- Install Alterra Answers for Facebook Messenger as described here.
As a result, Chatfuel will handle pre-built dialog flows and broadcasts while Alterra will respond to free-text messages.
Full integration
Plug Alterra in Chatfuel as a Default Answer provider
- Before you proceed with this integration please make sure that your FAQ file has been uploaded to Alterra and the bot has been trained. Learn how to do it here.
- Go to Chatfuel Dashboard, add a block and name it Alterra.
- Go to Default Answer block and replace all its content with a User Inputcard. Add {{user input}} as a User Attribute.
- Below the User Input card, add a Go to Block card and set up redirection to the Alterra block.
- Go to the Alterra block, add a JSON API card, use GET request with the webhook URL above.