Hi @Baptiste
Thanks for following up. Let me clarify what I'm trying to achieve:
- Steps to reproduce:
- A user fills out a form using the chatbot for the first time, providing details like Name, Email, Phone Number, etc.
- If the same user triggers the chatbot again later (either on the website or via WhatsApp), I want the bot to recognize that the user has already filled out the form.
- The bot should then fetch the previously collected details and present them to the user for confirmation.
- If the user confirms that the details are correct ("Yes"), the bot should display a Thank You message, ending the conversation without repeating the same form questions.
- If the user indicates that the details are incorrect ("No"), the bot should start the loop again, allowing the user to re-enter their information.
- What's happening:
When I tried implementing this using the method in the screenshot, the bot either doesn’t recognize that it’s the same user who previously filled the form, or there’s something wrong with the conditional logic. I’m not even sure if this type of flow is supported here. The bot keeps starting the complete loop again and again, even on WhatsApp, where I thought it might have a way to identify the user.
- What I was expecting:
I was expecting the bot to check if the user had already filled out the form and then confirm the details with the user upon re-engagement. Upon confirmation, it should display a Thank You message and end the session without looping through the form again. If the details were incorrect, the bot would restart the form flow.