https://retellai.com/?utm_source=discord&utm_medium=seo logo
why Logic Split Node fails to transition to the ri...
# ❓・ai-evy-support
q
@AI Evy why Logic Split Node fails to transition to the right node and remains in Logic Split node when it has a simple prompt like {{var}} is 'true'.
a
Thanks for tagging me @q40478. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, this is a known issue with Logic Split Nodes and dynamic variables [(1) ]() . The problem occurs because Logic Split Nodes currently require dynamic variables to be mentioned in the conversation before they can be evaluated . Why this happens: When Retell starts a call, your
retell_llm_dynamic_variables
may not yet be "hydrated" (fully loaded into memory for the flow engine) . If a Logic Split Node tries to read a dynamic variable too early, it sees null/empty and takes the wrong path or stalls . Current workarounds: 1. Add a Conversation Node before the Logic Split Node that mentions the dynamic variable value . The agent must actually speak the variable out loud for the Logic Split Node to recognize it . 2. Use "Skip Response" setting in the preceding Conversation Node, but note that the agent will still need to state the variable for it to be recognized . 3. Implement a hydration guard - add a condition to check if the variable exists or is not empty before evaluating it . You can allow 1-2 retries using a counter so it loops back until the variable loads . 4. Use equation-based transitions in Conversation Nodes instead - these work more reliably with dynamic variables than Logic Split Nodes currently do . Additionally, when setting up conditions, you need to be very explicit with your instructions [(2) ]() . Instead of just "else", provide clear sentence-based instructions like you would to a human . Users have reported success by explicitly stating the else clause . Important note: Equation-based transitions for Logic Split Nodes (which would allow direct evaluation of dynamic variables without prior conve
rsation mention) are currently under development [(1) ]() .
​ To learn more, see the sources I considered: [[1] Discord message from @q40478 on 2025-10-30](https://discord.com/channels/1186424376300679209/1186462578310910112/1433471315293110413) [[2] Discord message from @s4turn1143 on 2025-03-08](https://discord.com/channels/1186424376300679209/1186462578310910112/1347977750027440200) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
q
@AI Evy can you give me an example of Use equation-based transitions in Conversation Nodes instead?
a
Thanks for the follow-up, @q40478. I'll get back to you soon.
### Answer ### Answer Based on the documentation, you can use equation-based transitions directly in Conversation Nodes to evaluate dynamic variables without needing Logic Split Nodes [(1) ]() [(2) ]() . ## How to Set Up Equation-Based Transitions In your Conversation Node's transition conditions, you can use equation conditions that are evaluated first (before any prompt-based conditions) [(1) ]() . Here are examples of equation-based transitions you can use : Check if a variable exists:
Copy code
{{user_email}} exists
{{user_phone}} does not exists
{{preferred_language}} exists
Compare variable values:
Copy code
{{user_location}} == "New York"
{{user_location}} == "Los Angeles"
For your specific case with a boolean variable:
Copy code
{{var}} == "true"
## Important Notes The equation conditions support these comparison operators : -
==
(equals) -
Contains
-
Not Contains
-
Not Equal
Note that
==
,
Contains
,
Not Contains
, and
Not Equal
are string comparisons and do not require numerical input . Other comparison operators require numerical input and will always evaluate to false if the input is not a number . ## When Transitions Happen In Conversation Nodes, transitions usually happen after the user speaks, but can also occur based on the node type [(3) ]() . If you enable Skip Response in the node settings, the transition will only have one edge and will occur when the agent finishes speaking . This approach is more reliable than Logic Split Nodes for evaluating dynamic variables that are set at the start of a call [(4) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Step 3: Add transition conditions](https://docs.retellai.com/build/conversation-flow/transition-condition) [[2] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) [[3] Conversation Node](https://docs.retellai.com/build/conversation-flow/conversation-node) [[4] Discord message from @q40478 on 2025-10-30](https://discord.com/channels/1186424376300679209/1186462578310910112/1433471315293110413) ​