How to let the user run a form again

I am having two forms, for instance let those be form1 and form2. When the user starts the bot, the user will have a choice to choose between form1 and form2. I wish to have a functionality which works in a way that if the user selects a form and complete it, the user must get a prompt at the end which asks the user if he wish to fill one of those again. for example if form1 is for booking and form2 is for complaint registration, the bot must ask if you wish to perform any one of these actions or do you wish to quit.

You just have to write stories for that :slight_smile:

If the user says they want to fill the form again, you can reset the slots in a custom action with

return [SlotSet('slot1', None), SlotSet('slot2', None), SlotSet('slot3', None)]

for example.

1 Like

This works for a single form. But what I try to achieve is to let the user choose between two forms after completing one form.

Well yeah, this is still done via stories.

I mentioned resetting slots because that would need to happen if the user chose to retake the new form.