Hi, I have a RASA model where a custom action is entered based on a story I have. Inside this custom action I would like to parse an external tree (which is not an issue) but I need to continuously ask the questions from the tree and be able to wait for their response inside the custom action to get answers from the user. Once the user says “Done” the action is complete and I want that to be the end of the story. My main issue is I do not know how to have the custom action wait for the user response because when I use tracker.get_slot('parse_response')
it immediately gets the last value.
So basically I would like this to happen:
*get first tree question*
dispatcher.utter_message("first tree question")
*custom action waits for response*
*custom action gets response AFTER question (not previously stored or the last message) and continues with parse based on that value*
Thank you!