I want to send the transcript of incoming calls to my Vapi.ai call assistant via email. The phone number from the Vapi.ai metadata and the caller's name (extracted via custom function) should be included in the email subject. The email content should contain only the transcript. This configuration already works.
I use the "Watch End of Call" trigger from Vapi.ai. My problem is that this trigger is activated up to five times during a call, resulting in five emails, some of which are empty. I want to collect all the data from a call and send it in a single email after the call ends.
I have tried various approaches and even sought help from ChatGPT but couldn't find a solution.
Should I solve this better through an API call? Unfortunately, I have no idea how to store the data in Make.com and then aggregate those that belong to a call. Any assistance with the correct configuration of the scenario would be greatly appreciated.
Thank you in advance!
https://cdn.discordapp.com/attachments/1211484481848873020/1256863658093449256/Screenshot_2024-06-13_093952.png?ex=668250ff&is=6680ff7f&hm=e3f253a9917760e00b0225ad3b2a42e734dbeae061feeba0710184d13686d7a7&