Sending structured data from vapi - end of call re...
# support
s
I am not sure if I am doing it right, i have a voice agent that linked to twilio and when I call, its notes all the information down, but I seems to not be able to route it out of vapi and send these structured output to either n8n or activepieces, like ive seen many videos on making a booking appointment and all, but I dont need haptic feedback from the tool, So I am collecting: callSummary: A concise summary capturing the key points and outcomes of the conversation (if mentioned clearly; otherwise return null) contactNumber: Phone number of the caller (if explicitly stated; otherwise return null) postcode: Postcode provided by the caller(if explicitly stated; otherwise return null) location: Location name provided by the caller (if explicitly stated; otherwise return null) preferedDateortime: date or time preferred provided by the caller (if explicity stated; otherwise return null) email: Email address provided by the caller (if explicitly stated, otherwise return null) name: Full name of the caller (if mentioned clearly; otherwise return null) transcript: The complete trasnscript verbatim (if avaialable) while the "Structured Outputs" is working its only within Vapi dashboard, but I want to be able to split this or see this sent to n8n/activepieces webhook.
c
Hi there, Thank you for your message. Our team is currently out of the office. We operate Monday through Friday, from 9:00 AM to 8:00 PM Pacific Standard Time (PST). We’ll get back to you as soon as possible during our normal business hours. If your message is urgent, please mark it accordingly or include “URGENT” in the subject line, and we’ll do our best to respond promptly. Warm regards, Vapi Customer Support Team
v
To send your structured outputs from Vapi to n8n or ActivePieces, set your assistant's webhook configuration like this:
Copy code
js
const assistantConfig = {
  // ...other config
  server: { url: "https://your-n8n-or-activepieces-webhook-url.com", timeoutSeconds: 20 },
  serverMessages: ["end-of-call-report"]
};
This will POST the structured outputs to your webhook after each call, allowing n8n/ActivePieces to process the data automatically. Source: - [Call queue management with Twilio](https://docs.vapi.ai/calls/call-queue-management)
s
using the web ui
l
in case you not aware, some things can't be done in the UI, you have to use teh API (this may be one of those cases), and @mention the bot in your response, else it will ignore you 😉
s
lets hope its not restricted cause to me vapi is good , but theres soo much all over the places..
not to mentioned the issue with n8n self-hosted, being http via cloudflare its returning 403
l
I stopped using most of teh ui ages ago, and use postman with api requests to set my settings, and it also allows youto re-create settings when needed via scripts. (sorry, not meaning to dilute your ticket with idle chat)
s
all good, perhaps the community can chime in something that i might missed while configuring this vapi agent, all I need is export the structured output data to webhook, but all I am getting is the request webhook, not the response or the data from the call session.
l
i gather you have set the server url at webhook level? You need to also put it at a higher level : ref: https://docs.vapi.ai/server-url
s
Its on the tool, assistant and org level, just odd the end of call report doesnt get sent to the webhook
Or something
2 Views