Issue while adding vapi as a provider to my assist...
# support
a
i cant set vapi as the provider to my assistant. And due to this i cant attach my workflow to my assistant. Any suggestions? https://cdn.discordapp.com/attachments/1374257324566249472/1374257324834947082/image.png?ex=682d645e&is=682c12de&hm=9ab8c711bd220582861d5ebd040acc11058a84d82f2e9e8593caf401fc299b38&
v
Try this: Go to your assistant's configuration, find the Model section, and set the Provider field to
vapi
. This is required before you can attach a workflow. If the Vapi option is missing or cannot be selected, try refreshing the page or logging out and back in. If the issue persists, contact Vapi support as it may be a UI or account issue. [See the official workflow setup guide for reference.](https://docs.vapi.ai/workflows#step-2-switch-provider-to-vapi) Source: - [Vapi Workflows Guide](https://docs.vapi.ai/workflows#step-2-switch-provider-to-vapi)
a
+1 can't see the vapi provider
k
To set Vapi as your assistant’s provider and attach a workflow, ensure the provider is set to “vapi” in the assistant settings.
a
But Vapi isn’t even a provider here
I mean I can’t see it as a provider option
r
Same here, I can't find vapi as a provider
p
Hey the
Vapi
model has been removed, and to use the workflows now you can directly attach them to the phone-numbers, and can test directly as used to do with assistant and squads. Let me know if you still require further help.
a
Thanks for the reply. I’ll do exactly that.
r
Hi @Shubham Bajaj thank you so much for your help . I also noticed that in the generation of a workflow, the generative node cannot be found. How can i access this
a
Have you trued the phone number thing?
Instead that, is there any way to extract variables on call and use them to make an API req with the help of tools -> functions in the assistant section? I'm new to vapi so i don't exactly know how to work with tools yet. But if this approach is feasible I'll try this tools feature.
p
In your assistant prompt you can make them store it into a variable then pass that variable to a custom function tool for a webhook to use in GHL/make.com. More info on variables here:
a
ik this looks stupid. But the intention is to let u know what's the thing i'm working on. Could you please look at the the attached media and guide me to make this work? The endpoint accepts the body params. And i attached an image showing how i created the desc of the parameters too. I'm a novice and sorry for that. But i look forward to learn. Thank you! in advance. https://cdn.discordapp.com/attachments/1374257324566249472/1375113871815086162/image.png?ex=68308217&is=682f3097&hm=390122630f7a1891478a7d597e76765fab6d8fb236775680323ac5d845c71797& https://cdn.discordapp.com/attachments/1374257324566249472/1375113872478048276/image.png?ex=68308217&is=682f3097&hm=8cbda1707ad3c700ca42e61f0af5211090253ed135d4632d0f15bec912dafce1& https://cdn.discordapp.com/attachments/1374257324566249472/1375113873064984736/image.png?ex=68308217&is=682f3097&hm=3e97d8141e9d01417ac163b87dc587c8797afe7c8195a9cfd2c8083a04870a17&
s
@realG can you help me understand what exactly your refering to?
Hi @Ak4zA, I want to know if you want to customize the call experience or send data to your API during the call. If you want to customize the experience, workflows can't do it today, but assistants can. Here's how: https://docs.vapi.ai/assistants/personalization
For tools calling I will suggest you checkout this video

https://www.youtube.com/watch?v=mhCy1kFGKVU&pp=ygUSVkFQSSBUT09MUyBDQUxMSU5Hâ–ľ

Let me know if you requirer further help!!
a
Hello @Shubham Bajaj thanks for the approach. I have this problem that my workflow is able to send post req successfully. But the assistant isnt working. I created a tool to send a post req and its working fine for the sample webhook. But not working for the real endpoint. Any leads on this matter?
v
Thanks for sharing your setup! Since your tool works with a sample webhook but not with your real endpoint, could you please share what error message or response (if any) you receive from your real endpoint when the assistant tool tries to call it? This will help pinpoint the issue. Sources: - [Vapi Dynamic Variables Documentation](https://docs.vapi.ai/assistants/dynamic-variables) - [Vapi Tools Documentation](https://docs.vapi.ai/tools)
Try this troubleshooting step: Double-check that your tool's parameter names and types in the assistant exactly match what your real API endpoint expects. For example, your tool config should look like:
Copy code
json
{
  "type": "function",
  "function": {
    "name": "interview-generator",
    "parameters": {
      "role": "string",
      "type": "string",
      "level": "string",
      "amount": "string",
      "techstack": "string"
    }
  },
  "server": {
    "url": "https://interview-assist-eu.vercel.app/api/vapi/generate"
  }
}
If the tool works with a sample webhook but not your real endpoint, check your endpoint's logs for errors and ensure it accepts POST requests from Vapi's servers. Sources: - [Custom Tools Documentation](https://docs.vapi.ai/tools/custom-tools) - [Dynamic Variables Documentation](https://docs.vapi.ai/assistants/dynamic-variables)
v
Message marked as helpful by @Ak4zA! 🎉
a
working dude. Thanks for ur support. @User
v
That's great to hear! Glad everything is working smoothly now. If you run into any more questions or want to explore more features, feel free to jump back in. Keep up the awesome work!
That's great to hear that everything is working now! If you have any more questions or want to explore more features, feel free to jump back in. Happy building!
p
Marking this ticket as Solved âś…
14 Views