How to track the end of the conversation

Is there any way to track whether (for instance by sending post request to /conversations/{conversation_id}/predict) whether the conversation according to Rasa is ended? I mean there is a story something like:

  1. User say hello
  2. Rasa asks for mood
  3. User says ‘I am sad’
  4. Rasa says ‘Goodbye’

What is the way to understand that we are at the point 4> at the moment?

Mhm, that’s tough since the user could always send another message. From a rasa perspective you could run an action after utter_goodbye which set’s a slot conversation_is_ended