I want to implement a dialogue structure for my bot like for example -
Q- I want to reset my account password
B- Please provide me with your employee id for verification
Q- ok my id is 78945612
B- Enter your Phone number for otp (or a form for changing password)
Here i want every thing in hierarchical manner i.e if user tries to say that
my employee id is 78945612
at the start itself like without providing bot details as to why he/she is providing bot the employee id instead of taking into password change process their i want my bot to process a fallback instead or i want to restrict him to go direct. But yes if user says
i want to reset my password my employee id is 78945612
then i want to take user to OTP step / change password form.
I am handling my bot mainly using http api i.e actions are being handled at my application side itself.
I hope this explains well. if not i can explain with more for better understanding
Thanks in advance!