https://discord.gg/botpress logo
Hi everyone! I need some help
# 🌎general
b
Hi everyone! I need some help understanding an issue. My flow is working perfectly — it runs completely once, without any problems. However, after that, it gets stuck. Then, after some time, it works again, and then stops once more. What could be causing this inconsistent behavior?
p
Could you provide more details about the nodes it stops at and examples of conversation you are having? Also sending a screenshot of your workflow would be beneficial to my understanding.
b
The issue happens during the transition from the Autonomous2 node to Standard7. In the emulator, it shows "Waiting for user input" instead of continuing the flow and starting Standard7. I'm building a conversational bot for scheduling appointments at a beauty salon. The conversation flow is structured and guided — the bot asks the user to select a service, choose a date, and then displays a list of available time slots based on Google Calendar availability. The flow is working well overall, but it gets stuck at a specific point: After the Autonomous2 node evaluates the logic, the bot should transition to the Standard7 node, which displays the available time slots using a single choice card. However, instead of proceeding, the emulator shows "Waiting for user input", and the Standard7 node is never triggered. The workflow.availableTimes variable is correctly filled with valid options (as confirmed in the logs), but the bot doesn't seem to move forward. https://cdn.discordapp.com/attachments/1399789997569085610/1399807196300312716/content.png?ex=688a578a&is=6889060a&hm=27f20d4e4a33ba65f762d46cc0319637056a1d5332f0a2880f2114e7d97a4676&
p
Have you tried not using an autonomous node for the verification of the variables values. You could use the expression card instead. Hope this helps!
b
Is there any support available that can help me with code? I wrote a script that checks Google Calendar to see which time slots are already booked, and then saves only the available ones into a variable, so users can select a free time. However, all time slots are appearing as available — even the ones that are already booked. As a result, I'm ending up with multiple appointments being scheduled at the same time. Could you help me fix this?
p
You can paste it here and me or someone else from the community might be able to help. There is no support for Pay-as-you-go plans beyond the discord community. You can however use any external resource of your choosing for the coding part.
2 Views