Variables are the backbone of how Phonely agents capture, store, and reuse information during live calls and for post-call reporting and follow-ups.
Key Features
- Pre-Built Variables - Automatically available on every call with essential call data
- Custom Variables - User-defined values that can be reused across workflows
- Auto-Gather Variables - Capture caller input at the moment it’s needed
- Post-Call Variables - Comprehensive data available after call completion
- AI-Generated Metadata - Automatic extraction of insights and sentiment analysis
Pre-Built Variables
Automatically available on every call: These are passed from the telephony system automatically and require no configuration.Custom Variables
Custom variables are user-defined values that can be reused across workflows for consistent configuration. Key Benefits:- Consistent Configuration - Set values once and use across multiple workflows
- Flexible Data Types - Support for text, numbers, emails, phone numbers, and more
- API Integration - Store API keys and configuration data for seamless integrations
Auto-Gather Variables
Auto-gather captures caller input at the moment it’s needed instead of requiring a separate block.- Example
In an API request block, define caller_name as an auto-gather variable. At runtime, Phonely will prompt the caller for their name before sending the request.
Post-Call Variables
After a call ends, all live variables remain available. Additional post-call variables are automatically generated: Caller & Agent Data - Essential identification and workflow information Transcript & Recording - Conversation data and media access AI-Generated Metadata - Intelligent analysis and insights Extracted Entities - Automatically captured structured data Phonely automatically extracts structured data from conversations: Follow-Up & Action Items - Post-call automation and task management Call Metadata - Timing and identification data Outcome Tracking - Success metrics and call analysis A/B Testing Variables - Testing framework dataHow to Use
1
Access Variables
Navigate to your workflow editor and access the Variables section to configure custom variables.
2
Create Custom Variables
Define your custom variables with appropriate data types and mark required fields as needed.
3
Configure Auto-Gather
Set up auto-gather variables in your blocks to capture caller input dynamically.
4
Use in Workflows
Reference variables in your workflow blocks using the variable syntax.
5
Access Post-Call Data
Use post-call variables in integrations and follow-up workflows for comprehensive call analysis.
Example Use Cases
- Lead Qualification
- Appointment Scheduling
- Customer Support
Use custom variables to store lead scores and qualification criteria, then reference them in follow-up workflows.
Best Practices
- Use descriptive variable names - Choose clear, meaningful names for your custom variables
- Leverage auto-gather for dynamic input - Capture caller information exactly when needed
- Utilize post-call variables for analytics - Take advantage of AI-generated insights for reporting
- Test variable configurations - Ensure variables work correctly before deploying workflows
- Document variable purposes - Keep track of what each variable is used for in your workflows
Why Variables Matter
Variables enable you to:- Personalize conversations dynamically - Use caller data to create tailored experiences
- Power integrations - Pass caller details into CRMs and other systems via API
- Automate follow-ups - Use post-call data to trigger automated follow-up actions
- Track outcomes and performance - Analyze sentiment, success rates, and call metrics for continuous improvement
Ensure all variables are correctly configured to maximize call handling efficiency and data accuracy.