actions functions:
data parameter should take the JSON payload that defines the custom channel message:
AI default channel
AI default channel
The Cognigy default channel has a specific channel format which you can find more about at AI default channel format.
Alexa
Alexa
Alexa Response JSON Reference
Example
We’ll output a simple card to our contact by using the following snippet:Messenger
Messenger
Messenger Messaging ReferenceFor the messenger you can send multiple templates by building a JSON object or by using the facebook-bot-messenger module. For further information go to their GitHub Page.Or you can use the facebook-bot-messenger module for building custom json. Here we’ll send quick replies to the contact:
Example
The following snippet will send a simple text message and a quick reply to the contact:Webchat
Webchat
AI
AI
LINE
LINE
Smooch
Smooch
RingCentral Engage
RingCentral Engage