CUSTOM WEBHOOK CONFIGURATION IN IBCS
- In order to set up a channel apart from facebook, you need to add a custom webhook
- Navigate to bots UI > bot’s add webhook form
- Fill form with your details in “Outgoing Webhook URI” field put: https://bots-samples-nodejs:3001/chat/bots/channel_id/messages and hit create button.
- Replace "channel_id" in "Outgoing Webhook URI" field with last parameter in url from "Webhook URL" field.
- Open ‘Admin UI’ (e.g http://<ibcs host>:3000/chat/admin/) and create new channel with "Secret Key" and "Webhook URL" from web hook form in bots UI.