Issue with Assistant ID/workflow ID, When Configur...
# support
s
I’m dynamically assigning an
assistantId
via a webhook, and everything is working well technically — the webhook is firing, retrieving the caller info from Airtable, and returning an assistant ID. However, I'm running into this error:
Copy code
"Couldn't Get Assistant. `assistantId` bd083b2a-5ba8-45e6-b59f-f999977dfaab Does Not Exist."
The ID in question refers to a workflow, not a standard assistant. --- ### ❓ My questions: 1 Does the
assistantId
field in the webhook response strictly require a Vapi Assistant ID, or is it also possible to return a Workflow ID there? 2 If only possible with assistantID, could it be an easy fix on your end to add workflow IDs? My use case requires assigning a workflowID dynamically through a Phone Number Server URL Thanks in advance
i tried it with a squad ID as well (which could replace a workflow) but getting the same issue. When i try it with a regular Assistant and assistantID, the call works, no errors
c
The assistantId field in the webhook must be a Vapi Assistant ID or an inline config. workflow IDs are not supported and will cause the “Does Not Exist” error; to use a workflow dynamically, link it to an assistant in the dashboard and return that assistant’s ID..
3 Views