https://retellai.com/?utm_source=discord&utm_medium=seo logo
Can I use dynamic variables in Extract Variables n...
# ❓・ai-evy-support
s
@AI Evy Can I use dynamic variables in Extract Variables nodes? I want to set a variable based on the current time provided by the current_time variable.
a
Thanks for tagging me @SixBeeps. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, the Extract Dynamic Variable Node is designed to extract information from conversation and store it as a dynamic variable. [(1) ]() The supported variable types are: - Text - Any word or sentence - Number - A numeric value - Enum - A value from a predefined list - Boolean - True or false The documentation does not explicitly mention using existing dynamic variables (like
{{current_time}}
) as inputs or for setting values within Extract Dynamic Variable nodes. The node appears to be intended for extracting values from what the user says during the conversation, not for transforming or combining existing dynamic variables. If you need to work with
current_time
to derive a new variable value, you may need to handle this logic through a custom function that receives the current time and returns the processed value, rather than through the Extract Dynamic Variable node itself. Check out these potentially useful sources: - [Extract Dynamic Variable Node]() - [Extract Dynamic Variables]() Would you like me to provide a general answer on how you might approach this with a custom function?
​ To learn more, see the sources I considered: [[1] Extract Dynamic Variable Node](https://docs.retellai.com/build/conversation-flow/extract-dv-node) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.