Aaron
02/11/2026, 2:13 AMAI Evy
02/11/2026, 2:13 AMAI Evy
02/11/2026, 2:13 AMAI Evy
02/11/2026, 2:13 AMAI Evy
02/11/2026, 2:13 AM{{user_number}} which represents the user's phone number (from_number for inbound calls, to_number for outbound calls) .
To save it under a custom variable name like phone, you can:
1. Use the Inbound Call Webhook - This webhook receives the from_number in its payload, and you can return it as a custom dynamic variable with your preferred name.
2. In your webhook response, return it in the retell_llm_dynamic_variables field:
json
{
"phone": "+12137771234"
}
[(2) ]()
A community member confirmed this approach works: creating an inbound webhook that reads the from_number and returns it as a dynamic variable. [(3) ]()
Alternatively, you could reference {{user_number}} directly in your prompts and tool configurations, as it's a default system variable available for phone calls. [(1) ]()Aaron
02/11/2026, 2:26 AM