Can anyone help me understand this? I just finished watching a YouTube tutorial on connecting Vapi to N8N for Barbershop AI receptionist. My workflow is basically complete; however, I ran into a small problem. When I went to test the agent in vapi it gave me an error. I set up tool, "Check Availability"(to check calender if there are already appointments booked) and it keeps failing to pull the tool "There was an error pulling the tool." Im not sure if its the type of code I put in that specifc tool, however im stuck and confused. If anyone has some decent knowledge and can help me out I would greatly appreciate that. Im new to this stuff lol This is the exact youtube video I watched
https://www.youtube.com/watch?v=uvh5pynPEz4▾
(he creates that tool with the specifc prompt at 12:59) (And at 16:22 He test it and the tool works, however mine doesnt) let me know if anyone can help
f
Favour lucius
01/09/2026, 7:28 PM
Hey! I can help with this.
The error is happening because your N8N workflow isn't properly connected to Vapi. The tool can't pull data if the webhook URL isn't set up correctly or if your N8N workflow isn't actively running.
Quick question: did you copy the webhook URL from N8N and paste it into your Vapi tool settings, and is your workflow activated?
s
SteveChris8
01/09/2026, 7:38 PM
Thanks for reaching out! Yes, I have connected the production URL into the specific Check Availability tool but for some reason, it still not pulling and my workflow is activated and all nodes execute properly. However, I think it might be the code that is the issue, the one you put in the description of the tool. This is the code: "Returns all available one-hour appointment slots within the given date range.
Output Example:
```json
{
"slots": [
{ "id": "2025-11-02T14:00:00-05:00", "spoken": "Sunday at 2 PM" },
{ "id": "2025-11-02T15:00:00-05:00", "spoken": "Sunday at 3 PM" }
],
"spokenSummary": "We have Sunday at 2 PM and Sunday at 3 PM — what works better for
you?"
}
```" what do you think?
f
Favour lucius
01/09/2026, 9:12 PM
Hey, no problem!
Yeah, that code you pasted is just the description/example format for Vapi it's not actually causing the error. The real issue is usually in how the tool parameters are set up or how N8N is formatting the response back to Vapi.
Favour lucius
01/09/2026, 9:13 PM
This is a bit tricky to troubleshoot over comments since I'd need to see your actual N8N workflow setup, the tool configuration in Vapi, and how the data is being returned. There are usually a few specific spots where things go wrong.
I'd be happy to hop on a quick call or screen share to debug this with you directly I can usually spot the issue pretty fast when I can see the setup. Want to DM me and we can sort this out? I do this stuff regularly so shouldn't take long to fix.