How to run webhook for workflow after and of call?
# support
i
How to run webhook for workflow after and of call?
k
To run a webhook after a Vapi workflow call ends, insert an API Request node before the End Call node to trigger your backend URL with call data..
i
Thank you. But it's not works if user hang up before end of call API post. Is any idea?
k
Use an Assistant with a serverUrl to receive reliable end-of-call events, since Workflow API Request nodes won’t execute if the call ends before reaching them..
i
So, technically no option to get end-of-call events and/or make any Workflow analysis if call ends before reaching "End Call" node?
k
Workflows can’t detect early hang-ups or trigger post-call analysis unless the call reaches the final nodes only Assistants with serverUrl can reliably handle end-of-call events..
s
Hi all, I'm also facing this issue where I'd like to receive end of call reports when using a workflow, regardless of how the call ends. Using an assistant instead is not an option. The only solution I can think of is to just periodically fetch calls based on call id's, check the status, and if the call has ended, I can process the call. If not, we'll retry again after X minutes. But surely there is a better way, where VAPI can send a webhook immediately after any workflow-based call, regardless of the reason for the call ending? Even if it only contained a call id, I could then request from VAPI to get the call details from the id. Can anyone from VAPI shine a light on this?
c
I sincerely apologize for the delayed response to your support request. We implemented better tracking for support tickets to ensure timely responses going forward, but due to a technical limitation, this only applies to tickets created after this past week. I'm closing this older ticket, but if your issue still needs attention, please: Reply with 'REOPEN' or Email support@vapi.ai with any updates I'll personally ensure your new request gets prompt attention. Thank you for your patience. Best regards, Vapi Support Team
s
REOPEN. I'm also very interested in the topic. I need a webhook triggered to update the call status in my db. Is it still not possible?
c
Reopening another thread and closing this one
2 Views