Hey All , I am trying to call a workflow created in dashbaord with id from Web sdk as follows , but always getting invalid assistanid error, Is there any alternate way to do this ? thanks,
import Vapi from "@Vapi-ai/web";
const vapi = new Vapi(vapi_APIKEY);
try {
const workflowOverrides = {
variableValues: {
name,
topics,
userWellnessProfile,
},
};
return await vapi.start(workflowId, workflowOverrides);
} catch (err) {
console.log(err);
}