Maria
01/12/2026, 7:16 PMAI Evy
01/12/2026, 7:16 PMAI Evy
01/12/2026, 7:17 PMfrom_number field that contains the caller's phone number in E.164 format.
To inject this into your prompt dynamically, use retell_llm_dynamic_variables when registering or creating the call. [(1) ]() [(3) ]() For example:
json
{
"retell_llm_dynamic_variables": {
"customer_name": "John Doe"
}
}
You can add the caller's phone number as a dynamic variable and reference it in your agent's prompt using the variable syntax (e.g., {{caller_phone}}) .
For inbound calls specifically, you can use the inbound_dynamic_variables_webhook_url to populate dynamic variables that get passed to the Retell LLM, allowing you to access the phone number inside the prompt. [(11) ]()AI Evy
01/12/2026, 7:17 PMAI Evy
01/12/2026, 7:17 PM