End actions
An external actions node of type “End” returns an End action, which indicates the end of the dialog. It includes the ID that identifies the node in the Mix.dialog application as well as any data that you set for this node.
For example:
{
"payload": {
"messages": [{
"nlg": [],
"visual": [{
"text": "Perfect, a double espresso coming right up!"
}
],
"audio": []
}
],
"end_action": {
"data": {
"returnCode": "0"
},
"id": "CoffeeApp End node"
}
}
}
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.