How can I start a workflow within my own frontend?
How to start a workflow without any callUrl to daily? I want it in my own frontend
3 Replies
You can start a workflow directly in your frontend using the Vapi Web SDK by calling
.start({ workflowId: 'YOUR_WORKFLOW_ID' })
, without needing a callUrl to Daily. This launches the workflow in your web app (docs, changelog).
Quick example:
Could you clarify if you want to trigger the workflow with custom user data or just start the default workflow flow?
Sources:
- Vapi Web SDK Documentation
- Vapi Workflows Documentation
- Vapi Changelog May 6, 2025⤵️ Mention @Vapi Support Bot for follow-ups 🐥
not working...
Hey Adrian, as of now, you have to pass workflow ID or as a fourth parameter, or transient workflow as a fifth parameter to VAPI web SDK. Once you initiate the start method, you will get the daily call URL as well.