Post-Call Analytics
After each call, the platform automatically generates analytics. You can configure what data to extract.
On an Enterprise organization with Zero Data Retention enabled, postCallAnalytics is not retained after the analytics-completed webhook is delivered. Consume it from the webhook rather than reading it back later.
What Gets Generated
Every completed call includes postCallAnalytics:
Accessing Post-Call Data
Example Output
Configuring Disposition Metrics
Use set_post_call_config() to define what data to extract:
Disposition Metric Types
Metric Configuration Schema
Each disposition metric requires:
Getting Current Configuration
Complete Example: Sales Call Analytics
SDK Reference
Tips
When are metrics populated?
Disposition metrics are extracted after the call ends, typically within 10-30 seconds. The AI analyzes the transcript based on your configured prompts.
What makes a good disposition prompt?
Be specific and direct. Instead of “What happened?”, use:
- “Did the customer agree to schedule a follow-up? Answer yes or no.”
- “What is the customer’s email? Return ‘not provided’ if not mentioned.”
Can I change metrics after calls are made?
Yes. New calls use the updated config. Existing calls keep their original analytics.
What if the AI can't extract a value?
The metric will have an empty or null value. Specify fallback behavior in your prompts, like “Return ‘unknown’ if not mentioned.”