Assistant speaks before picking up the call
# support
b
1) I make a call via API with this body: { "workflowId": "23efef13-d3a5-4578-97f2-e11dce73adf4", "workflowOverrides": { "variableValues": { "name": "Elyor" } }, "phoneNumberId": "499676d4-4497-465c-8c64-519d764a2ac4", "client": { "number":"+1xxxxxxxxxxx" } } I listened to the recording that came to my webhook and there why does the assistant start talking right away, although the call has not yet picked up the person and there are beeps call id's: d2b323f3-6dd7-4f71-b9fb-3396835018e7, 7df389f6-0323-4e90-acd1-07eb1cd7d41b 2) And why is it not possible to change various workflow properties via the API like it is for an assistant? For example, I can't choose which specific server messages (like end-of-call-report, transcript) are sent to my webhook, and I also can't select idle messages for a workflow — but for an assistant, I can?
k
- Adjust the startSpeakingPlan like, add waitSeconds to delay speaking until the call is actually picked up.. - Workflow settings like server messages and idle messages can’t be changed via API because those are configured at the Assistant level, not per Workflow..
b
In the image you can see what i'm receiving to my webhook after call ended. How can i change assistant settings if i dont have assistant id? and i'm just confused: i thought the main difference between assistant and workflow is just workflows have much more flexibility. But i cannot change some settings for workflows and assistanst have more flexibility in this area https://cdn.discordapp.com/attachments/1390212954871562342/1390223836397568070/image.png?ex=68677a57&is=686628d7&hm=8d03142e4b14fd1488bbae2f9e242a1d96a64b69bea53a5b5e27d240f8935c4b& https://cdn.discordapp.com/attachments/1390212954871562342/1390223836636516393/image.png?ex=68677a57&is=686628d7&hm=f271e416d1624ddc52d4611e0f25782e5c6013edd5defc89d5476d33702e79b7&
can you please tell me what is assistant and workflow in terms of abstraction, objects in the backend? why when i'm using workflowId for calling i see assistant object in my webhook? Thanks in advance!
k
Workflows define conversation logic, but assistants handle runtime settings like webhooks and server messages, even when you call a workflow, it’s wrapped by an assistant behind the scenes so to change those settings, you must find the related assistant via the API and update it using assistantId..
b
That's what i thought! The main problem - i couldn't find in vapi docs how to assign workflow to assistant and manage that assistant's behaviour.
so how can i solve this problem?
if assigned (somehow), would workflows conversations and settings override assistant's?
@User
No answers((
z
hi I'm experiencing the same issue. stuck for a while. would appreciate answer
b
hi, i switched to assistant, couldn't find solution for problem
c
To assign a workflow to an assistant in VAPI, follow these steps: 1. Log in to your VAPI account and go to the dashboard. 2. Click on the "Assistants" tab in the main menu. 3. Select the assistant you want to assign a workflow to. 4. In the assistant's settings, find the "Workflow Management" section. 5. Click on "Add Workflow" or "Edit Workflow" depending on your needs. 6. Choose the desired workflow from the list or create a new one. 7. Configure the assistant's behavior by adjusting the settings as needed. 8. Save your changes. If you have any questions or need further assistance, just let me know.
b
there is no thing like Workflow management in assistant's settings
z
Hey for me, I used vapi.start( "ASSISTANT_ID" , null, null, "WORKFLOW_ID") and manged to connect workflow and assistant. Maybe try this.
b
what is equivalent of start in api methods?
c
Hey, let me check with my team and get back to you.
Using assistants with workflows is a deprecated feature even though users have been reporting that it works fine with one of the SDKs for vapi.start. If you want to have a strict workflow with an assistant, I would recommend using prompt engineering to make a step by step process with plenty of guardrails and a temperature as close to 0 as possible.