Call Transcription from VAPI

I want to integrate VAPI with n8n so that, once a call ends, the call data is sent to an n8n webhook node. From there, I plan to extract the call transcription and store it in a database. However, the main issue is that the webhook is being triggered as soon as the call starts, rather than waiting for the call to finish. This prevents me from getting the complete transcription.

I found the solution to the issue.
First, go to VAPI and select your Assistant. Under the “Messaging” section, you’ll find two options: “Client Messages” and “Server Messages”.

  • Set Client Messages to Hung
  • Set Server Messages to end-of-call-report

This setup ensures that the n8n webhook is triggered only after the call ends and the final end-of-call report is generated. As a result, you’ll receive the complete transcription and other final call data without the webhook firing prematurely.

1 Like