structured data not coming to end of call report
# support
t
the structured data results are not coming over the webhook for end of call report ,why? here is the caller id:374b9aac-8cf9-4866-852f-6c9394df1d10 i expected the call to send structured data over the webhook response i got is without the structured data
v
Check your assistant's
analysisPlan
configuration to ensure structured data extraction is enabled.
Here's an example of how it should look:
Copy code
json
{
  "analysisPlan": {
    "structuredDataPrompt": "You are an expert data extractor. Extract structured data per the JSON Schema.",
    "structuredDataSchema": {
      "type": "object",
      "properties": {
        "field1": { "type": "string" },
        "field2": { "type": "number" }
      },
      "required": ["field1", "field2"]
    }
  }
}
Make sure this configuration is present and correct in your assistant settings. If the issue persists, check if the webhook is receiving the final analysis payload, as structured data may be delayed or missing if analysis hasn't completed yet. If you need to debug further, try retrieving the call record via the API to see if structured data is present there. Source: - [Call analysis documentation](https://docs.vapi.ai/assistants/call-analysis)
a
having same issue
s
In my call log analysis section I am getting the extracted details which has nothing to do with my Assistant and call conversation. It weird Here it is: { ISBN: "9780743273565" title: "The Great Gatsby" author: "F. Scott Fitzgerald" genres: [ 0: "Novel" 1: "Historical" ] publication_year: 1925 }
t
@Shubham Bajaj any help here
s
@trx598 @SaltishGuy @Akash Malhotra Thanks for bringing this issue to us. We are already working on it, and it will be fixed by the end of the day. Until then, if you require you have to update your assistant analysis plan again through the API, and then it will work as expected. This happened because we made a change in the dashboard, and once you click on your analysis plan, changes were overwritten.
l
This is still not fixed, please advise. Was there a notification sent out of the change.
a
This is how i updated my assistant via APU and it worked update Assistant by API { "analysisPlan": { "structuredDataPrompt": "You will be given transcript of call, extract the following details form that : Is Interested, Travel Destination, Date Of Travel, Number of Days and Number of people traveling ", "structuredDataSchema": { "type": "object", "properties": { "Destination": { "type": "string" }, "Is_Interested": { "type": "string" }, "Number_of_Days": { "type": "string" }, "Number_of_People_Traveling": { "type": "string" } }, "required": [ "Is_Interested" ] } } }
t
Now it is even worse ,i lost all my structured data variables ,what is going on?
l
Any update? Haven’t got an email response either?
I don’t know how this works as I am using an assistant in the dashboard with a phone number attached for inbound. I’m not doing an inline or coding the assistant.
a
Currently if you use dashboard it will override all the details you have sent through API. Currently, it is having some books. I hope team will fix it soon.
a
Hey, it is fixed are you still facing this issue? If yes, can you send me the call_id?
t
how do i recover my lost structured data now ,ithey're all gone
for all my assistants
l
Oh wow
t
i lost all of my structured data,summary all the details i had in all my assistants ,what's happening man its over 6 months of works gone
l
Any update? Haven’t got an email response either?
v
I'm very sorry to hear about the loss of your structured data. Based on the information available, this appears to be related to a recent dashboard change that affected assistant analysis plans, and unfortunately, there is no documented recovery process for lost structured data at this time. To help escalate your case: Could you please provide the assistant name(s) or ID(s) where the data loss occurred? This will help support investigate your specific situation more quickly. For urgent assistance, you can also email [support@vapi.ai](support@vapi.ai) or join the [Discord support channel](https://discord.com/invite/pUFNcf2WmH) for real-time help. Sources: - [Vapi Call Analysis Documentation](https://docs.vapi.ai/assistants/call-analysis) - [Vapi Support Page](https://docs.vapi.ai/support)
s
@lendell_thenerd @trx598 @Akash Malhotra @SaltishGuy The analysis plan issue is resolved. You can now use it as usual. Republishing your assistants from the dashboard fixes it. You can also use the API. Choose the medium you prefer to update your analysis plan.
v
Unfortunately, there is no documented way to recover lost structured data after the dashboard issue. To escalate your case, please provide your assistant name(s) or ID(s) to Vapi support—either by email at [support@vapi.ai](support@vapi.ai) or in the [Discord support channel](https://discord.com/invite/pUFNcf2WmH). This will help the team investigate your specific situation and offer any possible assistance. Sources: - [Vapi Call Analysis Documentation](https://docs.vapi.ai/assistants/call-analysis) - [Vapi Support Page](https://docs.vapi.ai/support)