https://retellai.com/?utm_source=discord&utm_medium=seo logo
how do I Webhook data back into ReTell from an ext...
# ❓・ai-evy-support
k
@AI Evy how do I Webhook data back into ReTell from an external document using dynamic variables
a
Thanks for tagging me @kflynn_56835. I'll look through relevant sources and get back to you shortly.
### Answer To send data from an external document into Retell AI using dynamic variables via webhook, you need to use the inbound call webhook. When your endpoint receives a webhook request from Retell AI for an inbound call, respond with a JSON payload that includes the dynamic variables you want to set. Here's the required structure:
Copy code
json
{
  "call_inbound": {
    "dynamic_variables": {
      "customer_name": "John Doe"
    }
  }
}
This payload will set the dynamic variable customer_name for that inbound call session. All values must be strings. Make sure your webhook is set up at the phone number configuration level, not at the LLM level, due to recent deprecation changes [(1) ]() , [(2) ]() . For outbound calls, dynamic variables are set when calling the API, not via webhook [(3) ]() .
​ To learn more, see the sources I considered: [[1] Inbound call webhook](https://docs.retellai.com/features/inbound-call-webhook) [[2] Deprecating on 5/30/2025](https://docs.retellai.com/deprecation-notice/5-30) [[3] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
how do I create or find the URL for an inbound call webhook?