How to send a webhook a report/data/value if the o...
# support
j
Hey, I am creating an outbound ai caller, and it sends data to a webhook in Make.com through its toolIDs. Now, I tried to test it by not answering the call on purpose, but the entire webhook was not activated. Is there a way that it can send data/value to the webhook which will say that the call was not answered? @Vapi
a
HeyJerome Matthew Thank you for creating the ticket! A member of our team will reach out to you shortly.
v
message has been deleted
@Jerome Matthew Absolutely, you can configure your outbound AI caller to send data to a webhook on Make.com (formerly Integromat) even when the call is not answered. To achieve this, you would typically need to set up your system to recognize when a call is not answered and then trigger the webhook with the appropriate data indicating the call status. Here's a general approach to how you might implement this: 1. **Detect Call Status**: Ensure your AI caller can detect different call outcomes, such as answered, not answered, busy, or failed. 2. **Configure Webhook Data**: Define the data structure you want to send to the webhook. This should include a field that indicates the call status. 3. **Trigger Webhook on No Answer**: When the AI caller detects that a call was not answered, it should send a payload to the Make.com webhook with the call status set to "not answered" or a similar indicator. 4. **Test the Integration**: Perform tests to ensure that the webhook is triggered correctly in all scenarios, including when the call is not answered. If you need assistance with the specific implementation details, such as the code or configuration to detect the call status and trigger the webhook, please provide more information about the technology or platform you are using for the outbound AI caller. If there's a specific function or tool you need to call to implement this, let me know, and I'll assist you further.
You can continue this conversation by mentioning me in the message.
j
Can you please break it down even more? Like: (For number 1), how/where can I make the AI caller detect call outcomes? (For number 2), how/where can I define the data structure to be sent to the webhook? (For number 3), how can I send a payload to make.com with the call status? @User
@Vapi
s
@Jerome Matthew There is no way by which you can trigger the webhooks or tools associated with your assistant if call is not answered or picked.
j
@Shubham Bajaj got it. What about the end of call report?
s
if call is not picked then the end of call reports are not triggered.
j
Okay got it @User . Is there any way from my end to know if the receiver did not pick up or declined a call?
s
You can use status-update server event to know if call has ended with end reason as well.
j
I tried that option @Shubham Bajaj , but the webhook was still not triggered/received data
s
@Jerome Matthew can you try again now there was an issue with worker system which resulted into not getting webhook event for call end status. Give it a try and let me know how it goes for you.
2 Views