ShabnamE
03/23/2025, 1:09 PMVapi Support Bot
03/23/2025, 1:11 PMtoolCallId field in your webhook response is empty. This is likely why your VAPI Agent can't see the response, even though it's visible when tested directly on VAPI.
The toolCallId is a crucial element that allows VAPI to match a tool's response with the original tool call. Without it, VAPI won't be able to associate the response with the correct tool call.
Could you check the initial request from VAPI to make.com and confirm if it includes a toolCallId? You'll need to copy this exact ID from the request and include it in your response.
Also, I noticed the response format shows nested JSON in the result field. Make sure your response follows this exact structure:
json
{
"results": [
{
"toolCallId": "call_XYZ123", // Replace with the actual toolCallId from the request
"result": {
"first_name": "martin",
"Client_ID": 39
}
}
]
}
Sources:
- [Purpose of toolCallId](https://docs.vapi.ai/tools/custom-tools)
- [Importance of Matching toolCallId](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1325000684231196775)
- [Example of toolCallId in a Response](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1339900285727805513)ShabnamE
03/23/2025, 2:39 PMShabnamE
03/23/2025, 2:39 PMShabnamE
03/23/2025, 7:07 PMShabnamE
03/23/2025, 9:14 PMKyle
03/24/2025, 1:42 PM