End of Conversation


I was wondering if there is a possibility to send an end of the conversation state. That means the user asks the chatbot questions, at one point all questions are answered and the user says goodbye to the chatbot and the chatbot says goodbye. This point is the end of the conversation. Is it possible to send a state to the UI via the actions and the REST API which signals this end of the conversation? Or do I have to check the conversation for the goodbyes to know in the UI that the conversation is over?

Thanks in advance!



Hello, you can use custom output payloads in the response: Responses

Hey Robert, that’s a good idea. Thank you.

You can also return a ConversationPaused() event from the custom action, this will effectively stop the bot from responding to any subsequent messages from that user.