https://retellai.com/?utm_source=discord&utm_medium=seo logo
is there a JSON schema available for conversationa...
# ❓・ai-evy-support
t
@AI Evy is there a JSON schema available for conversational flow agents, which I can use to validate agent JSON files before importing them?
a
Thanks for tagging me @thilo_34107. I'll look through relevant sources and get back to you shortly.
### Answer I don't have information about a specific JSON schema for validating conversation flow agent files before importing them [(1) ]() . The official documentation shows the structure for creating conversation flows through the API [(2) ]() , but doesn't include a dedicated validation schema for imports. From community discussions, users have noted that there's no documented format for the import files [(3) ]() , and the recommended approach is to export an existing agent to see the expected JSON format . The import dialog indicates "Only Retell Agent format files are supported" but without detailed schema documentation . Common import issues mentioned include ensuring that in custom functions,
headers
,
query_params
, and
response
variables should be objects
{}
rather than empty arrays
[]
[(1) ]() . For the most current schema requirements, I'd recommend: 1. Visit [Contact Sales]() 2. Visit [) Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Discord message from @renovia_70920 on 2025-08-14](https://discord.com/channels/1186424376300679209/1186462578310910112/1405650264744136766) [[2] Create Conversation Flow](https://docs.retellai.com/api-references/create-conversation-flow) [[3] Conversation/agent JSON file format](https://discord.com/channels/1186424376300679209/1399111940982177962) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
n
@AI Evy i want to store a user speak value to a daynamic variable and pass then that value to a url params to check avalibity into that how we can do that right now i receive a serval issue into that i can not pass user values into urls parameters plese any one help me,
a
Thanks for the follow-up, @noble_badger_16849. I'll get back to you soon.
### Answer You can't directly set dynamic variables from conversation values in real-time [(1) ]() . However, you can achieve this workflow using custom functions: ## Solution: Use Custom Functions to Extract and Pass Values 1. Create a Custom Function that extracts the user's spoken value and saves it as a dynamic variable [(2) ]() . You can define query parameters in custom functions that include dynamic variables . 2. Set Query Parameters in your custom function configuration . Query parameter values can be static or include dynamic variables . 3. Extract Response Values and save them as dynamic variables for later use . You can extract values from the custom function response and save them as dynamic variables for use later in the conversation . Here's the process flow: - User speaks a value (e.g., their name) - Custom function captures this through parameters - Function makes API call with the value as a query parameter - Response data gets saved as dynamic variables - These variables can then be used elsewhere in the conversation ## Key Points from Community Experience As noted in the community discussions, you cannot set up dynamic variables in the call directly [(1) ]() . You have to use custom function and extract it using JSON parameters . The variable needs to have a value when the request is sent, otherwise it will appear as the literal text like
{{customer_searched_name}}
instead of the actual value . ## Where Dynamic Variables Work Dynamic variables can be used in [(3) ]() : - Tool call URL - Tool call description - Custom tool call properties description - Query parameters in cu
​ To learn more, see the sources I considered: [[1] How to pass query URL parameters from conversation to GET request](https://discord.com/channels/1186424376300679209/1384523020110008420) [[2] Custom Function](https://docs.retellai.com/build/conversation-flow/custom-function) [[3] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) ​
stom functions [(2) ]() For detailed implementation, check the custom function documentation for setting up the parameter extraction and response variable configuration.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.