Control when a Retell conversation flow agent moves between nodes: prompt conditions evaluated by the LLM, deterministic equation conditions, and else edges.
Transition conditions decide whether and where the agent moves next. Each edge out of a node pairs a condition with a destination: when the condition is met, the agent transitions to that node. This is where you get the most control over a flow, and where careful testing pays off most.
Condition types
There are two types of transition conditions:
Prompt: A natural-language condition evaluated by the LLM against the conversation.
Equation: A deterministic comparison over dynamic variables — no LLM involved.
Example prompt conditions:
User said something about booking a meeting
User said something about cancelling a meeting
User claims to be over 18
User said they lived in New York or Los Angeles
Example equation conditions:
- {{user_age}} > 18- {{current_time}} > 9 AND {{current_time}} < 18- {{user_location}} == "New York"- {{user_location}} != "New York"- "New York, Los Angeles" CONTAINS {{user_location}}- {{user_age}} < 18 OR {{user_location}} == "New York"- {{name}} exists
Equation conditions can only reference dynamic variables. For information the agent learns during the call, either use a prompt condition or first capture the value with an extract DV node and branch on it afterwards.
Special edges
Besides regular condition edges, a node can have:
Else edge: The fallback. It fires when no other condition matches, so the flow never gets stuck. Use it deliberately — on a node with an else edge, any user turn that matches nothing else moves through it.
Always edge: Transitions unconditionally as soon as the user responds, skipping condition evaluation entirely. Useful when the node just needs one reply (e.g. an acknowledgment) before moving on.
Skip Response edge: Created when the node’s Skip Response setting is on. The node transitions once the agent finishes speaking, without waiting for the user — good for disclaimers or hand-off lines.
Evaluation order
When a transition check runs, conditions are evaluated in this order:
Always edge — if the node has one, the agent transitions through it right after the user responds. Nothing else is checked.
Equation conditions — evaluated deterministically before any prompt condition. Among equation edges, evaluation runs top to bottom and the first condition that evaluates true wins.
Prompt conditions — if no equation matched, the LLM evaluates all prompt conditions together, alongside any global node entry conditions, and picks the single best match — or none.
Else edge — if nothing matched and the node has an else edge, the agent transitions through it.
Stay — otherwise the agent stays in the current node and keeps the conversation going.
When transitions are checked
The trigger depends on the node type:
Conversation and subagent nodes: after each user turn — or, with Skip Response on, as soon as the agent finishes speaking.
Function, code, MCP, and extract DV nodes: after the tool result arrives (when waiting for the result).
SMS node: after the SMS succeeds or fails.
Call transfer and transfer agent nodes: after the transfer result comes back (e.g. the transfer failed).
When testing in the dashboard (audio or text), the current node is highlighted on the canvas, so you can watch exactly when each transition happens.
Equation reference
An equation condition holds one or more equations — up to 50 — combined with ANY (at least one must be true) or ALL (all must be true).
Operator
Compares
Behavior
==, !=
Strings
Case-insensitive string match (or not) — "new york" equals "New York". No numeric coercion — "18" and "18.0" are different strings.
>, >=, <, <=
Numbers
Numeric comparison. If either side is empty or not a number, the equation evaluates to false — it never throws.
Contains, Not Contains
Strings
Whether the left value includes the right value as a substring, ignoring case.
exists, does not exist
Variable
Whether the dynamic variable has been set. An empty string still counts as set.
The exists check is useful when information may or may not be available before the call:
- {{user_email}} exists- {{user_phone}} does not exist
An equation condition using the exists operator.
Add and edit conditions
1
Add a condition
Click the node, then click the + button to add a transition condition. Choose Prompt or Equation.
Adding a transition condition from the node's edge list.
2
Write the condition
For a prompt condition, type the condition text directly on the edge.For an equation condition, the equation editor opens. Click Add equation to add rows, the trash icon to delete one, and switch ANY to ALL to require every equation to be true.
The equation editor with ANY/ALL and per-row controls.
3
Reorder equations
Drag the six-dot handle on the left of an equation to move it up or down. Order matters: the first equation condition that evaluates true wins.
Drag the handle to reorder equations.
Write conditions that transition reliably
Describe what the caller said or the state reached. Keep instructions about what the agent should say and do in the node prompt; see where to put instructions.
When user indicates they want to book a meeting
User declines the invitation
User responds to question of their age
For function nodes, you can reference the result: CRM lookup returned successful result
Keep the number of transition choices small, including global node entry conditions. More choices make the correct transition harder to select. Add conditions when the task requires them, rather than creating a separate transition for every hypothetical variation.For equation conditions, cover every branch the dynamic variables can take. For example, to treat callers from New York and Los Angeles differently when {{user_location}} is known before the call:
- {{user_location}} == "New York"- {{user_location}} == "Los Angeles"
Improve transition accuracy
If you observe an incorrect transition:
Rewrite the condition to be more specific about what the user said.
Add transition finetune examples that show the model real transcripts with the correct decision.
FAQ
The user said something unrelated to every condition — what happens?
In order: if a global node’s condition matches, the agent transitions there. Otherwise, if the node has an else edge, the agent moves through it. If neither, the agent stays in the current node and responds from its instruction.
How do I see the transitions for a past call?
Open the call transcript in the history tab — it shows each transition with the node names it moved from and to. Name your nodes descriptively so this is easy to read.
Is there a limit on the number of transition conditions?
There’s no limit on conditions per node, though each equation condition holds at most 50 equations. Keep the list focused — the more prompt conditions a node has, the harder it is for the LLM to pick the right one.
The agent transitioned to a node whose condition was never met — why?
Check your global prompt and node instructions for numbered labels like “PRIORITY 1”, “Step 2”, or “ATTEMPT 1”. When the agent picks the next node, numbers in these lists can be confused with its transition options, so a transition can fire even though its condition was never met. Rename the items to letters (“PRIORITY A”) or descriptive names (“New service intent”) — the instructions themselves can stay the same.
Was this page helpful?
⌘I
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Retell AI","description":"Explore Retell AI docs to learn how to build, test, deploy, and optimize AI voice agents with APIs, integrations, conversation flows, and production-ready tools.","colors":{"primary":"#606A78","light":"#F5F5FA","dark":"#172131"},"logo":{"light":"https://mintcdn.com/retellai/-E9UettTBfBiCBBS/images/docs-light.png?fit=max\u0026auto=format\u0026n=-E9UettTBfBiCBBS\u0026q=85\u0026s=64eb26a2d3cc9a67ee3ea0bfe086dd14","dark":"https://mintcdn.com/retellai/-E9UettTBfBiCBBS/images/docs-dark.png?fit=max\u0026auto=format\u0026n=-E9UettTBfBiCBBS\u0026q=85\u0026s=08472a0c78599498b85d23348d7826f6"},"favicon":"https://mintcdn.com/retellai/TsBk7Stx4694-7p1/logo/favicon-light.ico?fit=max\u0026auto=format\u0026n=TsBk7Stx4694-7p1\u0026q=85\u0026s=4e90f4db5e89b5ec7fe249a4844c2d97","api":{"openapi":["openapi-final.yaml"],"playground":{"display":"interactive"},"mdx":{"auth":{"method":"bearer"},"server":"https://api.retellai.com"}},"navbar":{"links":[{"icon":"message-circle-question-mark","href":"https://docs.retellai.com/general/support","label":"Support"},{"icon":"chart-line","href":"https://status.retellai.com/","label":"Status"},{"icon":"book","href":"https://www.retellai.com/changelog","label":"Changelog"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.retellai.com"}},"footer":{"socials":{"x":"https://x.com/retellai","linkedin":"https://www.linkedin.com/company/98828489","github":"https://github.com/RetellAI","instagram":"https://www.instagram.com/retell_ai","youtube":"https://www.youtube.com/@retellai"}},"fonts":{"family":"Inter"},"icons":{"library":"lucide"},"styling":{"codeblocks":"dark","latex":true},"integrations":{"mixpanel":{"projectToken":"c8676d3561adb5eefc366aa2a66725bc"}},"contextual":{"options":["copy","view","chatgpt","claude","cursor"],"display":"header"},"interaction":{"drilldown":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"retellai","hasAudioNarration":false,"actualSubdomain":"retellai","customDomains":["docs.retellai.com"],"gitSource":{"type":"github","owner":"retellai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":false,"issues":false,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6afa07d42a9967b79c1d73b5","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"Guides","count":215},{"language":"default","tag":"API Reference","count":107},{"language":"default","tag":"Build","count":68},{"language":"default","tag":"Deploy","count":35},{"language":"default","tag":"Integrations","count":30},{"language":"default","tag":"Conversation flow agents","count":24},{"language":"default","tag":"Deprecations","count":24},{"language":"default","tag":"Detailed Deprecation Guide","count":23},{"language":"default","tag":"CRM","count":21},{"language":"default","tag":"Monitor","count":17}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instinct-self-updating-docs","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@media (min-width: 1024px){#navbar .flex-1:has(>[data-slot=\"context-menu-trigger\"]),#navbar .flex-1:has(>a>.nav-logo){flex:none!important;width:15rem}#navbar .ustify-end:has(.nav-tabs),#navbar .justify-end:has(.nav-tabs){justify-content:space-between!important;margin-left:0!important}#navbar .flex:has(>.ustify-end),#navbar .flex:has(>.justify-end){flex:1!important}#navbar .nav-tabs{white-space:nowrap}}article{max-width:48rem!important}.max-w-prose{max-width:48rem!important}.max-w-xl{max-width:48rem!important}video.scroll-play{cursor:zoom-in}.video-zoom-overlay{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:4vmin;background:rgba(0, 0, 0, 0.8);backdrop-filter:blur(2px);cursor:zoom-out}.video-zoom-media{max-width:92vw;max-height:92vh;width:auto;height:auto;border-radius:12px;box-shadow:0 10px 40px rgba(0, 0, 0, 0.5);cursor:default}.video-zoom-close{position:fixed;top:16px;right:20px;display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:none;border-radius:999px;background:rgba(255, 255, 255, 0.15);color:#fff;font-size:24px;line-height:1;cursor:pointer}.video-zoom-close:hover{background:rgba(255, 255, 255, 0.3)}.ui-btn{background-color:#f4f5f7!important;color:#1f2328!important;border:1px solid #d0d5dd!important;border-bottom-width:2px!important;border-radius:6px!important;padding:0.1em 0.42em!important}html.dark .ui-btn,[data-theme=\"dark\"] .ui-btn{background-color:#21252d!important;color:#e6e8eb!important;border-color:#3a4048!important}img[src$=\"/images/icons/wss-badge.svg\"]{width:auto!important;height:15px!important}a[aria-current=\"page\"] img[src$=\"/images/icons/wss-badge.svg\"]{content:url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2227%22 height=%2215%22 viewBox=%220 0 27 15%22 role=%22img%22 aria-label=%22WSS%22%3E %3Crect width=%2227%22 height=%2215%22 rx=%224%22 fill=%22%23F54A00%22/%3E %3Ctext x=%2213.5%22 y=%2210.7%22 text-anchor=%22middle%22 font-family=%22ui-sans-serif, system-ui, -apple-system, Segoe UI, Inter, Helvetica, Arial, sans-serif%22 font-size=%228.8%22 font-weight=%22700%22 fill=%22%23FFFFFF%22%3EWSS%3C/text%3E %3C/svg%3E\")}"}],"page":{"pagePath":"build/conversation-flow/transition-condition","slug":"/build/conversation-flow/transition-condition","pageMetadata":{"title":"Transition conditions","description":"Control when a Retell conversation flow agent moves between nodes: prompt conditions evaluated by the LLM, deterministic equation conditions, and else edges.","keywords":["transition condition","prompt condition","equation condition","else edge","node transition","conversation flow edges"],"og:title":"Transition conditions: control node transitions in a conversation flow","og:description":"How Retell evaluates transition conditions on conversation flow edges — prompt vs equation conditions, else and always edges, evaluation order, and operators.","href":"/build/conversation-flow/transition-condition"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Control when a Retell conversation flow agent moves between nodes: prompt conditions evaluated by the LLM, deterministic equation conditions, and else edges.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Frame,Heading,Note,OptimizedImage,Step,Steps,Table}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Transition conditions decide whether and where the agent moves next. Each edge out of a node pairs a condition with a destination: when the condition is met, the agent transitions to that node. This is where you get the most control over a flow, and where careful testing pays off most.`}),`\n`,_jsx(Heading,{level:`2`,id:`condition-types`,children:`Condition types`}),`\n`,_jsx(_components.p,{children:`There are two types of transition conditions:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Prompt`}),`: A natural-language condition evaluated by the LLM against the conversation.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Equation`}),`: A deterministic comparison over `,_jsx(_components.a,{href:`/build/dynamic-variables`,children:`dynamic variables`}),` — no LLM involved.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Example prompt conditions:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`User said something about booking a meeting`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`User said something about cancelling a meeting`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`User claims to be over 18`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`User said they lived in New York or Los Angeles`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Example equation conditions:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- {{user_age}} > 18`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- {{current_time}} > 9 AND {{current_time}} \u003c 18`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- {{user_location}} == \"New York\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- {{user_location}} != \"New York\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- \"New York, Los Angeles\" CONTAINS {{user_location}}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- {{user_age}} \u003c 18 OR {{user_location}} == \"New York\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- {{name}} exists`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Equation conditions can only reference dynamic variables. For information the agent learns during the call, either use a prompt condition or first capture the value with an `,_jsx(_components.a,{href:`/build/conversation-flow/extract-dv-node`,children:`extract DV node`}),` and branch on it afterwards.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`special-edges`,children:`Special edges`}),`\n`,_jsx(_components.p,{children:`Besides regular condition edges, a node can have:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Else edge`}),`: The fallback. It fires when no other condition matches, so the flow never gets stuck. Use it deliberately — on a node with an else edge, any user turn that matches nothing else moves through it.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Always edge`}),`: Transitions unconditionally as soon as the user responds, skipping condition evaluation entirely. Useful when the node just needs one reply (e.g. an acknowledgment) before moving on.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Skip Response edge`}),`: Created when the node’s `,_jsx(_components.strong,{children:`Skip Response`}),` setting is on. The node transitions once the agent finishes speaking, without waiting for the user — good for disclaimers or hand-off lines.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`evaluation-order`,children:`Evaluation order`}),`\n`,_jsx(_components.p,{children:`When a transition check runs, conditions are evaluated in this order:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Always edge`}),` — if the node has one, the agent transitions through it right after the user responds. Nothing else is checked.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Equation conditions`}),` — evaluated deterministically before any prompt condition. Among equation edges, evaluation runs top to bottom and the first condition that evaluates true wins.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Prompt conditions`}),` — if no equation matched, the LLM evaluates all prompt conditions together, alongside any `,_jsx(_components.a,{href:`/build/conversation-flow/global-node`,children:`global node`}),` entry conditions, and picks the single best match — or none.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Else edge`}),` — if nothing matched and the node has an else edge, the agent transitions through it.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Stay`}),` — otherwise the agent stays in the current node and keeps the conversation going.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`when-transitions-are-checked`,children:`When transitions are checked`}),`\n`,_jsx(_components.p,{children:`The trigger depends on the node type:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Conversation and subagent nodes`}),`: after each user turn — or, with Skip Response on, as soon as the agent finishes speaking.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Function, code, MCP, and extract DV nodes`}),`: after the tool result arrives (when waiting for the result).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`SMS node`}),`: after the SMS succeeds or fails.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Call transfer and transfer agent nodes`}),`: after the transfer result comes back (e.g. the transfer failed).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.a,{href:`/build/conversation-flow/logic-split-node`,children:`Logic split node`})}),`: immediately on entry.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`When testing in the dashboard (audio or text), the current node is highlighted on the canvas, so you can watch exactly when each transition happens.`}),`\n`,_jsx(Heading,{level:`2`,id:`equation-reference`,children:`Equation reference`}),`\n`,_jsxs(_components.p,{children:[`An equation condition holds one or more equations — up to 50 — combined with `,_jsx(_components.strong,{children:`ANY`}),` (at least one must be true) or `,_jsx(_components.strong,{children:`ALL`}),` (all must be true).`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Compares`}),_jsx(_components.th,{children:`Behavior`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`==`}),`, `,_jsx(_components.code,{children:`!=`})]}),_jsx(_components.td,{children:`Strings`}),_jsxs(_components.td,{children:[`Case-insensitive string match (or not) — `,_jsx(_components.code,{children:`\"new york\"`}),` equals `,_jsx(_components.code,{children:`\"New York\"`}),`. No numeric coercion — `,_jsx(_components.code,{children:`\"18\"`}),` and `,_jsx(_components.code,{children:`\"18.0\"`}),` are different strings.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`>`}),`, `,_jsx(_components.code,{children:`>=`}),`, `,_jsx(_components.code,{children:`\u003c`}),`, `,_jsx(_components.code,{children:`\u003c=`})]}),_jsx(_components.td,{children:`Numbers`}),_jsxs(_components.td,{children:[`Numeric comparison. If either side is empty or not a number, the equation evaluates to `,_jsx(_components.strong,{children:`false`}),` — it never throws.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`Contains`}),`, `,_jsx(_components.code,{children:`Not Contains`})]}),_jsx(_components.td,{children:`Strings`}),_jsx(_components.td,{children:`Whether the left value includes the right value as a substring, ignoring case.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`exists`}),`, `,_jsx(_components.code,{children:`does not exist`})]}),_jsx(_components.td,{children:`Variable`}),_jsx(_components.td,{children:`Whether the dynamic variable has been set. An empty string still counts as set.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`exists`}),` check is useful when information may or may not be available before the call:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- {{user_email}} exists`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- {{user_phone}} does not exist`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Frame,{caption:`An equation condition using the exists operator.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/retellai/YTmPqPUaDmLakDGZ/images/cf/equation-exists.png?fit=max\u0026auto=format\u0026n=YTmPqPUaDmLakDGZ\u0026q=85\u0026s=d7e2c521747433b7695323d5ff49b005`,alt:`Equation editor showing a condition that checks whether a dynamic variable exists`,\"data-og-width\":`1286`,width:`1286`,\"data-og-height\":`953`,height:`953`,\"data-path\":`images/cf/equation-exists.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/retellai/YTmPqPUaDmLakDGZ/images/cf/equation-exists.png?w=280\u0026fit=max\u0026auto=format\u0026n=YTmPqPUaDmLakDGZ\u0026q=85\u0026s=6b0d5c24db06c3251e4d2a53e436a000 280w, https://mintcdn.com/retellai/YTmPqPUaDmLakDGZ/images/cf/equation-exists.png?w=560\u0026fit=max\u0026auto=format\u0026n=YTmPqPUaDmLakDGZ\u0026q=85\u0026s=9e6afe8aa0b6900a9cc8bb7ad4fff616 560w, https://mintcdn.com/retellai/YTmPqPUaDmLakDGZ/images/cf/equation-exists.png?w=840\u0026fit=max\u0026auto=format\u0026n=YTmPqPUaDmLakDGZ\u0026q=85\u0026s=48070008afafcb2050ecfb10b25f60c7 840w, https://mintcdn.com/retellai/YTmPqPUaDmLakDGZ/images/cf/equation-exists.png?w=1100\u0026fit=max\u0026auto=format\u0026n=YTmPqPUaDmLakDGZ\u0026q=85\u0026s=5db998f2f1016a4b88a4c0c6bd6eba5f 1100w, https://mintcdn.com/retellai/YTmPqPUaDmLakDGZ/images/cf/equation-exists.png?w=1650\u0026fit=max\u0026auto=format\u0026n=YTmPqPUaDmLakDGZ\u0026q=85\u0026s=06c504d60cf198fc6ba87563197b175b 1650w, https://mintcdn.com/retellai/YTmPqPUaDmLakDGZ/images/cf/equation-exists.png?w=2500\u0026fit=max\u0026auto=format\u0026n=YTmPqPUaDmLakDGZ\u0026q=85\u0026s=b122229180d2a69eba5f6433dba0c4e1 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`add-and-edit-conditions`,children:`Add and edit conditions`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Add a condition`,children:[_jsxs(_components.p,{children:[`Click the node, then click the `,_jsx(_components.strong,{children:`+`}),` button to add a transition condition. Choose `,_jsx(_components.strong,{children:`Prompt`}),` or `,_jsx(_components.strong,{children:`Equation`}),`.`]}),_jsx(Frame,{caption:`Adding a transition condition from the node's edge list.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/retellai/zL2HeUqUnagEN9eK/images/cf/add-transition-condition.png?fit=max\u0026auto=format\u0026n=zL2HeUqUnagEN9eK\u0026q=85\u0026s=cbfe8baf022467b5d7098a19bb424388`,alt:`Node edge list with the + button open, offering a choice between a prompt and an equation transition condition`,\"data-og-width\":`284`,width:`284`,\"data-og-height\":`183`,height:`183`,\"data-path\":`images/cf/add-transition-condition.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/retellai/zL2HeUqUnagEN9eK/images/cf/add-transition-condition.png?w=280\u0026fit=max\u0026auto=format\u0026n=zL2HeUqUnagEN9eK\u0026q=85\u0026s=06fc87886b76d425a787b232194880a8 280w, https://mintcdn.com/retellai/zL2HeUqUnagEN9eK/images/cf/add-transition-condition.png?w=560\u0026fit=max\u0026auto=format\u0026n=zL2HeUqUnagEN9eK\u0026q=85\u0026s=c54ff52a6ef48d49ced9b9808ebc4c99 560w, https://mintcdn.com/retellai/zL2HeUqUnagEN9eK/images/cf/add-transition-condition.png?w=840\u0026fit=max\u0026auto=format\u0026n=zL2HeUqUnagEN9eK\u0026q=85\u0026s=1283ef6c545f194d781581f40ce4ef9e 840w, https://mintcdn.com/retellai/zL2HeUqUnagEN9eK/images/cf/add-transition-condition.png?w=1100\u0026fit=max\u0026auto=format\u0026n=zL2HeUqUnagEN9eK\u0026q=85\u0026s=db6019296215cd5f7ecc8e76fa90b8fa 1100w, https://mintcdn.com/retellai/zL2HeUqUnagEN9eK/images/cf/add-transition-condition.png?w=1650\u0026fit=max\u0026auto=format\u0026n=zL2HeUqUnagEN9eK\u0026q=85\u0026s=4e6fd1f0c6e1cf02087518beb8d8327b 1650w, https://mintcdn.com/retellai/zL2HeUqUnagEN9eK/images/cf/add-transition-condition.png?w=2500\u0026fit=max\u0026auto=format\u0026n=zL2HeUqUnagEN9eK\u0026q=85\u0026s=f6d3e633ac48fe5d49425cac44c97d64 2500w`})})]}),_jsxs(Step,{title:`Write the condition`,children:[_jsx(_components.p,{children:`For a prompt condition, type the condition text directly on the edge.`}),_jsxs(_components.p,{children:[`For an equation condition, the equation editor opens. Click `,_jsx(_components.strong,{children:`Add equation`}),` to add rows, the trash icon to delete one, and switch `,_jsx(_components.strong,{children:`ANY`}),` to `,_jsx(_components.strong,{children:`ALL`}),` to require every equation to be true.`]}),_jsx(Frame,{caption:`The equation editor with ANY/ALL and per-row controls.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/retellai/zL2HeUqUnagEN9eK/images/cf/equation-editor.png?fit=max\u0026auto=format\u0026n=zL2HeUqUnagEN9eK\u0026q=85\u0026s=b8230b5f0933ccdef7b6ef9ef2b6cb0f`,alt:`Equation editor dialog showing equation rows with left value, operator, right value, an ANY/ALL selector, and add/delete controls`,\"data-og-width\":`384`,width:`384`,\"data-og-height\":`340`,height:`340`,\"data-path\":`images/cf/equation-editor.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/retellai/zL2HeUqUnagEN9eK/images/cf/equation-editor.png?w=280\u0026fit=max\u0026auto=format\u0026n=zL2HeUqUnagEN9eK\u0026q=85\u0026s=f36c1048ba476eb0d4b7ca656450e72a 280w, https://mintcdn.com/retellai/zL2HeUqUnagEN9eK/images/cf/equation-editor.png?w=560\u0026fit=max\u0026auto=format\u0026n=zL2HeUqUnagEN9eK\u0026q=85\u0026s=7f9bef7f87d91446b65254be3b7249fa 560w, https://mintcdn.com/retellai/zL2HeUqUnagEN9eK/images/cf/equation-editor.png?w=840\u0026fit=max\u0026auto=format\u0026n=zL2HeUqUnagEN9eK\u0026q=85\u0026s=d9ee36f8365a014ed499fb5ea17a2fa1 840w, https://mintcdn.com/retellai/zL2HeUqUnagEN9eK/images/cf/equation-editor.png?w=1100\u0026fit=max\u0026auto=format\u0026n=zL2HeUqUnagEN9eK\u0026q=85\u0026s=0b11b8ad6f8aeda68395283fb66dcd8f 1100w, https://mintcdn.com/retellai/zL2HeUqUnagEN9eK/images/cf/equation-editor.png?w=1650\u0026fit=max\u0026auto=format\u0026n=zL2HeUqUnagEN9eK\u0026q=85\u0026s=bb9c77c7058555fcf9915bd84c2a1c58 1650w, https://mintcdn.com/retellai/zL2HeUqUnagEN9eK/images/cf/equation-editor.png?w=2500\u0026fit=max\u0026auto=format\u0026n=zL2HeUqUnagEN9eK\u0026q=85\u0026s=39ae2e030ccfbb9851a323328802b373 2500w`})})]}),_jsxs(Step,{title:`Reorder equations`,children:[_jsx(_components.p,{children:`Drag the six-dot handle on the left of an equation to move it up or down. Order matters: the first equation condition that evaluates true wins.`}),_jsx(Frame,{caption:`Drag the handle to reorder equations.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/retellai/YiYvhov2NLXI5cg3/images/cf/equation-editor-reorder.png?fit=max\u0026auto=format\u0026n=YiYvhov2NLXI5cg3\u0026q=85\u0026s=0c39e0b98b5c48eb5efe0b7d76a5bf9d`,alt:`Equation editor with a row being dragged by its six-dot handle to change evaluation order`,\"data-og-width\":`910`,width:`910`,\"data-og-height\":`842`,height:`842`,\"data-path\":`images/cf/equation-editor-reorder.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/retellai/YiYvhov2NLXI5cg3/images/cf/equation-editor-reorder.png?w=280\u0026fit=max\u0026auto=format\u0026n=YiYvhov2NLXI5cg3\u0026q=85\u0026s=672cefd978810c2ec1b6521c990031fe 280w, https://mintcdn.com/retellai/YiYvhov2NLXI5cg3/images/cf/equation-editor-reorder.png?w=560\u0026fit=max\u0026auto=format\u0026n=YiYvhov2NLXI5cg3\u0026q=85\u0026s=3b12f7727926cfdb945bb0d41ca317e4 560w, https://mintcdn.com/retellai/YiYvhov2NLXI5cg3/images/cf/equation-editor-reorder.png?w=840\u0026fit=max\u0026auto=format\u0026n=YiYvhov2NLXI5cg3\u0026q=85\u0026s=a2606aa5d5b54d434d840be2db97eaf2 840w, https://mintcdn.com/retellai/YiYvhov2NLXI5cg3/images/cf/equation-editor-reorder.png?w=1100\u0026fit=max\u0026auto=format\u0026n=YiYvhov2NLXI5cg3\u0026q=85\u0026s=bd2a94aa90d7c8ee156b1e9b2a286c75 1100w, https://mintcdn.com/retellai/YiYvhov2NLXI5cg3/images/cf/equation-editor-reorder.png?w=1650\u0026fit=max\u0026auto=format\u0026n=YiYvhov2NLXI5cg3\u0026q=85\u0026s=df418b7a42cfe339ebf479d2fbc575f2 1650w, https://mintcdn.com/retellai/YiYvhov2NLXI5cg3/images/cf/equation-editor-reorder.png?w=2500\u0026fit=max\u0026auto=format\u0026n=YiYvhov2NLXI5cg3\u0026q=85\u0026s=ff513c4d17dead3de8aa3e985f8d1c29 2500w`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`write-conditions-that-transition-reliably`,children:`Write conditions that transition reliably`}),`\n`,_jsxs(_components.p,{children:[`Describe what the caller said or the state reached. Keep instructions about what the agent should say and do in the node prompt; see `,_jsx(_components.a,{href:`/build/conversation-flow/best-practices#put-instructions-in-the-right-place`,children:`where to put instructions`}),`.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`When user indicates they want to book a meeting`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`User declines the invitation`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`User responds to question of their age`})}),`\n`,_jsxs(_components.li,{children:[`For function nodes, you can reference the result: `,_jsx(_components.code,{children:`CRM lookup returned successful result`})]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Keep the number of transition choices small, including `,_jsx(_components.a,{href:`/build/conversation-flow/global-node`,children:`global node`}),` entry conditions. More choices make the correct transition harder to select. Add conditions when the task requires them, rather than creating a separate transition for every hypothetical variation.`]}),`\n`,_jsxs(_components.p,{children:[`For equation conditions, cover every branch the dynamic variables can take. For example, to treat callers from New York and Los Angeles differently when `,_jsx(_components.code,{children:`{{user_location}}`}),` is known before the call:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- {{user_location}} == \"New York\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- {{user_location}} == \"Los Angeles\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`improve-transition-accuracy`,children:`Improve transition accuracy`}),`\n`,_jsx(_components.p,{children:`If you observe an incorrect transition:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Rewrite the condition to be more specific about what the user said.`}),`\n`,_jsxs(_components.li,{children:[`Add transition `,_jsx(_components.a,{href:`/build/conversation-flow/finetune-examples`,children:`finetune examples`}),` that show the model real transcripts with the correct decision.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`faq`,children:`FAQ`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`The user said something unrelated to every condition — what happens?`,id:`the-user-said-something-unrelated-to-every-condition-what-happens`,children:_jsx(_components.p,{children:`In order: if a global node’s condition matches, the agent transitions there. Otherwise, if the node has an else edge, the agent moves through it. If neither, the agent stays in the current node and responds from its instruction.`})}),_jsx(Accordion,{title:`How do I see the transitions for a past call?`,id:`how-do-i-see-the-transitions-for-a-past-call`,children:_jsx(_components.p,{children:`Open the call transcript in the history tab — it shows each transition with the node names it moved from and to. Name your nodes descriptively so this is easy to read.`})}),_jsx(Accordion,{title:`Is there a limit on the number of transition conditions?`,id:`is-there-a-limit-on-the-number-of-transition-conditions`,children:_jsx(_components.p,{children:`There’s no limit on conditions per node, though each equation condition holds at most 50 equations. Keep the list focused — the more prompt conditions a node has, the harder it is for the LLM to pick the right one.`})}),_jsx(Accordion,{title:`The agent transitioned to a node whose condition was never met — why?`,id:`the-agent-transitioned-to-a-node-whose-condition-was-never-met-why`,children:_jsxs(_components.p,{children:[`Check your `,_jsx(_components.a,{href:`/build/conversation-flow/global-setting`,children:`global prompt`}),` and node instructions for numbered labels like “PRIORITY 1”, “Step 2”, or “ATTEMPT 1”. When the agent picks the next node, numbers in these lists can be confused with its transition options, so a transition can fire even though its condition was never met. Rename the items to letters (“PRIORITY A”) or descriptive names (“New service intent”) — the instructions themselves can stay the same.`]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Transition conditions","description":"Control when a Retell conversation flow agent moves between nodes: prompt conditions evaluated by the LLM, deterministic equation conditions, and else edges.","keywords":["transition condition","prompt condition","equation condition","else edge","node transition","conversation flow edges"],"og:title":"Transition conditions: control node transitions in a conversation flow","og:description":"How Retell evaluates transition conditions on conversation flow edges — prompt vs equation conditions, else and always edges, evaluation order, and operators.","href":"/build/conversation-flow/transition-condition"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Condition types","slug":"condition-types","depth":2,"children":[]},{"title":"Special edges","slug":"special-edges","depth":2,"children":[]},{"title":"Evaluation order","slug":"evaluation-order","depth":2,"children":[]},{"title":"When transitions are checked","slug":"when-transitions-are-checked","depth":2,"children":[]},{"title":"Equation reference","slug":"equation-reference","depth":2,"children":[]},{"title":"Add and edit conditions","slug":"add-and-edit-conditions","depth":2,"children":[]},{"title":"Write conditions that transition reliably","slug":"write-conditions-that-transition-reliably","depth":2,"children":[]},{"title":"Improve transition accuracy","slug":"improve-transition-accuracy","depth":2,"children":[]},{"title":"FAQ","slug":"faq","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/retellai/e3fe5c9b64f9e274/scroll-play-videos.js"],"subdomain":"retellai","siteName":"Retell AI","title":"Transition conditions: control node transitions in a conversation flow","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T05:28:23.100Z","originalFileLocation":"build/conversation-flow/transition-condition.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Control when a Retell conversation flow agent moves between nodes: prompt conditions evaluated by the LLM, deterministic equation conditions, and else edges.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Retell AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/retellai/aRxZhiMifgkRJF_R/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/retellai/aRxZhiMifgkRJF_R/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/retellai/aRxZhiMifgkRJF_R/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/retellai/aRxZhiMifgkRJF_R/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/retellai/aRxZhiMifgkRJF_R/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/retellai/aRxZhiMifgkRJF_R/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/retellai/aRxZhiMifgkRJF_R/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/retellai/aRxZhiMifgkRJF_R/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/retellai/aRxZhiMifgkRJF_R/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Transition conditions: control node transitions in a conversation flow\">\u003cmeta data-mint-head property=\"og:description\" content=\"How Retell evaluates transition conditions on conversation flow edges — prompt vs equation conditions, else and always edges, evaluation order, and operators.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Retell AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.retellai.com/build/conversation-flow/transition-condition\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://retellai.mintlify.site/_mintlify/api/og/v2?division=Conversation+flow+agents\u0026amp;title=Transition+conditions\u0026amp;description=Control+when+a+Retell+conversation+flow+agent+moves+between+nodes%3A+prompt+conditions+evaluated+by+the+LLM%2C+deterministic+equation+conditions%2C+and+else+edges.\u0026amp;theme=2259d4172d4ae0cc61d9b63d\u0026amp;signature=dace3158820f5c3fe8561b2a26267a1981eeace739c567308bb916f61635c4f1\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Transition conditions: control node transitions in a conversation flow\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How Retell evaluates transition conditions on conversation flow edges — prompt vs equation conditions, else and always edges, evaluation order, and operators.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://retellai.mintlify.site/_mintlify/api/og/v2?division=Conversation+flow+agents\u0026amp;title=Transition+conditions\u0026amp;description=Control+when+a+Retell+conversation+flow+agent+moves+between+nodes%3A+prompt+conditions+evaluated+by+the+LLM%2C+deterministic+equation+conditions%2C+and+else+edges.\u0026amp;theme=2259d4172d4ae0cc61d9b63d\u0026amp;signature=dace3158820f5c3fe8561b2a26267a1981eeace739c567308bb916f61635c4f1\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/retellai/aRxZhiMifgkRJF_R/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Retell AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#606A78\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.retellai.com/build/conversation-flow/transition-condition\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/build/conversation-flow/transition-condition.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.retellai.com/#organization\",\"name\":\"Retell AI\",\"url\":\"https://docs.retellai.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/retellai/-E9UettTBfBiCBBS/images/docs-light.png?fit=max\u0026auto=format\u0026n=-E9UettTBfBiCBBS\u0026q=85\u0026s=64eb26a2d3cc9a67ee3ea0bfe086dd14\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.retellai.com#website\",\"name\":\"Retell AI\",\"url\":\"https://docs.retellai.com\",\"publisher\":{\"@id\":\"https://docs.retellai.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.retellai.com/build/conversation-flow/transition-condition#webpage\",\"url\":\"https://docs.retellai.com/build/conversation-flow/transition-condition\",\"name\":\"Transition conditions\",\"description\":\"Control when a Retell conversation flow agent moves between nodes: prompt conditions evaluated by the LLM, deterministic equation conditions, and else edges.\",\"dateModified\":\"2026-11-12T05:28:23.100Z\",\"isPartOf\":{\"@id\":\"https://docs.retellai.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.retellai.com/build/conversation-flow/transition-condition#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.retellai.com/build/conversation-flow/transition-condition#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Build\",\"item\":\"https://docs.retellai.com/build/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Conversation flow agents\",\"item\":\"https://docs.retellai.com/build/conversation-flow/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Transition conditions\",\"item\":\"https://docs.retellai.com/build/conversation-flow/transition-condition\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.retellai.com/build/conversation-flow/transition-condition#article\",\"headline\":\"Transition conditions\",\"name\":\"Transition conditions\",\"description\":\"Control when a Retell conversation flow agent moves between nodes: prompt conditions evaluated by the LLM, deterministic equation conditions, and else edges.\",\"url\":\"https://docs.retellai.com/build/conversation-flow/transition-condition\",\"mainEntityOfPage\":{\"@id\":\"https://docs.retellai.com/build/conversation-flow/transition-condition#webpage\"},\"dateModified\":\"2026-11-12T05:28:23.100Z\",\"keywords\":\"transition condition, prompt condition, equation condition, else edge, node transition, conversation flow edges\",\"publisher\":{\"@id\":\"https://docs.retellai.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.retellai.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Retell AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Retell AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/build/conversation-flow/transition-condition.md","siteName":"Retell AI","nav":{"global":null,"tabs":[{"tab":"Guides","icon":"book","groups":[{"group":" ","pages":[{"title":"Introduction to Retell","href":"/general/introduction"},{"title":"Build your first phone agent in 15 minutes","href":"/get-started/quick-start"},{"title":"Global search","href":"/get-started/global-search"}]},{"group":"Conductor (AI Assistant)","icon":"https://mintlify.s3.us-west-1.amazonaws.com/retellai/images/conductor/conductor-icon.svg","pages":[{"title":"Retell AI Conductor overview","sidebarTitle":"Overview","href":"/conductor/overview"},{"group":"Functionality","pages":[{"title":"Build and refine agents","href":"/conductor/build-and-refine"},{"title":"Test and improve agents","href":"/conductor/test-and-improve"},{"title":"Inspect knowledge bases","href":"/conductor/knowledge-base"},{"title":"Review calls and chats","href":"/conductor/call-and-chat-history"},{"title":"Build analytics dashboards","href":"/conductor/analytics-dashboards"},{"title":"Review QA results","href":"/conductor/ai-qa"},{"title":"Review contacts","href":"/conductor/contacts"}]},{"title":"Pricing","href":"/conductor/usage-and-billing"}]},{"group":"Build","icon":"bot","pages":[{"title":"Build a Retell agent: configuration overview","href":"/build/overview"},{"title":"Single prompt vs. conversation flow","href":"/build/choose-agent-type"},{"title":"General prompting principles","href":"/build/prompt-engineering-guide"},{"group":"Single prompt agents","pages":[{"title":"Single prompt best practices","href":"/build/single-multi-prompt/write-single-prompt"},{"title":"Configure basic settings","href":"/build/single-multi-prompt/configure-basic-settings"},{"group":"Functions","pages":[{"title":"Function calling for single and multi-prompt agents","href":"/build/single-multi-prompt/function-calling"},{"title":"End call","href":"/build/single-multi-prompt/end-call"},{"title":"Transfer call tool (single \u0026 multi-prompt agents)","href":"/build/single-multi-prompt/transfer-call"},{"title":"Send SMS","href":"/build/single-multi-prompt/send-sms"},{"title":"Press digit (IVR navigation)","href":"/build/single-multi-prompt/press-digit"},{"title":"Integrate any system with custom function","href":"/build/single-multi-prompt/custom-function"},{"title":"Integration tools","href":"/build/single-multi-prompt/integration-tools"},{"title":"Code tool: run JavaScript in a Retell agent","href":"/build/single-multi-prompt/code-tool"},{"title":"Extract Dynamic Variables","href":"/build/single-multi-prompt/extract-dv"},{"title":"Agent Transfer tool: hand a call to another AI agent","href":"/build/single-multi-prompt/transfer-agent"},{"title":"MCP tools for single and multi-prompt agents","href":"/build/single-multi-prompt/mcp"}]}]},{"group":"Conversation flow agents","pages":[{"title":"Conversation flow agents: structured voice AI call control","href":"/build/conversation-flow/overview"},{"title":"Conversation flow best practices","href":"/build/conversation-flow/best-practices"},{"title":"Configure global settings","href":"/build/conversation-flow/global-setting"},{"group":"Nodes","pages":[{"title":"Nodes and edges","href":"/build/conversation-flow/node"},{"title":"Subagent node","href":"/build/conversation-flow/subagent-node"},{"title":"Conversation node","href":"/build/conversation-flow/conversation-node"},{"group":"Function Node","pages":[{"title":"Call a function from a conversation flow node","href":"/build/conversation-flow/function-node"},{"title":"Custom function in conversation flow","href":"/build/conversation-flow/custom-function"},{"title":"Integration tools in conversation flow","href":"/build/conversation-flow/integration-tools"}]},{"title":"Code node: run JavaScript in a conversation flow","href":"/build/conversation-flow/code-node"},{"title":"Call transfer node in conversation flow","href":"/build/conversation-flow/call-transfer-node"},{"title":"Press Digit Node","href":"/build/conversation-flow/press-digit-node"},{"title":"End node","href":"/build/conversation-flow/end-node"},{"title":"Logic Split Node","href":"/build/conversation-flow/logic-split-node"},{"title":"SMS Node","href":"/build/conversation-flow/sms-node"},{"title":"Extract Dynamic Variable Node","href":"/build/conversation-flow/extract-dv-node"},{"title":"Agent Transfer Node","href":"/build/conversation-flow/transfer-agent-node"},{"title":"MCP node in conversation flow","description":"Add an MCP node to a Retell conversation flow to call remote MCP server tools during a live call, with custom headers and authentication.","href":"/build/conversation-flow/mcp-node"}]},{"title":"Transition conditions","href":"/build/conversation-flow/transition-condition"},{"title":"Reusable subflows for conversation flow agents","description":"Package parts of a conversation flow into reusable Retell subflows, so you can build complex agents once and share consistent logic across many flows.","href":"/build/conversation-flow/components"},{"title":"Flex Mode: dynamic conversation flow execution","href":"/build/conversation-flow/flex-mode"},{"group":"Advanced features","pages":[{"title":"Global Node","href":"/build/conversation-flow/global-node"},{"title":"Finetune Examples","href":"/build/conversation-flow/finetune-examples"}]},{"title":"Debug guide","href":"/build/conversation-flow/debug-guide"}]},{"group":"Multi-prompt agents (legacy)","pages":[{"title":"Multi-prompt agents","href":"/build/single-multi-prompt/write-multi-prompt"}]},{"title":"Create chat agent","href":"/build/create-chat-agent"},{"title":"Agent workflow","href":"/agent/agent-workflow"},{"title":"Set language for your agent","href":"/agent/language"},{"title":"Configure a multilingual agent","href":"/agent/multilingual"},{"title":"Supported languages by provider","href":"/build/language-support"},{"group":"Understand user speech better","pages":[{"title":"Speech recognition providers","href":"/build/asr-providers"},{"title":"Transcription modes","href":"/build/transcription-mode"},{"title":"Handle background speech \u0026 noise","href":"/build/handle-background-noise"}]},{"group":"Generate better responses from LLM","pages":[{"title":"Agent Handbook","href":"/build/agent-handbook"},{"title":"Conversational Mode","href":"/build/conversational-mode"},{"title":"Pronunciation examples","href":"/build/prompt-situation-guide"},{"title":"LLM settings","href":"/build/llm-options"},{"title":"GPT Live voice model","href":"/build/gpt-live"}]},{"group":"Customize the synthesized speech","pages":[{"title":"Platform voices","href":"/build/platform-voices"},{"title":"Choose a custom provider","href":"/build/voice"},{"title":"Expressive Mode: add emotion and emphasis to agent speech","href":"/build/expressive-mode"},{"title":"Add custom pronunciation","href":"/build/add-pronunciation"},{"title":"Make the agent stay silent","href":"/build/no-response"},{"title":"Speech controls","href":"/build/speech-controls"},{"title":"Set up TTS fallback","href":"/build/tts-fallback"}]},{"group":"Integrate telephony features","pages":[{"title":"Handle voicemail and IVR","href":"/build/handle-voicemail"},{"title":"Capture DTMF input from user","href":"/build/user-dtmf"},{"title":"Set \u0026 parse custom SIP headers","href":"/build/telephony/sip-headers"}]},{"group":"Provide context to the agent","pages":[{"title":"Knowledge base setup and retrieval tuning","href":"/build/knowledge-base"},{"title":"Dynamic variables","href":"/build/dynamic-variables"}]},{"title":"Guardrails","href":"/build/guardrails"},{"title":"Do-not-call requests","href":"/build/do-not-call"}]},{"group":"Test","icon":"flask-conical","pages":[{"title":"Testing overview","href":"/test/test-overview"},{"group":"LLM Playground","pages":[{"title":"Manually test your agent","href":"/test/llm-playground"},{"title":"Debug your agent response","href":"/test/llm-playground-debug"}]},{"group":"LLM Simulation Testing","pages":[{"title":"Automatically test your agent","href":"/test/llm-simulation-testing"},{"title":"Batch test your agent","href":"/test/batch-test-simulation"}]},{"group":"Audio Testing","pages":[{"title":"Web call testing","href":"/test/test-web"},{"title":"Phone call testing","href":"/test/test-phone"}]},{"title":"Testing with Conductor","icon":"https://mintlify.s3.us-west-1.amazonaws.com/retellai/images/conductor/conductor-icon.svg","href":"/test/testing-with-conductor"},{"title":"Testing pricing","href":"/test/testing-pricing"}]},{"group":"Deploy","icon":"phone","pages":[{"title":"Purchase phone number","href":"/deploy/purchase-number"},{"title":"A/B Testing","href":"/deploy/ab-testing"},{"group":"Connect to custom telephony providers via SIP","pages":[{"title":"Connect Retell voice agents to custom telephony","href":"/deploy/custom-telephony"},{"group":"Connect via SIP trunking","pages":[{"title":"Connect a Twilio number to Retell with elastic SIP trunking","sidebarTitle":"Twilio","href":"/deploy/twilio"},{"title":"Telnyx","href":"/deploy/telnyx"},{"title":"Vonage","href":"/deploy/vonage"}]},{"group":"Connect to CCaaS","pages":[{"title":"Avaya","href":"/deploy/avaya"},{"title":"Connect Genesys Cloud to Retell","href":"/deploy/genesys"},{"title":"Connect Five9 to Retell","href":"/deploy/five9"},{"title":"Amazon Connect","href":"/deploy/amazon-connect"}]}]},{"group":"Make \u0026 receive phone calls","pages":[{"title":"Make outbound calls","href":"/deploy/outbound-call"},{"group":"Inbound calls","pages":[{"title":"Receive calls","href":"/deploy/inbound-call"},{"title":"Inbound call \u0026 SMS webhook","href":"/features/inbound-call-webhook"}]},{"title":"International calling","href":"/deploy/international-call"}]},{"title":"Implement chat with create chat completion","href":"/deploy/create-chat-completion"},{"title":"Website widget","href":"/deploy/chat-widget"},{"group":"Send \u0026 receive SMS","pages":[{"title":"Enable SMS","href":"/deploy/enable-sms"},{"title":"SMS campaign application (A2P 10DLC)","href":"/deploy/sms-campaign-application"}]},{"title":"Agent versions and tags","href":"/agent/version"},{"title":"Compare agent versions","href":"/agent/version-comparison"},{"title":"Create and schedule batch calls","href":"/deploy/make-batch-call"},{"group":"Dialer","pages":[{"title":"Outbound call campaigns","sidebarTitle":"Overview","href":"/dialer/overview"},{"title":"Choose contacts","href":"/dialer/contacts"},{"title":"Compliance checks","href":"/dialer/compliance-checks"},{"title":"Build a sequence","href":"/dialer/sequences"},{"title":"Caller ID and pacing","href":"/dialer/phone-numbers"}]},{"group":"Increase call pickup rate","pages":[{"title":"Spam likely overview","href":"/build/telephony/call_efficiency_overview"},{"title":"Add a business profile","href":"/build/telephony/business-profile"},{"title":"Apply for verified phone number","href":"/build/telephony/verified-phone"},{"title":"Apply for branded call","href":"/build/telephony/branded-call"},{"title":"Handle application rejection","href":"/build/telephony/branded-call-rejection"},{"title":"Stop caller ID service","href":"/build/telephony/delete-service"}]},{"title":"Make a web call","href":"/deploy/web-call"},{"title":"Web calls in native apps","href":"/deploy/native-web-call"},{"title":"Understand concurrency \u0026 limits","href":"/deploy/concurrency"}]},{"group":"Data","icon":"database","pages":[{"title":"Call \u0026 chat history","href":"/features/session-history"},{"title":"Contacts","href":"/features/contacts"},{"title":"Contact memory","href":"/features/contact-memory"}]},{"group":"Monitor","icon":"square-activity","pages":[{"title":"Monitor live calls","href":"/features/live-monitoring"},{"title":"Analytics dashboard","href":"/features/analytics-dashboard"},{"title":"Alert rules for call and chat metrics","href":"/features/alerting-overview"},{"group":"Register \u0026 handle webhooks","pages":[{"group":"Call Event Webhook","pages":[{"title":"Retell webhooks overview","href":"/features/webhook-overview"},{"title":"Register and set up a Retell webhook","href":"/features/register-webhook"}]},{"title":"Secure the webhook","href":"/features/secure-webhook"}]},{"group":"Post Call Extraction","pages":[{"title":"Post Call Extraction overview and categories","href":"/features/post-call-analysis-overview"},{"title":"Define the information you want to extract","href":"/features/post-call-analysis-create"},{"title":"Consume the analysis data","href":"/features/post-call-analysis-consumption"},{"title":"Rerun Post Call/Chat Extraction","href":"/features/rerun-call-analysis"}]},{"group":"AI Quality Assurance","pages":[{"title":"Automatically evaluate call quality with AI QA","sidebarTitle":"AI Quality Assurance","href":"/ai-qa/overview"},{"group":"Create QA","pages":[{"title":"Access AI QA","href":"/ai-qa/get-started"},{"title":"Define a QA cohort","href":"/ai-qa/create-cohort"},{"title":"Define resolution criteria","href":"/ai-qa/define-resolution-criteria"}]},{"title":"View QA results","href":"/ai-qa/view-qa-results"},{"title":"AI QA metrics","href":"/ai-qa/terminologies"},{"title":"Address metric issues","href":"/ai-qa/address-metric-issues"}]}]},{"group":"Reliability \u0026 Debugging","icon":"bug","pages":[{"title":"Reliability Overview","href":"/reliability/reliability-overview"},{"group":"Latency","pages":[{"title":"Check estimated latency","href":"/reliability/check-estimated-latency"},{"title":"Check actual latency","href":"/reliability/check-actual-latency"},{"title":"Troubleshoot high latency","href":"/reliability/troubleshoot-latency"}]},{"group":"Fix agent behaviors","pages":[{"title":"Transcription accuracy","href":"/reliability/wrong-transcript"},{"title":"Debug wrong response","href":"/reliability/wrong-response"}]},{"group":"Debug phone call issues","pages":[{"title":"Debug call transfer failure","href":"/reliability/call-performance"},{"title":"Debug call disconnection","href":"/reliability/debug-call-disconnect"},{"title":"Debug outbound connection issues","href":"/reliability/debug-outbound-call"},{"title":"Debug SIP calls using PCAP file","href":"/reliability/debug-calls-pcap"}]},{"title":"Agent paused or banned","href":"/reliability/agent-paused"},{"title":"Prevent abuse","href":"/reliability/prevent-abuse"},{"title":"Fraud Protection","href":"/reliability/fraud-protection"}]},{"group":"Accounts and Workspace","icon":"circle-user-round","pages":[{"title":"Create and manage Retell workspaces","href":"/accounts/workspace"},{"title":"Manage your Retell AI account","href":"/accounts/account"},{"title":"Use your business email","href":"/accounts/business-email"},{"title":"Access Control","href":"/accounts/access-control"},{"title":"KYC Verification","href":"/accounts/kyc"},{"group":"Billing","pages":[{"title":"Retell AI billing: credits, auto recharge, and invoices","href":"/accounts/billing"},{"title":"Exceptions to Our Per-Minute Pricing","href":"/accounts/billing-exceptions"},{"title":"Add payment methods","href":"/accounts/add-payment"},{"title":"Handle failed payments","href":"/accounts/fail-payment"}]},{"group":"Keys","pages":[{"title":"API Key Overview","href":"/accounts/api-keys-overview"},{"title":"Manage API keys and permission scopes","href":"/accounts/manage-api-keys"},{"title":"Public keys","href":"/accounts/public-keys"}]},{"group":"Privacy and Compliance","pages":[{"title":"Data Storage Settings","href":"/accounts/privacy-disable"},{"title":"Data Retention Policy","href":"/accounts/data-retention"},{"title":"Opt in to secure URL","href":"/accounts/signed-secure-url"},{"title":"Security and compliance","href":"/general/compliance"}]}]},{"group":"Integrations","icon":"unplug","pages":[{"title":"Connect CRMs, calendars, and knowledge sources to Retell","sidebarTitle":"Integrations overview","href":"/integrations/overview"},{"group":"CRM","pages":[{"title":"CRM integrations","href":"/integrations/crm-overview"},{"title":"CRM data mappings","href":"/integrations/crm-mappings"},{"group":"HubSpot","pages":[{"title":"Connect HubSpot","sidebarTitle":"Connect","href":"/integrations/hubspot"},{"title":"HubSpot contact sync","sidebarTitle":"Contact sync","href":"/integrations/hubspot-contact-sync"},{"title":"HubSpot agent functions","sidebarTitle":"Agent functions","href":"/integrations/hubspot-functions"}]},{"group":"Salesforce","pages":[{"title":"Connect Salesforce","sidebarTitle":"Connect","href":"/integrations/salesforce"},{"title":"Salesforce contact sync","sidebarTitle":"Contact sync","href":"/integrations/salesforce-contact-sync"},{"title":"Salesforce agent functions","sidebarTitle":"Agent functions","href":"/integrations/salesforce-functions"}]},{"group":"Microsoft Dynamics 365","pages":[{"title":"Connect Dynamics 365","sidebarTitle":"Connect","href":"/integrations/microsoft-dynamics"},{"title":"Dynamics 365 contact sync","sidebarTitle":"Contact sync","href":"/integrations/microsoft-dynamics-contact-sync"},{"title":"Dynamics 365 agent functions","sidebarTitle":"Agent functions","href":"/integrations/microsoft-dynamics-functions"}]},{"group":"GoHighLevel","pages":[{"title":"Connect GoHighLevel","sidebarTitle":"Connect","href":"/integrations/gohighlevel"},{"title":"GoHighLevel contact sync","sidebarTitle":"Contact sync","href":"/integrations/gohighlevel-contact-sync"},{"title":"GoHighLevel agent functions","sidebarTitle":"Agent functions","href":"/integrations/gohighlevel-functions"}]},{"group":"Zoho CRM","pages":[{"title":"Connect Zoho CRM","sidebarTitle":"Connect","href":"/integrations/zoho"},{"title":"Zoho contact sync","sidebarTitle":"Contact sync","href":"/integrations/zoho-contact-sync"},{"title":"Zoho agent functions","sidebarTitle":"Agent functions","href":"/integrations/zoho-functions"}]}]},{"group":"Helpdesk","pages":[{"group":"Zendesk","pages":[{"title":"Connect Zendesk","sidebarTitle":"Connect","href":"/integrations/zendesk"},{"title":"Zendesk agent functions","sidebarTitle":"Agent functions","href":"/integrations/zendesk-functions"}]}]},{"group":"Knowledge Base","pages":[{"group":"Google Drive","pages":[{"title":"Connect Google Drive","sidebarTitle":"Connect","href":"/integrations/google-drive"},{"title":"Google Drive knowledge base sync","sidebarTitle":"Knowledge base sync","href":"/integrations/google-drive-knowledge-base"}]},{"group":"Microsoft OneDrive","pages":[{"title":"Connect OneDrive","sidebarTitle":"Connect","href":"/integrations/microsoft-onedrive"},{"title":"OneDrive knowledge base sync","sidebarTitle":"Knowledge base sync","href":"/integrations/microsoft-onedrive-knowledge-base"}]},{"group":"Notion","pages":[{"title":"Connect Notion","sidebarTitle":"Connect","href":"/integrations/notion"},{"title":"Notion knowledge base sync","sidebarTitle":"Knowledge base sync","href":"/integrations/notion-knowledge-base"}]}]},{"group":"Calendar","pages":[{"group":"GoHighLevel","pages":[{"title":"GoHighLevel agent functions","sidebarTitle":"Agent functions","href":"/integrations/gohighlevel-functions"}]},{"group":"Calendly","pages":[{"title":"Connect Calendly","sidebarTitle":"Connect","href":"/integrations/calendly"},{"title":"Calendly agent functions","sidebarTitle":"Agent functions","href":"/integrations/calendly-functions"}]},{"group":"Cal.com","pages":[{"title":"Connect Cal.com","sidebarTitle":"Connect","href":"/integrations/cal-com"},{"title":"Cal.com agent functions","sidebarTitle":"Agent functions","href":"/integrations/cal-com-functions"}]}]}]},{"group":"Marketplace","icon":"store","pages":[{"title":"Trigger Retell calls from HubSpot workflows","href":"/integrations/hubspot-marketplace"},{"title":"Trigger Retell calls from Zoho CRM workflows","href":"/integrations/zoho-marketplace"},{"title":"Trigger Retell calls from Slack","href":"/integrations/slack-marketplace"},{"title":"Trigger Retell calls from Notion","href":"/integrations/notion-marketplace"},{"title":"Trigger Retell calls from Google Sheets","href":"/integrations/google-sheets-marketplace"}]},{"group":"Other Topics","pages":[{"group":"Custom LLM","pages":[{"title":"Custom LLM overview","href":"/integrate-llm/overview"},{"title":"Set up a custom LLM WebSocket server for your Retell agent","href":"/integrate-llm/setup-websocket-server"},{"title":"Connect your LLM","href":"/integrate-llm/integrate-llm"},{"title":"Add function calling","href":"/integrate-llm/integrate-function-calling"},{"title":"Troubleshooting","href":"/integrate-llm/troubleshooting"},{"title":"Best practices","href":"/integrate-llm/llm-best-practice"}]},{"title":"Audio Basics","href":"/knowledge/audio-basics"}]}]},{"tab":"API Reference","icon":"code-xml","pages":[{"title":"API Reference","href":"/api-references/overview"}]},{"tab":"SDK","icon":"package","pages":[{"title":"SDK","href":"/get-started/sdk"}]},{"tab":"MCP","icon":"plug-zap","pages":[{"title":"MCP","href":"/get-started/mcp-server"}]},{"tab":"CLI","icon":"terminal","pages":[{"title":"CLI","href":"/get-started/cli"}]},{"tab":"Deprecations","icon":"book-alert","pages":[{"title":"Deprecations","href":"/deprecation-notice/overview"}]}]},"basePath":"","title":"Transition conditions: control node transitions in a conversation flow","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-D2acuaLg.js","DynamicMarkdown-Co5nikxh.js","zoom-image-lightbox-BbK2OBGL.js","lightbox-handle-r17bVUz3.js"]}