Overview
Variables allow you to personalize conversations by dynamically inserting customer data, context, and real-time information into your agent’s responses.Add Variables to Conversations
What are Variables?
Variables are placeholders that get replaced with actual values during conversations. They enable personalization and dynamic content insertion.Variable Syntax
Variables use double curly braces:{{variable_name}}
Example:
Types of Variables
Customer Data Variables{{customer_name}}- Customer’s name{{customer_email}}- Email address{{customer_phone}}- Phone number{{customer_company}}- Company name
{{current_time}}- Current time{{current_date}}- Current date{{day_of_week}}- Day of the week{{timezone}}- Time zone
{{call_duration}}- Length of current call{{call_id}}- Unique call identifier{{agent_name}}- Name of the agent
- Define your own variables
- Pull from CRM or database
- Use in any conversation flow
Dynamic Variable Insertion
Where to Use Variables
GreetingsVariable Processing
Real-Time Resolution- Variables are resolved in real-time during the call
- Values are pulled from connected data sources
- Fallback values used if data unavailable
- CRM integrations (Salesforce, HubSpot, etc.)
- Customer database
- Call context and history
- External APIs
Using Customer Data in Conversations
CRM Integration
Automatic Data Pull- Customer data automatically pulled from CRM
- Available immediately when call starts
- Updates in real-time during conversation
- Caller’s phone number identified
- System looks up customer in CRM
- Customer data loaded into variables
- Agent uses data in conversation
Data Mapping
Field Mapping- Map CRM fields to Tabbly variables
- Custom field names supported
- Transform data format if needed
Dynamic Personalization
Personalized GreetingsAdvanced Variable Usage
Conditional Variables
If-Then LogicCalculated Variables
Date CalculationsNested Variables
Complex StructuresVariable Best Practices
Always Have Fallbacks
Always Have Fallbacks
Provide fallback values for variables that might be missing. Example:
{{customer_name|"there"}}Test Variables
Test Variables
Test all variables with sample data to ensure they work correctly. Verify formatting and accuracy.
Keep It Natural
Keep It Natural
Use variables naturally in conversation. Don’t over-personalize or make it feel forced.
Privacy Considerations
Privacy Considerations
Be mindful of privacy. Only use customer data that’s appropriate and consented to.
Performance
Performance
Ensure variable resolution is fast. Slow data lookups can cause delays in conversation.
Common Variable Examples
Appointment Scheduling
Order Status
Support Tickets
Billing
Troubleshooting
Variables Not Resolving- Check variable name spelling
- Verify data source connection
- Test with sample data
- Review error logs
- Ensure CRM integration is active
- Check data mapping configuration
- Verify customer record exists
- Set up fallback values
- Check date/time format settings
- Verify number formatting
- Test with different data types
- Review variable syntax
Next Steps
- Learn about data management: Data Management
- Configure agent settings: Agent Configuration