sandorrmp
10/05/2025, 1:46 PMAI Evy
10/05/2025, 1:47 PMAI Evy
10/05/2025, 1:47 PM{{variable_name}} syntax and can be used in custom function parameters [(1) ]() . Your user_phone_number should be referenced as {{user_phone_number}} in the function parameters [(2) ]() .
Custom Function Request Structure
When Retell sends requests to your Make.com webhook, it follows this structure :
json
{
"name": "lookup_customer_by_phone",
"call": {...},
"args": {
"user_phone_number": "actual_phone_number_value"
}
}
Potential Solutions
1. **Verify Parameter Definition**: Ensure your parameter schema correctly defines user_phone_number :
json
{
"type": "object",
"properties": {
"user_phone_number": {
"type": "string",
"description": "The customer's phone number for lookup"
}
},
"required": [
"user_phone_number"
]
}AI Evy
10/05/2025, 1:47 PMargs.user_phone_number from the incoming request body [(2) ]() .
Testing Environment Considerations
The documentation doesn't specifically address testing environment caching behavior, but you might want to try:
- Clearing any test session data
- Creating a new test session
- Verifying that the dynamic variable is being updated in the actual request payload
If the issue persists, this could be a platform-specific testing environment behavior that may require direct support assistance.AI Evy
10/05/2025, 1:47 PMAI Evy
10/05/2025, 1:47 PM