Cant access the workflow logic through using the a...
# support
a
I have tried to create a project, where the user makes a call to the web assistant. However, when I am trying to make a call, the assistant is not talking in the logic of workflow, only as a regular call to AI ("Hello, how can I help you today" and etc). I am using the assistant id and have putted it into my .env file, which i am proceeding further in code to make a call. When I am trying to put the workflow id instead, the issue of "Couldn't Get Assistant.
assistantId
c84c370e-880b-4b87-b052-b4477c896703 Does Not Exist." appears. The assistant id that I was using is: 79f3c469-97a4-4c3c-882b-bab3302465e4 , and the workflow by which logic assistant had to speak is: c84c370e-880b-4b87-b052-b4477c896703
v
To use your workflow logic in a web call, pass the workflow ID (not the assistant ID) to the
.start()
method
of the Vapi Web SDK:
Copy code
js
vapi.start('c84c370e-880b-4b87-b052-b4477c896703'); // Use your workflow ID here
Make sure your SDK is up to date, and do not use the workflow ID as an assistant ID—this will cause an error. This approach will trigger your workflow logic as the call entry point. Reference: [Vapi Changelog May 6, 2025](https://docs.vapi.ai/changelog/2025/5/6), [Workflows documentation](https://docs.vapi.ai/workflows) Sources: - [Vapi Changelog May 6, 2025](https://docs.vapi.ai/changelog/2025/5/6) - [Workflows documentation](https://docs.vapi.ai/workflows)
a
I still encountered the same issue even when i call directly through vapi.start('c84c370e-880b-4b87-b052-b4477c896703');
k
Looking into it
Check your API KEY most likely your trying to access assistant from a wrong org api key..
v
i am also facing the same issue. Did you find any solutions
k
This ticket has been marked as solved, and as a result, you will no longer receive any further responses. Kindly create a new support ticket to escalate your inquiry.