Vapi with n8n integration
# support
a
Hey Anybody tell me i have a problem i am trying to use vapi via n8n self hosted but the webhook is not initiated properly, can anybody give some suggestions plz ?
v
I'm sorry, I'm having trouble with your request. A member of the team will be notified and will get back to you as soon as possible.
a
Are you getting any errors? What are you trying to do? Rem with N8N you have a development and production webhook so make sure you test on DEV first then you can make sure you use the PROD webhook in production when its live.
a
Yes, i am using the production url in the workflow
But when i call the tool it does not initiate the tool
a
how do you know the tool is called? do you see it in the VAPI logs?
you need to run on development make sure the dev webhook is running on test
then use your VAPI and if its a tool call it will hit
otherwise if you are using for transient agents etc (server url) then you need to put in the DEV one and run to see if it hits the url which it should
then do you tests etc making sure DEV is running on N8N
once you are happy you can switch the VAPI prod url or Tool url to the PROD webhook and you should be good to go
a
Okay i was using test url and make all the workflow according to the tests details and it was working perfectly fine on the test url
But when ever i switched onto the producyion url then i got the error of not initiating thw tool by the vapi it simple says the error message to me.
@AiTitus :) so what do you think on this
@AiTitus :) one more thing i am trying it on the fresh wokflow of n8n i am using test and the test url is not receiving the webhook call in the first place
Now what should i do
a
does the webhook url work if you make it the server url and then see if it handles calls? not sure what your setup is what are you doing exactly?
Trying it on the simple webhook rn
Yeah when i put it in the assistant server url it responds to the test immediately
In the production url it doesn't receive the webhook
a
did you save the and turnon the webhook in N8n? needs to be on to receive
a
Yes
Let me show you
a
it has to be something with the url maybe do you have the prod url in VAPI server url?
you are close 🙂
or if this is a tool call maybe?
also rem for the phone number make sures it not associated with an assistant if you are hittign the server url for get assistant
a
I dont know but the tool call in not consistent with the n8n. Some times it run perfectly fine straight two tomes but when you try for rhe thrird time it stops working and start giving error
a
@Vapi when is Smart Endpointing with LiveKit going to work n Weekly brnch :). I heard monday but still not there when i try to select and save livekit.
@Shubham Bajaj
s
@AiTitus :) The team decides when it's the right time to push features to the weekly channel. If they think LiveKit requires more time to be on daily rather than weekly, that's why they haven't pushed yet. So I'll suggest you wait a littel more time.
@ah_03141 Checking if this is resolved for you?
a
no worries just excited lol
4 Views