"window.vapiSDK.run" to start a workflow instead o...
# support
h
I have assistants running with "window.vapiSDK.run". Would it be possible to use "window.vapiSDK.run" to start a workflow instead of the assistant? g.onload = function () { vapiInstance = window.vapiSDK.run({ apiKey: apiKey, assistant: assistantId, config: buttonConfig }); The workflow is absolutely essential to maintain the level of control any real-world enterprise project needs. Prompt engineering quickly becomes unmanageable once you start dealing with real use cases and CX in mind. Sooner or later, even for simple scenarios, a workflow becomes necessary. We’d really appreciate it if you could reply this question or provide an alternative. Thanks in advance!
* start an existing workflowId
I've solved it! I added Vite to the setup for vapi.start(null, null, null, WORKFLOW_ID) and it seems to work.
c
Hey, I'm closing this ticket now. Let me know if you need anything else.
2 Views