I am trying to create a story with 5 questions, in which user might say general answers like “Nothing” apart from specific intent. I want to know if we can use custom actions and set a slot value using trackers based on the question which has been asked, so that we can train the bot to respond with general intents like “Nothing” for each question.
In my flow, there is a sub question “Any specific thing you want to mention?” for each question and user can say “Nothing” and should go ahead to the next question.
Yes we can do that, but I was thinking if one can access the previous actions from tracker and can set the slot values based on that in custom actions, there might be more use cases for this.
I mean you can access the latest_action from the tracker, with tracker.latest_action, but setting slot values based on previous actions is something you can just handle with stories too