https://retellai.com/?utm_source=discord&utm_medium=seo logo
what is equation in nodes
# ❓・ai-evy-support
s
@AI Evy what is equation in nodes
a
Thanks for tagging me @sahalshamas. I'll look through relevant sources and get back to you shortly.
### Answer --- Based on the available sources, equations in nodes (specifically in Logic Split Nodes) are condition-based expressions used to control conversation flow in Retell AI's Conversation Flow editor. [(1) ]() [(2) ]() How they work: - Equations evaluate dynamic variables to determine which path the conversation should take. [(1) ]() - Common equation conditions include checking if a variable
exists
,
does not exist
, or using comparisons like
contains
. [(1) ]() [(2) ]() Example conditions: -
{{status}} exists
[(2) ]() -
{{status}} does not exist
-
agent_vm_caller_name contains Wendy
[(1) ]() Important considerations: - Dynamic variables may not be "hydrated" (fully loaded) immediately when a call starts, which can cause equations to fail if evaluated too early. - A hydration guard (e.g., checking
agent_vm_caller_name exists
or
agent_vm_caller_name != ""
) can help ensure the variable is loaded before comparing its value. - If equations aren't working as expected, using prompt-based transitions is an alternative approach. [(1) ]() [(2) ]()
​ To learn more, see the sources I considered: [[1] Logic Split Node Equation Not Working As Expected](https://discord.com/channels/1186424376300679209/1406310248691667125) [[2] Issues with transitions - getting stuck on Conversation and Logic Split Nodes using dynamic variable](https://discord.com/channels/1186424376300679209/1437030319541719172) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.