https://retellai.com/?utm_source=discord&utm_medium=seo logo
How to set up the flow to avoid repeating what was...
# ❓・bug-report
a
Spent nearly 2 hours with @AI Evy on this and still no solution. The issue is that pricing is handled both in the Appointment Booking branch and is also available in the Knowledge Base. When a caller asks about the price during the early “Service Check” node, the bot answers. Then, if the user agrees to book, the flow jumps to Appointment Booking and the price gets repeated. I tried using an Extract Variable node called price_mentioned (boolean) before the booking flow, and added logic in prompts like “if price_mentioned = true, skip price explanation,” but it doesn’t work. The bot just keeps repeating the price no matter what. Anyone found a way to avoid this? In short: ## Issue: - Prices live in the KB and in the “Appointment Booking” branch. - If a caller asks the price during the early Service Check node, the agent answers. - When the flow jumps to Appointment Booking (after “Would you like to book an appointment?”), the agent repeats the price. ## Tried - Extract-Variable price_mentioned (boolean) before Booking flow. - Logic-Split / prompt conditions: if price_mentioned=true → skip price prompt.
@User @User
@User @User
p
Can you share a loom showing your flow to get a better idea of the issue?
a
If I get the issue right, the bot gives the price during the early Service Check when the caller asks, but then repeats the same price in the Appointment Booking flow even after you tried using price_mentioned = true with prompt conditions. Looks like the Extract Variable approach isn’t working because it’s not persisting or being read properly across flows. The fix is to stop using Extract Variable and instead use a Set Variable node to set price_mentioned = "true" immediately after the bot answers the price. Then in the Appointment Booking flow, wrap the price prompt in a Logic Split or transition with the condition {{price_mentioned}} == "true" and skip that message if it’s already been mentioned. Also make sure the variable is treated as a dynamic variable so it’s accessible across branches. That prevents the price from being repeated cleanly. @anton333_50203
s
hi @anton333_50203 Use Equation Conditions in Transition Logic