https://retellai.com/?utm_source=discord&utm_medium=seo logo
Hey, I want to pass the variables extracted from o...
# ❓・ai-evy-support
a
@AI Evy Hey, I want to pass the variables extracted from one conversation node to another conversation node in conversation flow agent. Can we use extract variable node to achieve this ?
a
Thanks for tagging me @afrah_85175. I'll look through relevant sources and get back to you shortly.
### Answer Yes, you can use the Extract Variable Node to pass variables between conversation nodes in your conversation flow agent [(1) ]() . The Extract Dynamic Variable Node is specifically designed to extract information from conversation and store them as dynamic variables . Once extracted, these variables can be used in other nodes throughout your conversation flow. Here's how it works: Setting up the Extract Variable Node: - Add a Variable Name (a short name to reference this variable) - Provide a Description (a brief explanation of what this value should be) - Choose a Variable Type from Text, Number, Enum, or Boolean Variable Types available: - Text - Any word or sentence. Examples: "headache", "John Smith" - Number - A numeric value. Examples: 42, 98.6 - Enum - A value from a predefined list. Examples: "Yes", "No", "Maybe" - Boolean - True or false Using extracted variables in other nodes: Once extracted, you can reference these variables using the dynamic variable syntax
{{variable_name}}
in prompts, begin messages, tool call descriptions, and other parts of your conversation flow [(2) ]() . Important considerations: - The Extract Variable Node is not intended for having a conversation with the user [(1) ]() - You'll need to set up proper transition conditions to move from the extract node to other conversation nodes [(3) ]() - Make sure you have "opt out sensitive data" disabled if you want to see the extracted variables in your call logs [(4) ]() This allows you to capture information in one
part of your flow and use it throughout the rest of the conversation, making your agent more personalized and context-aware.
​ To learn more, see the sources I considered: [[1] Extract Dynamic Variable Node](https://docs.retellai.com/build/conversation-flow/extract-dv-node) [[2] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[3] Step 3: Add transition conditions](https://docs.retellai.com/build/conversation-flow/transition-condition) [[4] How are Extract Variable Nodes supposed to be used?](https://discord.com/channels/1186424376300679209/1396764428921340005) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.