I have an inbound webhook configured to return caller data via retell_llm_dynamic_variables, but the agent isn’t receiving the variables.
Setup:
-
Phone number has “Add an inbound webhook” enabled
-
Webhook URL points to my N8N workflow
-
N8N looks up the caller in HubSpot and returns their info
What’s working:
-
Webhook fires correctly on inbound calls
-
Detail Logs show the correct response:
inbound call_inbound webhook response: {
retell_llm_dynamic_variables: {
first_name: 'Pranam',
last_name: 'Lipinski',
email: 'pranam@eocworks.com',
caller_known: 'true',
phone_number: '+16174804650'
}
}
What’s NOT working:
-
Data tab shows “No Extracted Dynamic Variables”
-
Agent doesn’t use the variables — asks for my name instead of greeting me by name
-
Variables are defined in agent settings (first_name, last_name, email, caller_known, phone_number)
Call ID for reference: call_6d54d80e38bc26a9ec757c3542f
Response headers: Content-Type: application/json
Is there an additional configuration needed to enable dynamic variable injection from inbound webhooks? The documentation indicates returning retell_llm_dynamic_variables should populate these for the agent.