JM
06/09/2024, 7:35 AMVapi
06/09/2024, 7:36 AMVapi
06/09/2024, 7:37 AMjson
{
"results": [
{
"toolCallId": "<unique_tool_call_id>",
"result": "<your_processed_result>"
}
]
}
Replace <unique_tool_call_id>
with the ID you received from the initial VAPI request, and <your_processed_result>
with the actual result you want to send back.
If you're unsure about how to capture the callback URL or format the POST request in Zapier, please ask support for more info on this. Zapier's support or community forums can be a valuable resource for specific guidance on setting up the action steps in your Zap.Vapi
06/09/2024, 7:37 AMJM
06/09/2024, 7:39 AMVapi
06/09/2024, 7:40 AMJM
06/09/2024, 7:42 AMVapi
06/09/2024, 7:43 AMJM
06/09/2024, 7:47 AMVapi
06/09/2024, 7:47 AMwebCallUrl
) is the URL provided by VAPI for you to send the results of the tool call back to VAPI. This URL is different from your Zapier webhook URL and is likely the endpoint you should use to POST the results.
Here's what you should do:
1. Process the data from Airtable as needed for the tool call.
2. Use the webCallUrl
provided in the payload to send a POST request with the results back to VAPI. The body of this POST request should contain the results structured in the way VAPI expects.
The exact structure of the POST request body will depend on VAPI's expected schema, but it might look something like this:
json
{
"id": "<call_id>",
"results": {
// Your results here
}
}
Replace <call_id>
with the actual id
from the payload (e.g., call_[redacted]
) and include the results in the format that VAPI requires.
If you're unsure about the exact structure of the POST request body, please refer to the VAPI documentation or contact their support for the correct format. Once you've sent the POST request with the results to the webCallUrl
, VAPI should be able to process the response and complete the tool call.Sahil
06/09/2024, 8:03 AMJM
06/09/2024, 8:46 AMSahil
06/09/2024, 8:47 AM