Getting Structured Data output from a completed ca...
# support
a
I'm trying to just get the structured data from my successful calls so that i can store in a supabase table. i've made an edge function that could possibly store the structured data, but i'm not finding how to get that structured data? is there an endpoint somewhere in the docs?
v
At this time, I don't have information about an endpoint or method to retrieve structured data from completed calls. If you have any other details or specific requirements, feel free to share them and I'll do my best to help!
At this time, I don't have information about an endpoint or method to retrieve structured data from completed calls. If you have any other details or specific requirements, feel free to share them and I'll do my best to help!
u
Use the end of call report then out your webhook url in the message server. Then setup up the schema for the structured data you want to extract
v
To get structured data from your calls, you'll need to make sure the
structuredDataPrompt
is properly set up in your assistant's
analysisPlan
. You'll find the structured data stored in
call.analysis.structuredData
after a call. If it's not appearing, double-check the configuration for the structured data prompt and schema. If everything seems fine and it's still not working, it might be a good idea to try reaching out with a specific call ID for further investigation.
a
maybe even dumber question, is it possible to get vapi to call one of my supabase edge functions to store the structured data in my database once the structured data / log after a call is done? or do i have to keep polling the vapi webhook url until i get the data?
v
Try calling the edge function to store it and let us know if it doesn't work.