How It Works
After each call ends, our AI system automatically analyzes the conversation transcript and generates:- Performance Score (0-10): Overall call quality rating
- Written Feedback: Detailed analysis of call performance
- Improvement Suggestions: Specific recommendations for better results
Feedback generation happens in the background and doesn’t affect call completion or webhook delivery times.
What Gets Analyzed
The AI evaluates calls based on several key factors:Communication Quality
- Professionalism and tone
- Clear articulation and pacing
- Active listening skills
- Appropriate language use
Effectiveness
- Goal achievement (sales conversion, issue resolution)
- Problem-solving approach
- Information gathering
- Call structure and flow
Customer Experience
- Empathy and rapport building
- Responsiveness to customer needs
- Handling of objections or concerns
- Overall customer satisfaction indicators
API Endpoints
Get Call Feedback
Retrieve feedback for a specific call:List Call Feedback
Get feedback for multiple calls with filtering options:Query Parameters
Maximum number of results to return (1-100)
Number of results to skip for pagination
Filter feedback with score greater than or equal to this value (0-10)
Filter feedback with score less than or equal to this value (0-10)
Get Feedback Statistics
Retrieve aggregate statistics for your organization:Database Schema
The call feedback is stored in thecall_feedback table with the following structure:
- Table Structure
- Indexes
Feedback Generation
The feedback system works as follows:Error Handling
The feedback system is designed to be non-blocking and fault-tolerant:- No Impact on Calls: Feedback generation never affects call completion or webhook delivery
- Silent Failures: Failed feedback generation is logged but doesn’t create incomplete records
- Graceful Degradation: If feedback fails, the call record remains intact and accessible
- Error Logging: All errors are captured in Sentry for monitoring and debugging
Best Practices
Using Feedback Data
- Regular Review: Check feedback regularly to identify patterns and trends
- Agent Training: Use improvement suggestions for targeted coaching
- Performance Tracking: Monitor average scores over time to measure improvement
- Quality Assurance: Use low-scoring calls for additional review
API Usage
- Pagination: Use limit and offset for large datasets
- Filtering: Apply score filters to focus on specific performance ranges
- Caching: Cache feedback data appropriately as it doesn’t change once created
Troubleshooting
No Feedback Generated
If feedback isn’t appearing for completed calls:- Transcript Availability: Ensure the call has a valid transcript
- Call Duration: Very short calls (< 30 seconds) may not generate feedback
- System Status: Check if there are any ongoing system issues
- Background Processing: Feedback generation can take 10-30 seconds after call completion
Low Quality Feedback
If feedback seems inaccurate or unhelpful:- Transcript Quality: Poor audio quality can affect transcript accuracy
- Call Context: Ensure calls have sufficient context for AI analysis
- Feedback Patterns: Look for patterns across multiple calls rather than focusing on individual instances
Common Issues
Common Issues
- No feedback appearing: Check transcript availability and call duration
- Missing feedback for old calls: System only generates feedback for new calls after implementation
- Delayed feedback: AI analysis happens in background and can take 10-30 seconds
Performance Considerations
Performance Considerations
- Feedback generation typically takes 10-30 seconds per call
- Processing happens in background without affecting call completion
- Statistics queries are optimized but may be slower for large datasets