I have a voice agent on VAPI which sends data to Make via a webhook. It then does some processing and uses a webhook response to return data to VAPI. Everything looks fine in Make but the VAPI tool response shows a “no result returned” error. I’ve read through all the common errors.
The webhook response JSON:
{
“results”: [
{
“toolCallId”: “X{{1.message.toolCalls.id}}”,
“result”: “The preferred date and time is available”
}
]
}
The toolCallId matches the ID from the custom webhook at the start of the flow.
I’ve scoured the docs and can’t see where I’m going wrong here. Any ideas?
{
“results”: [
{
“toolCallId”: “{{2.message.toolCalls.id}}”,
“result”: “The time you requested is available.”
}
]
}
I’m not 100% certain as I don’t have Vapi credentials to test … but I think there’s a couple of modules in the Vapi app that are designed to help with Tool scenarios.
If I’m right, the Watch Tool Call Request trigger can be used to catch the Tool Webhook and provide the parameters in an easy to consume fashion.
Also I believe that the Respond to a Tool Call module provides parameters for the toolCallId and result.
Also, they’ll look visually nicer in your scenario list, scenario builder and in Grid as they’ll be using the Vapi icon 