angel032080
09/10/2025, 4:28 PMAI Evy
09/10/2025, 4:28 PMAI Evy
09/10/2025, 4:28 PMAI Evy
09/10/2025, 4:28 PMAI Evy
09/10/2025, 4:28 PMangel032080
09/10/2025, 4:29 PMAI Evy
09/10/2025, 4:29 PMAI Evy
09/10/2025, 4:29 PMAI Evy
09/10/2025, 4:30 PMAI Evy
09/10/2025, 4:30 PMangel032080
09/10/2025, 4:36 PMAI Evy
09/10/2025, 4:37 PMAI Evy
09/10/2025, 4:37 PMretell_llm_dynamic_variables are strings [(2) ]() . Numbers, booleans, or other data types are not supported .
For the relative time conversion issue, this is a known challenge with agents handling dates [(3) ]() . The community has noted that agents are generally bad with dates, especially when users say things like "next weekend in the morning" . One user mentioned that the built-in cal.com integration is more for demo purposes and doesn't work well in production when conversations involve "relative dates" like "tomorrow, next week, this friday, etc." .
A working approach involves being very specific in your prompts about date handling [(4) ]() . For example, explicitly instructing the agent to convert today's date using {{current_time}} to the appropriate timezone before making requests to ensure the requested time is not in the past .
Check out these potentially useful sources: [Dynamic Variables]() , [Integrate any system with custom function]()
Would you like me to provide a general answer based on my knowledge about handling these specific issues?AI Evy
09/10/2025, 4:37 PMjson
{
"call_inbound": {
"dynamic_variables": {
"caller_name": " "
}
}
}AI Evy
09/10/2025, 4:37 PMAI Evy
09/10/2025, 4:37 PMangel032080
09/10/2025, 4:38 PMAI Evy
09/10/2025, 4:39 PMangel032080
09/10/2025, 4:40 PMAI Evy
09/10/2025, 4:40 PM{{variable_name}} without any extra spaces . A common problem is accidentally adding spaces like {{ provider_info }} instead of {{provider_info}} .
In conversation flow, dynamic variables work in several places [(2) ]() :
- Prompts and agent instructions
- Begin messages
- Tool configurations including custom function URLs and descriptions
For the Extract Dynamic Variable Node specifically, you can create variables of different types [(3) ]() :
- Text - Any word or sentence
- Number - A numeric value
- Enum - A value from a predefined list
- Boolean - True or false
When working with complex data structures in dynamic variables, ensure you're accessing nested properties correctly [(4) ]() . For example, use data.locations[0].id rather than just locations[0].id .
If you're still getting JSON parsing errors, verify that:
1. Your variable syntax has no extra spaces [(1) ]()
2. You're accessing nested object properties with the correct path [(4) ]()
3. All dynamic variable values are strings when passed via API [(2) ]()AI Evy
09/10/2025, 4:40 PMAI Evy
09/10/2025, 4:40 PMangel032080
09/10/2025, 4:42 PMangel032080
09/10/2025, 4:43 PMAI Evy
09/10/2025, 4:43 PMAI Evy
09/10/2025, 4:43 PMAI Evy
09/10/2025, 4:43 PMretell_llm_dynamic_variables must be strings [(1) ]() . Numbers, booleans, or other data types are not supported .
Even though you're extracting preferred_date and preferred_time as numbers, the Extract Variable node in conversation flow might be expecting string outputs. From the Discord discussions, there have been issues with variable extraction where sample agents had incorrect configurations [(2) ]() . One user experienced similar problems and was advised to create a new agent from scratch rather than using imported sample agents, which resolved the extraction issues .
For conversation flow Extract Variable nodes, you can extract different types including Text, Number, Enum, and Boolean. However, when these variables are used elsewhere in the system, they need to be handled as strings [(1) ]() .
Try these troubleshooting steps:
1. Ensure your variable names use exact syntax {{preferred_date}} and {{preferred_time}} without extra spaces
2. Check if your agent was imported from a sample - if so, try creating a fresh agent [(2) ]()
3. Verify that the extracted values can be properly converted to strings when passed to other parts of the system
If the issue persists with a properly configured agent, it might be related to how the conversation flow handles the extracted numeric data internally.AI Evy
09/10/2025, 4:44 PMangel032080
09/11/2025, 2:19 PMAI Evy
09/11/2025, 2:19 PMAI Evy
09/11/2025, 2:19 PMstart_node_id configuration
The conversation flow should have nodes defined like this [(2) ]() :AI Evy
09/11/2025, 2:19 PMjavascript
"nodes": [
{
"id": "start",
"type": "conversation",
"instruction": {
"type": "prompt",
"text": "Greet the customer and ask how you can help them."
},
"edges": [
{
"id": "edge_1",
"transition_condition": {
"type": "prompt",
"prompt": "Customer wants to book appointment"
},
"destination_node_id": "book_appointment"
}
]
}
]
If the agent keeps defaulting to knowledge base responses instead of following your conversation flow, it suggests the flow logic isn't properly guiding the conversation through the defined nodes and edges [(1) ]() .AI Evy
09/11/2025, 2:19 PMAI Evy
09/11/2025, 2:19 PMangel032080
09/11/2025, 2:36 PMAI Evy
09/11/2025, 2:36 PMangel032080
09/11/2025, 2:36 PMAI Evy
09/11/2025, 2:36 PM1=1 instead of "skip response" for extract variable nodes . This ensures the transition condition is always met since 1=1 is always true .
Model Configuration:
Your conversation flow should be configured with proper model choice [(3) ]() :
javascript
"model_choice": {
"type": "cascading",
"model": "gpt-4.1",
"high_priority": true
}
Conversation Flow Structure:
Ensure your nodes are properly structured with clear instructions and edges :AI Evy
09/11/2025, 2:36 PMjavascript
"nodes": [
{
"id": "start",
"type": "conversation",
"instruction": {
"type": "prompt",
"text": "Greet the customer and ask how you can help them."
},
"edges": [
{
"id": "edge_1",
"transition_condition": {
"type": "prompt",
"prompt": "Customer wants to book appointment"
},
"destination_node_id": "book_appointment"
}
]
}
]
Since these appear to be platform-wide issues that were being investigated by the Retell team [(1) ]() [(2) ]() , you may want to contact support directly for the most current status and solutions.AI Evy
09/11/2025, 2:37 PMAI Evy
09/11/2025, 2:37 PMangel032080
09/11/2025, 2:43 PMangel032080
09/11/2025, 2:43 PMAI Evy
09/11/2025, 2:43 PMAI Evy
09/11/2025, 2:43 PMAI Evy
09/11/2025, 2:43 PMAI Evy
09/11/2025, 2:43 PM