https://retellai.com/?utm_source=discord&utm_medium=seo logo
inbound webhook is providing information
# ❓・ai-evy-support
d
@AI Evy inbound webhook is providing information. the information has dynammic varaible mentioned inside the voice agent prompt within {{_}}. But still the voice agent is saying it does not know the information. what is the problem? how can i fix this?
a
Thanks for tagging me @dzei2234. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, here are the most common issues and fixes for inbound webhook dynamic variables not working: ## Check Webhook Location The inbound webhook must be configured at the phone number level, not just the agent level [(1) ]() . Navigate to Phone Numbers in your dashboard and ensure the
inbound_webhook_url
is set there [(2) ]() [(1) ]() . ## Verify Response Format Your webhook response must follow this exact structure [(2) ]() :
Copy code
json
{
  "call_inbound": {
    "dynamic_variables": {
      "customer_name": "John Doe"
    }
  }
}
The response must be wrapped in the
call_inbound
object with
dynamic_variables
nested inside [(2) ]() [(1) ]() . ## Check Webhook Timing The webhook fires when the call is received but before the call connects [(2) ]() . You have 10 seconds to respond with a successful status (2xx) . If your response takes too long or fails, the dynamic variables won't be set . ## Verify Webhook Event You should see a
call_inbound
event in your webhook logs, not just
call_started
[(1) ]() . If you only see
call_started
, it means the inbound webhook wasn't triggered properly . ## Response Requirements - Return a 200 status code - Ensure the response is valid JSON - All variable names and values should be strings If the webhook is configured at the phone level and returns the correct format within 10 seconds, the dynamic variables should populate in your agent's prompt where you've used
{{variable_name}}
syntax [(2) ]() . **
​ To learn more, see the sources I considered: [[1] Inbound dynamic variables not working](https://discord.com/channels/1186424376300679209/1383762143253499987) [[2] Inbound call webhook](https://docs.retellai.com/features/inbound-call-webhook) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.