### 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