https://retellai.com/?utm_source=discord&utm_medium=seo logo
I an Extract Dynamic Variable Node what transition...
# ❓・ai-evy-support
t
@AI Evy I an Extract Dynamic Variable Node what transition condition can I use? For example, I want to extract the user name... Is there a helpful transition if the name is not able to be extracted? (jump back to previous node?)
a
Thanks for tagging me @tacitus_16379. I'll look through relevant sources and get back to you shortly.
### Answer For Extract Dynamic Variable Nodes, you have several transition condition options [(1) ]() : Basic transition conditions: - Use prompt-based conditions like "when the user name is extracted" [(2) ]() - Use equation conditions to check if variables exist:
{{variable_name}} exists
or
{{variable_name}} does not exists
[(3) ]() For handling extraction failures: You can create a fallback transition using the "does not exists" condition . For example: - If
{{user_name}} does not exists
- transition back to a previous node to re-ask for the name - If
{{user_name}} exists
- proceed to the next node Important considerations: Based on community feedback, avoid making transition conditions always true (like
{{company_name}} = EllieGrid
when it's always true) as this doesn't give the extraction function a chance to run properly [(2) ]() . Also, if you're experiencing issues where adding any transition causes "Failed to get LLM response" errors, this may be related to imported sample agents having incorrect configurations [(4) ]() . Creating a new agent from scratch rather than importing samples can resolve this issue [(2) ]() [(4) ]() . The key is to use the variable existence check (
{{variable_name}} exists
or
{{variable_name}} does not exists
) to create reliable branching logic for successful extractions versus failures [(3) ](
sation-flow/transition-condition) .
​ To learn more, see the sources I considered: [[1] Extract Dynamic Variable Node](https://docs.retellai.com/build/conversation-flow/extract-dv-node) [[2] extract variable node transition](https://discord.com/channels/1186424376300679209/1393706083108786357) [[3] Step 3: Add transition conditions](https://docs.retellai.com/build/conversation-flow/transition-condition) [[4] extract variable](https://discord.com/channels/1186424376300679209/1414908562999742515) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.