Hi
I have a simple chatbot that asks 2 question to the user about their wine preference. First it asks if the user likes red, white or no preference. Then it asks if they like a dry wine, sweet wine or again no preference. These values are then passed on to a flow that sends back a result. The issue is that when the user selects no preference for the first question this is also selected for the second question and skips over the second question. If I change the option value so they aren't both exactly the same it does work as expected. I double checked and both choices save their responses to a different variable. Also all other scenarios work as expected.
Any ideas on this?
Thanks
Solved! Go to Solution.
Hi @RuneHanssens ,
Your bot is skipping the question because you need to mark the question to ask every time.
Go to your question and click on the ellipses. Select the option to ask every time.
Hi @RuneHanssens ,
So if you ask the user two questions, the answer to each question is actually saved in a variable.
In this case, when selecting, red or white wine or no preference is saved in variable A and the choice of mild, dry or no preference is saved in variable B.
You have to pass both variables into your stream.
Did I answer your question?😉
Please consider accepting it as the solution to help other members find you faster.
Thanks!
Diego Peres,
Connect with me: Linkedin
I pass both different values to my flow if that is what you mean. I'll add some screenshots to clarify the situation. Questions are in dutch but I think you will understand.
question 1
question 2
Flow call
As you can see I use both different variables in my flow.
Hi @RuneHanssens ,
Your bot is skipping the question because you need to mark the question to ask every time.
Go to your question and click on the ellipses. Select the option to ask every time.
User | Count |
---|---|
5 | |
3 | |
2 | |
2 | |
2 |