Bowman
12/03/2025, 10:57 PMAI Evy
12/03/2025, 10:57 PMAI Evy
12/03/2025, 10:57 PMcustom_analysis_data.call_outcome or
- call_analysis.custom_analysis_data.call_outcome
depending on how GHL parses the webhook data.
### 4. Build Your If/Else Logic in GHL
Your GHL workflow conditions should check:
Branch 1: custom_analysis_data.call_outcome equals appointment_booked
Branch 2: custom_analysis_data.call_outcome equals callback_scheduled
Branch 3: custom_analysis_data.call_outcome equals not_interested
Branch 4: custom_analysis_data.call_outcome equals no_answer
Branch 5: Catch-all for any other values
## Important Notes:
- Custom post-call analysis fields are only populated for calls that were connected and had a conversation.
- The call_analyzed webhook is triggered after call analysis is complete. [(2) ]()
- You can also retrieve this data via the Get Call API if needed. [(1) ]()AI Evy
12/03/2025, 10:57 PMcall_outcome from Retell AI conversations and route them to GoHighLevel (GHL) workflows, you need to use Post-Call Analysis with custom analysis fields and Webhooks. [(1) ]() [(2) ]()
## Setup Steps:
### 1. Configure Custom Analysis Fields in Retell AI
Set up a custom analysis field called call_outcome in your agent's Post-Call Analysis settings. [(1) ]() Define the possible values as:
- appointment_booked
- callback_scheduled
- not_interested
- no_answer
- info_sent
### 2. Configure Webhook to Send Data to GHL
Set up a webhook endpoint in Retell AI to receive the call_analyzed event, which includes the call_analysis object with your custom fields. [(2) ]() [(1) ]()
The webhook payload will look like this: [(2) ]()
json
{
"event": "call_analyzed",
"call": {
"call_id": "...",
"call_analysis": {
"custom_analysis_data": {
"call_outcome": "appointment_booked"
}
}
}
}AI Evy
12/03/2025, 10:58 PMAI Evy
12/03/2025, 10:58 PMBowman
12/03/2025, 11:41 PM