https://retellai.com/?utm_source=discord&utm_medium=seo logo
Conversational flow - Transition issue
# ❓・bug-report
a
We've noticed a strange behavior in our Conversational Flow agent. For some reason our agent transition from one node (Self-reflection) to another (Provider Selection) before the transition criteria is met, which is quite straightforward: User explicitly states they don't have anything to add more or can't think of anything else In our instruction the agent is always ask in the end A MUST RULE: After the required information has been gathered, you MUST always close by asking if they have anything to add before moving on. Ask something like (paraphrase it each time): "Are there any other strengths or areas where people often seek your help?" But it doesn't get to it, since it is transitioned to the next node before it can ask the question. Some of the transition criteria tried: -User explicitly states they don't have anything to add more or can't think of anything else -When being asked the user says that they don't have anything else to add -If the user refuses to share anything and ask to move forward -they explicitly states they don't have anything else to add -they refuse to share anything and ask to move forward In the test examples it usually goes like this: Node Transition previous node: Context Gathering new node: Self-Reflection Agent Thanks for sharing all of that. Shifting gears a bit, what do others frequently come to you for? Think about situations where your colleagues or team members specifically seek your input or expertise. User: Next steps for problem solving. Or when we have new opportunities at existing customers or net new opportunities where there's not a one to one application of our product, and we need to scope it out and see if it's a good fit. They come to me for yeah, basically, any kind of guidance on what we should be doing next. Node Transition previous node: Self-Reflection new node: Provider Selection
In "debug the transition" there is only a suggestion to Add Fine-tuning Transition Examples that I added, but it didn't help the situation. The conversation still moves to the next node without meeting the criteria.
s
Hey @alex16742s looks like the issue isn’t just the transition examples, but that the transition is firing too early before the agent asks the user if they have anything else to add. You can add a strict rule like : “Only transition after the agent has asked if the user has anything else to add, and the user clearly says no.” This might help and clear the context to the LLM further.
a
hey @shahretell Thanks for your prompt answer. Unfortunatelly even this transition critirea doesn't work. Example 1: Node Transition previous node: Context Gathering new node: Self-Reflection Thanks for sharing all of that, Casey. Before we move on, are there any other strengths or areas where people often come to you for help or advice? Maybe something we haven’t touched on yet? That’s a great question. I think one strength that people often come to me for is helping untangle complex product challenges—whether it’s clarifying ambiguous requirements, identifying key trade-offs, or connecting dots across different teams. I’ve always been curious by nature, so I enjoy digging into the details to understand the “why” behind things, and that seems to help others gain clarity too. Additionally, I’ve been told that I create space for engineers and other partners to voice their perspectives, which helps build trust and collaboration. On the flip side, I’m aware that sometimes my eagerness to dive deep or move quickly can unintentionally overwhelm or pressure others, so I’m working on balancing that with more patience and active listening. Overall, I’d say my curiosity and collaborative mindset are strengths people lean on, and I’m eager to keep refining how I show up to support the team best. Does that resonate with what you’ve observed or heard? Node Transition previous node: Self-Reflection new node: Provider Selection Example 2: Node Transition previous node: Context Gathering new node: Self-Reflection Alright, thanks for sharing all that. Let’s shift gears a bit. When you think about your day-to-day work, what do colleagues most often come to you for? Maybe there’s a certain type of problem or situation where people regularly seek out your help or advice. Peers and juniors ask me about debugging and system design. Leads ask about deployment issues. Node Transition previous node: Self-Reflection new node: Provider Selection
@shahretell I'm trying to understand why my agent doesn't transition properly. I exported my conversation flow agent json file and I was going through the content. I'm curious, what is the difference between "condition" parameter and "prompt" parameter in transcition_condition?: { "name": "Provider Selection", "edges": [ { "condition": "User has listed at least six feedback providers, each identified clearly by first name, ensured diversity across different relationship types (e.g., managers, peers, direct reports), and specified a clear context for the feedback to be requested from each provider.", "id": "edge-1742765605612", "transition_condition": { "type": "prompt", "prompt": "User has listed at least six or more feedback providers, each identified clearly by first name, ensured diversity across different relationship types (e.g., managers, peers, direct reports), and specified a clear context for the feedback to be requested from each provider, and they mention that they have nothing else to add or mention" }, "destination_node_id": "node-1742765610010" }, { "destination_node_id": "node-1742765610010", "id": "edge-1750794861109", "transition_condition": { "type": "prompt", "prompt": "User explicitly mentions or agrees to proceed further and add the providers later when asked by Tam coach " } }, { "destination_node_id": "node-1742765610010", "id": "edge-1750862098390", "transition_condition": { "type": "prompt", "prompt": "The user replies decliens any form of no to the question Is there anything else you’d like to add about your feedback providers before we move on? or similar one" } } ],