https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@1145576664366055464> can i use logic split node ...
# ❓・ai-evy-support
p
@AI Evy can i use logic split node on dynamic variable
a
Thanks for tagging me @patipato4u. I'll look through relevant sources and get back to you shortly.
### Answer Based on the official documentation, Logic Split Nodes are designed to branch conversation flow based on conditions [(1) ]() . You can add conditions to Logic Split Nodes just like in other nodes, and it can be useful when you want to branch based on dynamic variables . However, there's an important limitation: equation-based transitions (including dynamic variables) are currently under development [(2) ]() [(3) ]() . Currently, Logic Split Nodes with dynamic variables only work if the underlying condition has been mentioned in past conversation [(2) ]() . Current workaround: You need to have a conversation node before the Logic Split Node that mentions the dynamic variable value out loud . For example, if you have a dynamic variable
{{callback}}
, the agent must actually say the value (like "Yes") in a preceding conversation node for the Logic Split Node to recognize it . The Logic Split Node can guarantee the agent transitions without saying a word, whereas conversation node transitions require a prompt [(4) ]() . However, without equation-based transitions being fully implemented, dynamic variables alone won't work reliably in Logic Split Nodes [(2) ]() [(3) ]() . System variables like
{{current_agent_state}}
and
{{previous_agent_state}}
can be used for tracking nodes
[(5) ]()
, but custom dynamic variables face the same limitation.
​ To learn more, see the sources I considered: [[1] Logic Split Node](https://docs.retellai.com/build/conversation-flow/logic-split-node) [[2] HELP: Dynamic Variables and the NEW Logic Split Node](https://discord.com/channels/1186424376300679209/1359881066168582194) [[3] Help with Logic Split Nodes (and an example of a custom variable being used would be lovely!)](https://discord.com/channels/1186424376300679209/1358825261986087126) [[4] Discord message from @met123_383913 on 2025-03-23](https://discord.com/channels/1186424376300679209/1186462578310910112/1353413529457131590) [[5] Store the last node in a variable](https://discord.com/channels/1186424376300679209/1396840637189591201) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.