ayushsharma5280
10/28/2025, 7:36 AMAI Evy
10/28/2025, 7:36 AMAI Evy
10/28/2025, 7:37 AMWhen user states his name and phone number, please extract the information by calling the `extract_user_details` function.
For your use case, modify it to trigger extraction at the appropriate time during the call.
## Accessing Extracted Variables
After the call ends, extracted variables are available in the collected_dynamic_variables object [(2) ]() [(3) ]() [(4) ]() . For example:
"collected_dynamic_variables": {
"last_node_name": "Test node"
}
[(3) ]()
If your variable is coming back empty, the most likely issue is that the agent isn't being explicitly told when to call the extraction function in your prompt [(1) ]() .
**AI Evy
10/28/2025, 7:37 AMAI Evy
10/28/2025, 7:37 AM