stormy-gold•4mo ago
Workflow and assistant problem
I had facing problem in workflow, as if I pass workflow id for my react integration then it says invalid and if I pass my assistant id then its not using my workflow what to do?
6 Replies
To resolve this issue:
Make sure you have attached your workflow to your assistant in the Vapi dashboard. In your React integration, always use the assistant ID (not the workflow ID)—the assistant will automatically use the linked workflow. Steps: 1. Go to the Vapi dashboard, edit your assistant, and attach the desired workflow. 2. Use the assistant ID in your integration code. Tip: Passing a workflow ID directly is not supported—always link via the assistant.
See Vapi workflow setup guide Source: - Vapi Workflows Documentation
Make sure you have attached your workflow to your assistant in the Vapi dashboard. In your React integration, always use the assistant ID (not the workflow ID)—the assistant will automatically use the linked workflow. Steps: 1. Go to the Vapi dashboard, edit your assistant, and attach the desired workflow. 2. Use the assistant ID in your integration code. Tip: Passing a workflow ID directly is not supported—always link via the assistant.
See Vapi workflow setup guide Source: - Vapi Workflows Documentation
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
Hey, I'm having the same problem. there's no option to attach the workflow to the assistant
Same
Hey, sorry to hear about the issue with your account. Could you please record a loom video showing the error or behavior you're experiencing? It would really help us understand the problem better. Also, please share your workflow_id so we can assist you further.
For everyone struggling on this error I solved now:
You have to use the vapi sdk and make the api request on your own. Its a nice restful api with an good to follow documentation.
From there on you will have a type like inboundPhoneCall or outboundPhoneCall, your ids like workflowId or assistantId or squadId... and you will have a phoneNumber/ phoneNumberId. You will have to create a phoneNumber in the vapi dashboard and there you can call with your vapi assistant which is following your workflow!
@Ronch
a gentle reminder to continue this thread.