https://retellai.com/?utm_source=discord&utm_medium=seo logo
Can you please help me out
# ❓・ai-evy-support
c
@AI Evy Can you please help me out? It's urgent
a
Thanks for tagging me @cygentive_31481. I'll look through relevant sources and get back to you shortly.
### Answer I'm here to help with any questions you have about Retell AI. Please provide more details about your issue or question so I can assist you.
message has been deleted
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
c
{ "role": "tool_call_invocation", "tool_call_id": "extract_dynamic_variables_0355b9", "name": "extract_dynamic_variables", "arguments": "" }, { "role": "tool_call_result", "tool_call_id": "extract_dynamic_variables_0355b9", "content": "{"dateAndTime":"2023-10-05T00:00:00Z"}" }, { "role": "tool_call_invocation", "tool_call_id": "tool_call_7a0376", "name": "checkAvailabilityOnWilliamCalendar", "arguments": "{"dateAndTime":"2025-10-05T00:00:00Z"}"
@AI Evy Can you help me out with this
a
Thanks for the follow-up, @cygentive_31481. I'll get back to you soon.
### Answer Based on your thread, you are working with tool calls and dynamic variable extraction in Retell AI. If you need to extract dynamic variables or pass them between function calls (such as extracting date and time and then calling another function with that value) , Retell AI supports this through its custom function node and dynamic variables features [(1) ]() . To set this up: 1. Define a custom function in your conversation flow. 2. Use dynamic variables to capture values (like date and time) and pass them as parameters to subsequent function calls. 3. Make sure your custom function’s parameters are defined using JSON schema or form, so the values can be injected dynamically . You can find the steps and formatting for custom functions and dynamic variables in the documentation here: [Custom Function]() . If you have a specific issue with the function call or variable passing, please clarify what isn't working as expected, and I can help troubleshoot further.
​ To learn more, see the sources I considered: [[1] Custom Function](https://docs.retellai.com/build/conversation-flow/custom-function) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
c
@AI Evy The agent is passing an incorrect date { "role": "tool_call_invocation", "tool_call_id": "extract_dynamic_variables_0355b9", "name": "extract_dynamic_variables", "arguments": "" }, { "role": "tool_call_result", "tool_call_id": "extract_dynamic_variables_0355b9", "content": "{"dateAndTime":"2023-10-05T00:00:00Z"}" },
a
Thanks for the follow-up, @cygentive_31481. I'll get back to you soon.
### Answer If the agent is passing an incorrect date when extracting dynamic variables (for example, returning "2023-10-05T00:00:00Z" instead of your expected value) , here are some key points to check: 1. Make sure the correct value is being set and updated in your flow before the function call. Dynamic variables in Retell AI are injected using the
{{variable_name}}
syntax and must be explicitly set or updated in the conversation flow or via function responses [(1) ]() . 2. When extracting dynamic variables from a function or API response, ensure the response body returned by your endpoint is structured so that Retell can properly map and assign the values. For example, if your endpoint returns:
Copy code
json
{
  "dateAndTime": "2025-10-05T00:00:00Z"
}
then
{{dateAndTime}}
will be available for subsequent steps [(2) ]() [(3) ]() . 3. If you see an old or unexpected value, verify that earlier nodes or API calls in the flow are not overwriting or setting the variable with a previous or default value [(1) ]() . 4. For troubleshooting, add a prompt or message node that repeats the value of
{{dateAndTime}}
immediately after extraction, so you can confirm what the agent "sees" at each step . 5. If the value is being extracted from a tool/function result, make sure the extraction is mapped directly in the function configuration and that the correct dynamic variable is referenced in downstream nodes [(2) ]() [(3) ]() . If these steps do not resolve the issue, please provide more details about where and how the value is being set or updated in your flow, and whether the API response you are using for extraction is returning the correct value.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Custom Function](https://docs.retellai.com/build/conversation-flow/custom-function) [[3] Integrate any system with custom function](https://docs.retellai.com/build/single-multi-prompt/custom-function) ​
c
@AI Evy The conversation flow agent does not send the current time to the function; it just sends 2023-10-05T00:00:00Z, I have even used the variable as {{current_time_America/New_York}} and {{current_time}}, but it does not pass the correct time. What's the problem?
a
Thanks for the follow-up, @cygentive_31481. I'll get back to you soon.
### Answer The variables {{current_time}} and {{current_time_America/New_York}} are default system dynamic variables in Retell AI and should provide the current time in the specified timezone [(1) ]() [(2) ]() . If your conversation flow agent is always sending the static value "2023-10-05T00:00:00Z" instead of the actual current time, here are important points to check: 1. The value of {{current_time}} or {{current_time_America/New_York}} is injected by the Retell platform at runtime and should resolve to the actual time, not a fixed date . If you are seeing a hardcoded date, it could indicate that the variable is not being properly resolved and is instead being interpreted as a literal string or default/test value. 2. In prompts, tool configurations, and function nodes, dynamic variables must be referenced using the double curly braces syntax (e.g., {{current_time_America/New_York}}) [(1) ]() . Ensure there are no typos and that you are not accidentally supplying a string value instead of the variable placeholder. 3. If a dynamic variable is missing or not set, Retell will leave the placeholder in the output (e.g., "Hello {{current_time}}") , not substitute a default date . If you see a specific date like "2023-10-05T00:00:00Z", check if any earlier node or function in your flow is overwriting the variable or if a default value is hardcoded somewhere in your flow config [(1) ]() [(3) ]() . 4. The current_time variables are system-populated—no manual assignment is needed. Make sure you are not unintentionally setting or overriding the variable elsewhere [(1) ]() [(2) ](h
ttps://www.retellai.com/changelog) . 5. To debug, add a prompt or message node that simply outputs the value of {{current_time_America/New_York}} right after extraction. This helps determine where the value is getting set incorrectly [(1) ]() [(3) ]() . If after these checks the issue persists, check your flow for any places where the date is being set or mapped manually, or provide more details about your flow structure for further troubleshooting.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) [[3] Custom Function](https://docs.retellai.com/build/conversation-flow/custom-function) ​
c
@AI Evy How do I write the following condition in the transition node equation?
a
Thanks for the follow-up, @cygentive_31481. I'll get back to you soon.
c
@AI Evy {{capitalAccess}} = 'yes' AND {{capitalAmount}} >= 10000 AND ({{capitalForm}} = 'liquid cash' OR 'cash in bank' OR 'capital in a life insurance policy' OR 'money in a retirement account' OR 'HELOC' OR 'borrow from a credit card')
a
Thanks for the follow-up, @cygentive_31481. I'll get back to you soon.
### Answer To write a condition in the transition node equation in Retell AI, you use the equation editor with dynamic variables and logical operators. Example equation conditions include:
Copy code
- {{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}}
- "New York, Los Angeles" NOT CONTAINS {{user_location}}
- {{user_age}} < 18 OR {{user_location}} == "New York"
- {{name}} exists
Replace the variable names and values as needed for your specific condition. You can check for equality (
==
) , inequality (
!=
) , string containment, and variable existence (
{{variable_name}} exists
) . Equations can also combine conditions using
AND
or
OR
operators [(1) ]() .
​ To learn more, see the sources I considered: [[1] Step 3: Add transition conditions](https://docs.retellai.com/build/conversation-flow/transition-condition) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
### Answer To write this transition condition in Retell AI's equation format, you need to use the supported equation operators and syntax for string and number comparisons. For multiple OR string matches, you use the CONTAINS operator with a comma-separated string list. Your condition: - {{capitalAccess}} = 'yes' - {{capitalAmount}} >= 10000 - {{capitalForm}} matches any of: 'liquid cash', 'cash in bank', 'capital in a life insurance policy', 'money in a retirement account', 'HELOC', 'borrow from a credit card' This can be expressed as:
Copy code
{{capitalAccess}} == "yes" AND {{capitalAmount}} >= 10000 AND "liquid cash,cash in bank,capital in a life insurance policy,money in a retirement account,HELOC,borrow from a credit card" CONTAINS {{capitalForm}}
This checks all your conditions using Retell AI's supported equation syntax for transition conditions [(1) ]() .
​ To learn more, see the sources I considered: [[1] Step 3: Add transition conditions](https://docs.retellai.com/build/conversation-flow/transition-condition) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
c
@AI Evy How do I use == in the Retell conversation flow agent in the dashboard
a
Thanks for the follow-up, @cygentive_31481. I'll get back to you soon.
### Answer To use == in a transition condition in the Retell conversation flow agent dashboard, set up an equation condition using the equation editor. Use the syntax:
Copy code
{{variable_name}} == "value"
For example, to check if the dynamic variable capitalAccess is equal to "yes", use:
Copy code
{{capitalAccess}} == "yes"
This syntax is supported for checking equality in transition conditions within the dashboard equation editor [(1) ]() .
​ To learn more, see the sources I considered: [[1] Step 3: Add transition conditions](https://docs.retellai.com/build/conversation-flow/transition-condition) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.