Having trouble with multiple server urls
# support
m
Here's what's going on: I'm trying to have 2 server urls, one which connects to voiceglow and one which connects to make. Now the voiceglow url has to be in the server url section within the assistant configuration. This means that the server url for make has to be in the organization server url (Can't put it in tool because there's no function I think at least to trigger it whenever the call ends and then send all the information such as price, transcript, etc.) The problem here is priority. In the priority list the assistant server url ranks higher than the org server url. So I'm wondering how to hopefully give equal priority to both or maybe someone can tell me about a way to make a tool do the same exact thing as an assistant configuration url would do such as sending the transcript and triggering after the call has ended. Please let me know, Thanks.
v
@Mehul Rox It sounds like you're trying to integrate two different services with your VAPI assistant and are concerned about the priority in which server URLs are used to handle events. As per the current system design, events are only sent to one server URL based on the priority stack, with the assistant server URL taking precedence over the organization server URL. Unfortunately, there isn't a way to set equal priority for two server URLs within the VAPI system. However, you could consider a workaround by using the assistant server URL to handle the initial event and then programmatically forwarding the necessary data to the second server URL (for Make) after the initial processing is done by Voiceglow. This would involve setting up an endpoint on the Voiceglow server that, upon completion of its processing, makes an HTTP request to the Make server with the relevant data such as price, transcript, etc. Regarding the tool to trigger after the call has ended, if there is no existing function to handle this within the VAPI, you would need to implement this logic within your server-side application. The application would listen for a specific event indicating the call has ended, process the data as needed, and then forward it to the Make server. If you need more detailed guidance on how to set this up or if there are any specific functions within VAPI that could assist with this process, please ask support for more info on this. They may have additional insights or updates that could help you achieve your goal.
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
s
@Mehul Rox can you be more clear here?
m
Basically I want to have both the voiceglow url and the make.com webhook in the assistant configuration server url section but there is only option for 1 url. And tools dont work because they dont trigger after the call ends and send info such as transcripts and such.
That's why I am wondering what to do
To put it in a nutshell, need 2 server urls within the assistant (not the org) or at least get the functionality somehow just like if it actually had 2
@Shubham Bajaj
s
@Mehul Rox voiceglow is for custom llm, then same make server url can be used for tools calling and end of call report using server event type differentiator.
@Mehul Rox I don't see any confusion here?
m
llm?
Im trying to just connect it for the dashboard
s
hmm..
you can use single server url for both, and can filter request-response based on server event type.
m
How can I use a single server url. For make it's creating a different webhook. and for voiceglow its automatically creating a url with "voiceglow runtime" something in it but its nothing like the one make.com makes
unless you meat using a http request or something
I think what you mean is making a webhook from make.com then having one of my automations run on the 1st path of a router and then have an http request post info to the voiceglow server url
but not sure if that will work
s
yeah i mean this.
it won't be easy at first but will work, you have to get your hands dirty.
m
but there is one problem
Voiceglow requires multile fields other than just the end-of-call thing
so if I put those fields then my actual automation which should only be triggered after the call has ended might not work
s
server event filter can be tried out.
atleast give it a try once.
m
Alright
Going to try out what you said
s
you can remove use make stuff, if your finding it difficult then i suggest stick to what your doing.
i suggested, upto you.
m
Need some help here. Ive entered the url and made it to post. But what should I put as the body type and also are any headers or strings required? Im new to the http module https://cdn.discordapp.com/attachments/1293642220074700820/1294326429101723658/image.png?ex=670a9aec&is=6709496c&hm=70a51d8166e849614d0aab445279d731a3b4ae8f54eb24cb3fb4b50ab060c4c7&
also wondering if I should do patch
s
@Mehul Rox can you join today's discord OH.