Skip to main content
Custom variables let one agent personalize every call. Define a variable once, use it as {{variable_name}} in your system prompt, welcome message, or final response, and pass its value when the agent is dispatched.

Define variables

Select Variables in the builder header to open Custom Variables, then select Add Variable.
Custom Variables panel with Type, Name, and Preview Value fields and an Add Variable button
You can define up to 10 variables per agent.

Use variables

Type {{user_name}} in any supported field, or use Insert Variable above it.

Pass values in production

In production, pass the actual values in metadata.variables when you dispatch the agent to a room. Each entry’s name must match a variable you defined.
  • meetingId is the room the agent joins. agentId is your agent’s ID.
  • The agent must be deployed.
Test calls from the Preview panel use each variable’s Preview Value instead.