https://retellai.com/?utm_source=discord&utm_medium=seo logo
I have several fields specified in my post chat an...
# ❓・ai-evy-support
m
@AI Evy I have several fields specified in my post chat analysis, but they don't show up in the webhook data
a
Thanks for tagging me @matzoball9375. I'll look through relevant sources and get back to you shortly.
### Answer The issue is that you need to subscribe to the correct webhook event type to receive post-call analysis data [(1) ]() . The
call_ended
webhook event does not include the
call_analysis
data . To receive your post-call analysis fields, you must subscribe to the
call_analyzed
webhook event . This event is triggered when call analysis is complete and includes the full call data including the
call_analysis
object . The webhook payload for
call_analyzed
will contain your custom analysis data in the
call_analysis
object [(2) ]() . You can access the analysis results through three methods: Dashboard, Webhook, or the Get Call API . Make sure you're listening for the
call_analyzed
event type specifically, as this is where your custom post-call analysis fields will appear [(1) ]() .
​ To learn more, see the sources I considered: [[1] Webhook Overview](https://docs.retellai.com/features/webhook-overview) [[2] Consume the analysis data](https://docs.retellai.com/features/post-call-analysis-consumption) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
m
yes, this is the chat_analyzed payload
@AI Evy is there a limit to the number of fields in post chat analysis? After I added a total of 16 fields, started getting Error in parsing openai JSON for call analysis
a
Thanks for the follow-up, @matzoball9375. I'll get back to you soon.
### Answer I don't have specific information about field limits for post-call analysis in the available sources [(1) ]() . The Post Call Analysis Overview documentation shows that you can extract Boolean, Text, Number, and Selector data types , but doesn't specify a maximum number of fields. However, based on the Discord discussion, there appears to be a practical limitation where adding too many fields can cause JSON parsing errors [(2) ]() . One user mentioned encountering analysis issues, though their specific case was related to having sensitive data storage disabled . For the most accurate information about field limits and the "Error in parsing openai JSON for call analysis" issue you're experiencing, I'd recommend: Visit [Contact Sales]() or [) Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Post Call Analysis Overview](https://docs.retellai.com/features/post-call-analysis-overview) [[2] Post-Call Analysis](https://discord.com/channels/1186424376300679209/1339583616665255968) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
m
@AI Evy Error in parsing openai JSON for call analysis when using claude for Post chat analysis. the situation is corrected when using GPT models.
a
Thanks for the follow-up, @matzoball9375. I'll get back to you soon.
### Answer I can see you're experiencing JSON parsing errors specifically when using Claude models for post-call analysis [(1) ]() . The available documentation shows that you can configure the
post_call_analysis_model
parameter when creating or updating agents [(2) ]() [(3) ]() . The API examples demonstrate using
"gpt-4o-mini"
as the analysis model [(2) ]() [(3) ]() [(4) ]() :
Copy code
javascript
"post_call_analysis_model": "gpt-4o-mini"
However, I don't have specific information in the available sources about Claude model compatibility or known JSON parsing issues with Claude models for post-call analysis. The sources don't detail which specific models are supported for the
post_call_analysis_model
parameter beyond the GPT examples shown. For specific guidance on Claude model compatibility and resolving the JSON parsing errors you're experiencing, I'd recommend: Visit [Contact Sales]() or [) Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Post-call analysis "Error in parsing openai JSON forn call anaylisis"](https://discord.com/channels/1186424376300679209/1395844709015883847) [[2] Get Agent](https://docs.retellai.com/api-references/get-agent) [[3] Update Agent](https://docs.retellai.com/api-references/update-agent) [[4] Create Agent](https://docs.retellai.com/api-references/create-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
m
@AI Evy it seems to be a temporary issue, as I hadn't encountered this before, maybe claude is experiencing issues
a
Thanks for the follow-up, @matzoball9375. I'll get back to you soon.
### Answer Based on the available sources, there are indeed documented issues with Claude models in Retell AI [(1) ]() . The Discord discussion shows that Claude has been experiencing performance issues, with users reporting that "Claude is having a hard time and will not reply at the start of calls and will sometimes just take forever to reply" . A Retell AI team member suggested testing other models to analyze the difference, and users confirmed that "It works fine with other models, just Claude was having the issue" . Your observation about this being a temporary issue aligns with the documented pattern of Claude-specific problems . The JSON parsing errors you're experiencing with Claude for post-call analysis may be related to these broader Claude model stability issues. The documentation shows that you can configure the post-call analysis model using the
post_call_analysis_model
parameter [(2) ]() :
Copy code
javascript
"post_call_analysis_model": "gpt-4o-mini"
Since you mentioned the issue resolves when using GPT models, switching to a GPT model for post-call analysis would likely provide more reliable results while Claude experiences these temporary issues [(1) ]() .
​ To learn more, see the sources I considered: [[1] Claude is very slow to reply or freezing](https://discord.com/channels/1186424376300679209/1374508159309447279) [[2] Get Agent](https://docs.retellai.com/api-references/get-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.