Quick Start
System defaults work automatically
Variables like
{{firstName}}, {{currentDate}}, and {{phoneNumber}} are always availableUse Cases
- Personalize greetings — “Hi
{{firstName}}, this is Emma from Telli” - Reference customer data — “I see you’re calling about contract
{{contractId}}” - Context-aware routing — Use customer properties to guide the conversation flow
- Time-based behavior — Adjust responses based on
{{currentTime}}or{{currentWeekday}} - Pass order details — Include order numbers, product names, or any custom data from your system
Variable Types
System Defaults (Read-only)
These are standard variables that telli provides automatically for every call. You don’t need to configure them — they’re always available:| Variable | Description |
|---|---|
{{firstName}} | Customer’s first name |
{{lastName}} | Customer’s last name |
{{phoneNumber}} | Customer’s phone number |
{{email}} | Customer’s email address |
{{language}} | Customer’s language |
{{currentDate}} | Today’s date |
{{currentTime}} | Current time |
{{currentWeekday}} | Current day of the week |
{{callDirection}} | Whether the call is inbound or outbound |
Custom Variables
Variables and properties you define yourself when creating contacts in telli. These give you complete flexibility to pass any information to any agent in the account.| Variable | Example Use Case |
|---|---|
{{product}} | Customer’s current product |
{{city}} | Customer’s city |
{{customerId}} | Customer ID |
{{contractId}} | Contract number |
{{currentTotalPrice}} | Current contract value |
{{__contact_empfangsart}} | Custom field from contact details |
Best Practices
Define Variables in a Centralized Section
Define all variables in a centralized section so the agent has full clarity on what values are available.Don’t Build Logic Around Raw Values
If a variable is unknown, empty, or0, the agent has no instruction on how to interpret it and may not know which path to follow.
Instead, clearly define what each variable represents in natural language and explicitly instruct the agent what to do in each scenario.
What to do
Reference Variables Where They’re Used
For longer prompts, define the variable clearly in a centralized section at the top, then reference it again right before it’s actually used. This helps reinforce context and reduces the risk of misapplication.Good to Know
- Variable names are case-sensitive —
{{contractId}}is different from{{ContractId}} - System default variables are available on every call automatically
- Custom variables only populate if the contact has that property defined
- If a variable is undefined, the agent sees an empty value — make sure to handle missing data in your prompt logic
- Variables can be used anywhere in the prompt — in the identity section, conversation script, or rules