garcjaa
10/06/2025, 8:25 PMAI Evy
10/06/2025, 8:25 PMAI Evy
10/06/2025, 8:25 PMjson
{
"event_type": "call_analysis",
"call_analysis": {
// Analysis results object
}
}
[(2) ]()
For post-call analysis, you can extract custom data using these analysis categories [(3) ]() :
- Boolean (True/False) - Simple yes/no determinations
- Text (String) - Detailed textual information
- Number (Numerical value) - Quantitative measurements
- Selector (Enum) - Categorization from a fixed list
The webhook events include call_started, call_ended, and call_analyzed [(1) ]() . The call_analyzed event contains the full call data including the call_analysis object .
To achieve your desired format, you'll need to:
1. Configure post-call analysis fields in your agent to extract the order details, customer name, and other custom data [(4) ]()
2. Process the incoming webhook payload at your endpoint to transform it into your required structure
3. The webhook will POST to your specified URL with a 10-second timeout and up to 3 retries [(1) ]()
Your webhook endpoint at ` will receive the standard Retell AI format and need to handle the transformation to your custom structure.AI Evy
10/06/2025, 8:25 PMAI Evy
10/06/2025, 8:25 PMgarcjaa
10/06/2025, 9:29 PMgarcjaa
10/06/2025, 9:30 PMAI Evy
10/06/2025, 9:30 PMAI Evy
10/06/2025, 9:30 PMcall_started - Triggered when a new call begins
- call_ended - Triggered when a call completes, transfers, or encounters an error
- call_analyzed - Triggered when call analysis is complete
The webhook will POST the payload to your endpoint at ` . The webhook has a timeout of 10 seconds and will be retried up to 3 times if no success status (2xx) is received .
Once you start a test call in the dashboard, you should see the webhook events appear in your Lovable dashboard where you can verify the payload structure and ensure your endpoint is receiving the data correctly.AI Evy
10/06/2025, 9:30 PMAI Evy
10/06/2025, 9:30 PM