Generic channel can be used to integrate any messaging platform or channel to MindBehind. It supports three actions:
You can find Generic Channel under Channels tab in Company Settings:
While creating your channel, you need to name your channel and you need to give a callback URL to receive MindBehind messages (Send web-hook) as next:
After creating channel and clicking on channel settings icon:
MindBehind will give you an authentication token. Please copy and store this token to use in sending message to MindBehind. Also, MindBehind will give you an example of the message format you should send, and the ability to update the handover web-hook URL as next:
The MindBehind end point will accept the messages in JSON format, the HTTP request details as next:
NOTE: if your message is a selection of regarding CARD or QUICKREPLY messages button please send selection as TEXT message.
You can download from here our Postman collection to try that request right away.
MindBehind will try to send messages to the web-hook you chosen when you created the channel, the HTTP request details coming from MindBehind as next:
The content of the message can be normal string or can be a JSON string for some type of messages, next is a list of possible messages types with their content formats:
NOTE: ButtonType can have the following values: