> ## Documentation Index
> Fetch the complete documentation index at: https://docs.retellai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Post Call Extraction overview and categories

> Retell Post Call Extraction automatically scores and structures customer calls after they end — built-in categories plus custom analysis for your workflow.

Post Call Extraction runs after a call ends. It reads the transcript with an LLM and writes structured results onto the call's `call_analysis` object, so you can filter, report on, or sync insights to your CRM without manually reviewing each conversation.

<Frame caption="Open Post call extraction to manage fields and add a custom field.">
  <img src="https://mintcdn.com/retellai/Mg1hiS-BnevMo90k/images/agent-settings-extraction.png?fit=max&auto=format&n=Mg1hiS-BnevMo90k&q=85&s=3a437547a36bb206c544b6977416aeb3" alt="Post call extraction expanded with Call Summary, Call Successful, User Sentiment, a preferred_language field, and an Add button." style={{ maxHeight: 560 }} width="570" height="336" data-path="images/agent-settings-extraction.png" />
</Frame>

## How it works

1. The call ends and Retell fires the `call_ended` webhook.
2. Retell analyzes the transcript against your agent's Post Call Extraction configuration.
3. Retell fires the `call_analyzed` webhook. The `call_analysis` object is now populated on the call.

Because analysis runs after `call_ended`, the `call_ended` payload does not include `call_analysis`. Read results from the `call_analyzed` webhook or the [Get Call API](/api-references/get-call). See [Consume the analysis data](/features/post-call-analysis-consumption).

<Note>Retell does not populate custom Post Call Extraction fields for calls that were not connected or where no conversation took place. Check whether the field exists before using it.</Note>

## Built-in fields

Every call includes these built-in analysis fields. You can customize the prompts behind `call_summary` and `call_successful` and [rerun analysis](/features/rerun-call-analysis) on past calls.

* `call_summary` — high-level summary of the conversation.
* `user_sentiment` — the caller's overall sentiment. Post Call Extraction infers this from the transcript with an LLM, so it does not use tone or pitch. The [AI QA User Sentiment metric](/ai-qa/terminologies#sentiment-analysis) is a separate evaluation that also considers audio signals.
* `call_successful` — whether the call met the success criteria you define.
* `in_voicemail` — whether the agent reached a voicemail instead of a live person.

## Custom analysis categories

In the agent editor, expand **Post call extraction** and select **Add**. For a conversation flow, select **Global settings** first. Chat agents use **Post chat extraction**. Each field has a name, a description that tells the LLM what to extract, and one of four types:

| Type | Returns | Use for |
| - | - | - |
| **Boolean** | `true` / `false` | Yes/no determinations, like whether the customer is a first-time caller. |
| **Text** | String | Free-form output, like a custom summary or extracted action items. |
| **Number** | Numeric value | Quantitative values, like a transaction amount or satisfaction score. |
| **Selector** | One value from a fixed list | Categorization, like issue type or resolution status. |

To set up your first custom field, see [Define the information you want to extract](/features/post-call-analysis-create).

## Next steps

* [Define the information you want to extract](/features/post-call-analysis-create) — create custom fields on your agent.
* [Consume the analysis data](/features/post-call-analysis-consumption) — read results from the dashboard, `call_analyzed` webhook, or Get Call API.
* [Rerun Post Call Extraction](/features/rerun-call-analysis) — regenerate results after editing your prompts.

To follow or step into calls while they're still in progress, see [Live monitoring](/features/live-monitoring).

To score call quality across a sampled set of calls (hallucinations, resolution rate, latency, and more), see [AI Quality Assurance](/ai-qa/overview). You can also use Post Call Extraction fields as filters when [defining a QA cohort](/ai-qa/create-cohort).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.