Use analysis results
Read analysis in the dashboard for individual reviews, or consume analyzed webhooks to feed your own workflows. Check for missing data before acting on a result, particularly when a conversation never connected or had no usable content.
Review results in the dashboard
Open Call History, select an interaction, and review its analysis and summary. Expand the custom fields recorded for that session. Compare an unexpected assessment with the transcript and relevant tool responses.
A model's success assessment and your receiving application's processing status are separate facts. Verify that an external action really completed before using analysis alone to trigger a consequential follow-up.
Consume an analyzed webhook
Enable call_analyzed in the voice agent's webhook settings. Use chat_analyzed
for chat agents. Save the receiving URL, authentication, and event selections as
described in Set up an agent webhook.
A shortened voice payload looks like this:
{
"event": "call_analyzed",
"call": {
"call_id": "call_example",
"agent_id": "agent_example",
"call_analysis": {
"call_summary": "The customer asked for replacement instructions.",
"call_successful": true,
"user_sentiment": "Positive",
"in_voicemail": false,
"custom_analysis_data": {
"follow_up_requested": true,
"request_category": "Technical support"
}
}
}
}
Check the event and read values defensively:
function readFollowUp(payload) {
if (payload.event !== 'call_analyzed') return null;
const call = payload.call;
const fields = call?.call_analysis?.custom_analysis_data;
if (!call?.call_id || fields?.follow_up_requested !== true) return null;
return { callId: call.call_id, category: fields.request_category ?? null };
}
Authenticate the request, durably accept it, and return a success response before running slower processing. Make downstream actions idempotent using the event and session identifier. See Webhook authentication.
For chat, use the chat envelope and its chat_analysis object. Do not apply
voice-specific field names blindly to chat results.
Read through the public API
Get call returns a platform-formatted stored call under call,
including available summary and sentiment fields. Its response is not the raw
webhook call object: do not expect call.call_analysis.custom_analysis_data there.
Use the analyzed webhook when your workflow needs the full voice extraction object.
Get chat documents the public chat response, including its
chatAnalysis field. Follow each endpoint's documented casing and response wrapper
rather than reusing a webhook parser for every API response.
Diagnose missing or unexpected values
Confirm that the correct agent/version handled the session and that the field was
configured before it ran. Wait for the analyzed event, then inspect conversation
content. Treat false, 0, an empty string, and a missing field as different cases.
After changing extraction rules, use Rerun call analysis
when appropriate rather than assuming historical results update automatically.