How would be the best way to check a form has been completed?

I plan to have another system that relies on the bot to tell it when a form has been filled. What is the best way to find out the state of the bot where a form has been filled? (I would prefer not to write any custom actions or any code).

I tried to use the tracker API “curl -XGET http://localhost:5005/conversations/conversation_id/tracker” to find where it states the form has been filled. However, the process of iterating through the bot’s list of events is quite computationally expensive after many iterations. Does anyone have any advice?

Thank you :slight_smile:

You can compare the tracker.active_loop by user msg or set a tag when finished the form . eg:

user: enter form
bot: xxxxxx #  tracker.active_loop == form
....
user: form  over  # tracker.active_loop == None
bot: xxxx
1 Like