https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@1145576664366055464> , does retell replace the d...
# ❓・ai-evy-support
v
@AI Evy , does retell replace the dynamic variables after the web hook call? Are there any best practices about size of text in dynamic variables?
a
Thanks for tagging me @vikranth_46500. I'll look through relevant sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Dynamic Variables]() * [Deprecating on 4/30/2025]() * [Retell AI | Transforming After Hours Call Answering Services with AI Phone Agents]() * [Dynamic variables sometimes not replaced]() -----------------------------
### Answer For your first question: Yes, Retell replaces dynamic variables after the webhook call. When using inbound webhooks, you can return dynamic variables in your response in this format [(1)]() :
Copy code
json
{
  "user_name": "John Doe",
  "user_email": "john@example.com"
}
However, if a dynamic variable is not assigned a value, it will remain unchanged in the output. For example [(2)]() : - Original prompt:
"Hello {{user_name}}, how can I help you today?"
- Output when
user_name
is not set:
"Hello {{user_name}}, how can I help you today?"
Regarding text size in dynamic variables: The documentation doesn't specify any size limits for dynamic variable text. However, these variables are designed to inject personalized information like names, product details, and account statuses into conversations [(3)]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.