Based on the documentation search, there is no direct built-in integration to export structured output data to Google Sheets or databases. The structured outputs are available via:
API response after a call completes
Webhook events when calls end
Call artifacts in the API
You would need to build your own integration to export the data. Here's how you could get the structured output data programmatically:
// After a call ends
const call = await vapi.calls.get(callId);
// Access structured outputs from call artifacts
const outputs = call.artifact?.structuredOutputs;
if (outputs) {
for (const [outputId, data] of Object.entries(outputs)) {
// Process the data here
// - Save to your database
// - Send to Google Sheets API
// - Forward to your systems
const result = data.result;
}
}
https://cdn.discordapp.com/attachments/1228667357849849856/1428391168286261309/image.png?ex=68f25470&is=68f102f0&hm=4e06a8d1fe88ceb41736f504efc04b8604e9edb59877a3bedf2088b237918cc0&