https://retellai.com/?utm_source=discord&utm_medium=seo logo
It doesn't return dynamic variables
# ❓・bug-report
c
Hi guys, I have a huge problem. It doesn't return dynamic variables. I used make and n8n, but when I make an incoming call, it doesn't call any variable. Why? 😭 I put the inbound webhook, it finds the phone number, I insert the variable, but when I make the inbound call it doesn't find the variable. Thank you 🙏
e
To resolve Retell AI not returning dynamic variables for inbound calls in Make or n8n, verify the webhook URL in Retell’s dashboard and ensure it receives a POST request with
from_number
. Confirm Make/n8n returns a
2xx
JSON response like
{"retell_llm_dynamic_variables": {"variable_name": "value"}}
, and log the response to check formatting. Ensure phone numbers in your data source match Retell’s E.164 format (
+1XXXXXXXXXX
) and variables are correctly referenced in the agent’s prompt (
{{variable_name}}
). Test a call, check Retell logs for errors, and ensure the webhook responds within 10 seconds. If stuck, contact me.
c
Hi Emmanuel, I did everything you wrote. But it still doesn't work.
e
Really? could you share: A sample of the webhook payload Retell sends to Make/n8n (from logs). The exact JSON response your webhook returns (from Make/n8n logs). The Retell AI agent’s prompt where you expect the variables (e.g., Hello {{customer_name}}). Any error messages in the Retell dashboard or Make/n8n logs. Whether the webhook is triggered during a test call (check execution logs).
@chris160591
s
Hi, @chris160591 thank you for reaching out. please ensure the webhook response includes a properly structured JSON payload with the dynamic_variables field under call_inbound. The variable names must exactly match those used in your agent's prompts, and the response should be sent within 10 seconds to avoid timeouts. Testing with static values can help isolate issues, and reviewing logs in Make.com or n8n can assist in troubleshooting.

https://youtu.be/p7WavoW_6to▾

c
Hi guys, thanks a lot for the help. At this point I think there is a problem with retell. I followed step by step all the videos I found on you, including the one you sent me Shah. but nothing, it doesn't work.
f
Try and use the dynamic variable in the prompt, I think they don't show up unless you use them.
e.g Hi {{customer_name}}