https://retellai.com/?utm_source=discord&utm_medium=seo logo
Why retell is not injecting vaariables during the ...
# ❓・ai-evy-support
m
@AI Evy Why retell is not injecting vaariables during the call that are given to it like company name its clearly given but still it just reads out company_name instead of saying the actualy name it self.
a
Thanks for tagging me @moinuddin_70496. I'll look through relevant sources and get back to you shortly.
### Answer If Retell AI reads out the variable name (like company_name) instead of the actual value (e.g., the company’s name) , it usually means the dynamic variable was not set or not passed correctly in the API call. When a dynamic variable such as {{company_name}} is missing, the agent will say "company_name" instead of the real value. You must ensure the variable is set as a string in the retell_llm_dynamic_variables field of your API call payload. If it’s not set, the prompt will show the curly braces or the variable name as-is [(1) ]() . Double-check that your API call includes something like:
Copy code
json
{
  "company_name": "YourCompany"
}
in the retell_llm_dynamic_variables field . If you’re already setting it and still having issues, confirm the variable is not misspelled and matches exactly in both the payload and the prompts. Also, all variable values must be strings . If the problem persists, you may want to review your API call log and agent configuration for typos or missing parameters. For more troubleshooting, refer to: [Dynamic Variables]() .
​ To learn more, see the sources I considered: [[1] 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.
m
Retell LLM Dynamic VariablesArray 1Collection Key Company Name Value Sparkle I am using make and in its operation it says this
@AI Evy
a
Thanks for the follow-up, @moinuddin_70496. I'll get back to you soon.
### Answer If Retell AI is reading out "company_name" instead of the actual value (like "Sparkle") , the most common issue is that the variable wasn’t set correctly as a string in the retell_llm_dynamic_variables field of your API call. Even if the key/value looks correct in Make/Integromat, Retell requires that dynamic variables are passed as plain key-value pairs (both as strings) inside retell_llm_dynamic_variables. For example:
Copy code
json
{
  "company_name": "Sparkle"
}
All values must be strings, not numbers or arrays. If your payload is structured as an array or a nested object, the variable may not resolve and the agent will just say the variable name [(1) ]() . Double-check: - The variable key matches exactly (no extra spaces, correct casing) . - The value is a string. - The structure of retell_llm_dynamic_variables is a flat object, not an array or collection. If you’re using Make/Integromat, ensure it outputs the variables in the correct JSON structure, not as a collection or array. You can reference the [Dynamic Variables docs]() for more detail .
​ To learn more, see the sources I considered: [[1] 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.