Skip to main content
The Agent Tab controls your agent’s welcome message, prompts, and conversation behavior. Add multiple languages, set a primary, and write a dedicated prompt for each.
Agent Tab showing welcome message, language tabs with English as primary alongside Dutch and Hindi, prompt editor with token count, language switching instructions, advanced settings, and prompt variables for testing

Agent Welcome Message

The first thing callers hear when they connect.
Agent Welcome Message input with sample greeting and hint showing variable_name syntax in curly braces

Keep It Short

Brief greetings work best. Long announcements feel robotic.

Use Variables

Personalize with {variable_name}, e.g. {customer_name}.

Canvas

Each language gets its own prompt. Select a language tab and write the prompt for that language. The agent activates the matching prompt when speaking in that language during a call.
Canvas with English marked as Primary, Hindi and Dutch language tabs, prompt editor showing Personality and Identity sections, token counter at 14111, and hint text for variable and module syntax

Managing Languages

Languages are synced between the Agent Tab and Audio Tab. Adding or removing a language in either tab updates both. Each language can also have its own STT and TTS providers configured in the Audio Tab.
1

Add a Language

Click + Add Language to create a new language tab.
2

Set the Primary

Click the crown icon next to any language to make it primary. The primary language is what the agent starts every conversation in, marked with (Primary) in the tab.
3

Write Per-Language Prompts

Select each language tab and write its prompt.
4

Remove a Language

Click the x on a tab to remove it from both tabs.
Tooltip showing Make Hindi primary when clicking the crown icon next to Hindi

Prompt Structure

The editor shows a token count in the bottom-right to help you stay within LLM limits.

Variable Syntax

SyntaxPurposeHow to use
{variable_name}Insert or define variablesType { to open the variable picker. Select an existing variable or type a new name to create one.
@Insert prompt modules, custom functions, or variablesType @ to browse and select existing modules, functions, or variables. You cannot create new items with @.

Variables with { }

Select existing variables or create new ones by typing a name. Values are passed via API or CSV at call time.

Modules and Functions with @

Select existing prompt modules, custom functions, or variables. Cannot create new items.

Browse Modules

Click the Browse Modules button in the top-right of the prompt section to open the full modules library. Browse by category (Collection, Optional, Flow, Sector, Universal), preview what each module does, and insert it directly into your prompt. See the Prompting Guide for the full list of available modules.

Language Switching Instructions

A single shared field that applies to all languages. Describes when the agent should switch languages mid-call.
What to includeExample
Trigger conditions”Switch to Hindi if the user speaks in Hindi”
Fallback behavior”Fall back to English if the language is unsupported”
Default rule”Respond in the language the user is currently using”
Write these once. They apply across all languages automatically.

Per-Language Advanced Settings

Each language tab has its own expandable Advanced Settings section.
Language Switching Instructions field, Advanced Settings for English expanded with Agent Name placeholder AI Assistant and Handoff Message reading Let me connect you with agent_name who speaks language
FieldDescription
Agent NameName the agent uses to identify itself in this language
Handoff MessageMessage spoken when switching away from this language. Supports variables like {agent_name} and {language}.

Prompt Variables for Testing

When you use {variable_name} in your prompt, those variables automatically appear as input fields in the testing section. Fill in test values to preview how the prompt behaves before going live.
Prompt variables for testing section showing Asia Kolkata UTC plus 05 30 timezone selector and auto-detected variable fields for referrer_name, referee_name, city, and user_number
The Timezone selector (e.g., Asia/Kolkata UTC+05:30) is a separate field that sets the timezone context for test calls.

Per-Language Scope

Settings are independent. Hindi’s Agent Name and Handoff Message do not affect English.

Natural Handoffs

Always set a Handoff Message per language. Without it, transitions feel abrupt.

Hangup Using Prompt

Let your agent decide when to end calls based on conversation context instead of silence detection or timeouts.
Hangup using a prompt toggle enabled with conversation completion conditions and closing lines in English and Hindi
1

Enable the Toggle

Turn on Hangup using a prompt.
2

Define Completion Conditions

Write conditions for when a conversation is complete. For multilingual agents, include closing lines in each language.
A conversation is considered complete if any of the following conditions are met:
User is not interested:
The assistant has said the following closing line:
  Conversation Closing (English): "That is sad to hear. But no worries if you would ever want to learn more give me a cool."
  Conversation Closing (Hindi): "ये सुनकर अफ़सोस हुआ। लेकिन कोई बात नहीं, अगर आप कभी और जानना चाहें तो मुझे call कर लें।"
The user has responded after that with any of the following phrases: "goodbye", "bye", "thank you", "thanks", "ok", "okay", or similar.
The last message in the transcript must be from the user.
Without this, calls end only on silence detection or timeouts.

Next Steps

LLM Tab

Configure the language model and knowledge bases

Audio Tab

Set up voice, transcription, and languages

Prompting Guide

Best practices for writing prompts

Using Variables

Dynamic personalization with context