https://retellai.com/?utm_source=discord&utm_medium=seo logo
what are all the custom field names
# ❓・ai-evy-support
b
@AI Evy what are all the custom field names? Such as {{first_name}}
a
Thanks for tagging me @byredyre. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, here are the custom field names (dynamic variables) documented for Retell AI: Standard Dynamic Variables: -
{{customer_name}}
[(1) ]() [(2) ]() [(3) ]() [(4) ]() -
{{user_number}}
[(5) ]() Custom Dynamic Variables: You can define your own custom dynamic variables using the
retell_llm_dynamic_variables
object [(1) ]() [(2) ]() [(3) ]() [(4) ]() . For example:
Copy code
json
{
  "customer_name": "John Doe"
}
Collected Dynamic Variables: The
collected_dynamic_variables
object stores variables collected during the call, such as:
Copy code
json
{
  "last_node_name": "Test node"
}
Cal.com Custom Fields: When using Cal.com integrations, you can collect custom information that displays in booking events [(6) ](

▾

) [(7) ]() . The tutorial shows collecting phone numbers and other custom fields [(6) ](

▾

) . The sources don't provide a comprehensive list of all built-in custom field names like
{{first_name}}
. For dynamic variables specific to your use case, you'll need to define them in the
retell_llm_dynamic_variables
object when creating or updating calls [(1) ]() [(2) ]() [(3) ]() [(4) ]() . **
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) [[2] List Calls](https://docs.retellai.com/api-references/list-calls) [[3] Create Web Call](https://docs.retellai.com/api-references/create-web-call) [[4] Update Call](https://docs.retellai.com/api-references/update-call) [[5] Custom Function issue - urgent help require](https://discord.com/channels/1186424376300679209/1422619390347841556) [[6] Retell AI - How to use Cal.com Custom Field](

https://www.youtube.com/watch?v=b59o1YCcvjc▾

) [[7] New Dashboard, Warm Transfer, Cal.com Fields, and Partner Programs!](https://www.retellai.com/changelog/new-dashboard-warm-transfer-cal-com-fields-and-partner-programs) ​
b
@AI Evy Where can I find the exact variables in my account so I know that I am using the correct First Name varialbe in my messaging nodes
a
Thanks for the follow-up, @byredyre. I'll get back to you soon.
### Answer Based on the available sources, dynamic variables in Retell AI are custom variables that you define yourself rather than pre-set field names [(1) ]() . To find and verify your exact variables: 1. Check Your API Call Configuration When you create phone calls, you define variables in the
retell_llm_dynamic_variables
field . All values must be strings :
Copy code
json
{
 "user_name": "John Smith",
 "product_name": "Premium Plan",
 "account_status": "active"
}
2. Review Your Agent Configuration You can set default values for dynamic variables at the agent level in your agent settings . These serve as fallback values when specific variables aren't included in the call request . 3. Test in the Dashboard Before deploying, test your dynamic variables using the web interface . This allows you to verify that variables like
{{user_name}}
or
{{first_name}}
are working correctly. For Your First Name Variable: There is no built-in
{{first_name}}
variable - you need to define it yourself . In your prompts or SMS nodes, you would use syntax like:
Copy code
"Hello {{first_name}}, thanks for calling!"
Then when creating calls via API, include:
Copy code
json
{
 "first_name": "Sarah"
}
[(2) ]() System Variables (Pre-defined) : Retell does provide some default system variables that require no configuration, including
{{current_time}}
,
{{user_number}}
,
{{agent_number}}
, and
{{call_id}}
[(1) ]() . Dynamic variables can be used in prompts, begin messages, tool configurations, SMS content, and webhook URLs [(1) ]() [(3) ]() .
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Here is how that can be fixed](https://retell.discourse.group/t/here-is-how-that-can-be-fixed/23) [[3] SMS Node](https://docs.retellai.com/build/conversation-flow/sms-node) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
b
@AI Evy Is there a build it first and/or last name variable? Are there any built in variables? If so, what are they
a
Thanks for the follow-up, @byredyre. I'll get back to you soon.
### Answer No, there are no built-in
first_name
or
last_name
variables in Retell AI.
[(1) ]() However, Retell AI provides several default system variables that are automatically available without configuration: Time & Calendar Variables: -
{{current_time}}
- Current time in America/Los_Angeles -
{{current_time_[timezone]}}
- Current time in specified timezone (e.g.,
{{current_time_Australia/Sydney}}
) -
{{current_calendar}}
- 14-day calendar in America/Los_Angeles -
{{current_calendar_[timezone]}}
- 14-day calendar in specified timezone Session Variables: -
{{current_agent_state}}
- Current state name (for multi-state agents) -
{{previous_agent_state}}
- Previous state name (for multi-state agents) -
{{session_type}}
- Session type,
voice
or
chat
-
{{session_duration}}
- How long the session has been running Phone Call Variables (phone calls only) : -
{{direction}}
- Call direction,
inbound
or
outbound
-
{{user_number}}
- User's phone number -
{{agent_number}}
- Agent's phone number -
{{call_id}}
- Current call session id -
{{call_type}}
- Call type,
web_call
or
phone_call
Chat Variables (chat sessions only) : -
{{chat_id}}
- The unique identifier for the current chat session For custom fields like
first_name
or
last_name
, you need to define them yourself in the
retell_llm_dynamic_variables
object when creating calls. [(2) ]() [(1) ]() All values must be strings. [(1) ]()
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.