Amine︱Σχ
04/08/2025, 4:52 PMVapi Support Bot
04/08/2025, 4:54 PMcurl -X PATCH https://api.vapi.ai/assistant/id \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"model": {
"provider": "openai",
"model": "gpt-4o",
"toolIds": [
"your-workflow-tool-id-here"
]
}
}'
Regarding the bugs you're experiencing:
1. The workflow detachment after assistant updates is a known issue in Vapi that has been reported by other users.
2. For re-linking after detachment, some users have had success with these workarounds:
- Refreshing the page after attaching the workflow
- Recreating the assistant
- Extracting the workflow from webhooks
If you continue to have issues, you might need to create a new assistant and attach the desired workflow to it as an alternative approach.
Is there anything else you'd like to know about working with workflows and assistants in Vapi?
Sources:
- [Vapi Workflows Documentation](https://docs.vapi.ai/workflows)
- [Discord Thread 1333975440003563604](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1333975440003563604)
- [Discord Thread 1344444254939775069](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1344444254939775069)Vapi Support Bot
04/08/2025, 4:54 PMSahil
04/08/2025, 8:25 PMMarcos Polanco
04/23/2025, 11:23 PMSahil
04/24/2025, 12:27 PM