https://retellai.com/?utm_source=discord&utm_medium=seo logo
I NEDD HELP is this the correct prompt {{metadata
# ❓・ai-evy-support
l
@AI Evy I NEDD HELP is this the correct prompt {{metadata.FirstName}} where my agent read the name from my csv file?
a
Thanks for tagging me @lokin_0430. I'll look through relevant sources and get back to you shortly.
### Answer To have your agent read a name from your CSV file using a dynamic variable, the correct syntax for dynamic variables in Retell AI is {{variable_name}}. The specific variable name must exactly match what is set in your call data or API request. For example, if your variable is "FirstName", you should use {{FirstName}} in your prompt. There is no documentation supporting the use of a metadata prefix like {{metadata.FirstName}}—only {{FirstName}} is documented for dynamic variables [(1) ]() .
​ 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.
a
Thanks for the follow-up, @lokin_0430. I'll get back to you soon.
### Answer To check if your dynamic variable is set up correctly, make sure you are using the syntax {{FirstName}} in your prompt, not {{metadata.FirstName}}. The variable name in double curly braces must match exactly what is passed into Retell AI as a dynamic variable [(1) ]() . For example, if your CSV data provides “FirstName”, your prompt should use:
Copy code
Hello {{FirstName}}, how can I help you today?
If the variable is not set or not passed correctly, the agent will say “Hello {{FirstName}}, how can I help you today?” with the curly braces visible . Double-check your integration to confirm that the variable “FirstName” is being sent to Retell AI in the correct place (typically in the dynamic variables section of your API request or integration tool) . If you want me to review your specific prompt or CSV setup, please paste your full prompt and details on how you’re sending the variable.
​ 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.