wispy-yellowW

Not able to send Dynamic data in VAPI squads

I'm using VAPI squads and trying to send my dynamic data through Assistant Overrides. But VAPI squads is not accepting any dynamic data. Is there anyother way I can send dynamic data to squads. Below is my code with Web snippet integration.

if ((window as any).vapiSDK) {
this.vapiInstance = (window as any).vapiSDK.run({
apiKey: this.apiKey,
squad: this.squad,
config: this.buttonConfig,
});



this.squad= {
members: [
{
assistantId: "7660c488-c8d9-4855-9569-ffabb7318678",
assistantDestinations: [
{
type: "assistant",
assistantName: "Hindi Assistant",
message: "Transferring you now",
description: "Switch to Hindi Assistant"
}
]
},
{
assistantId: "45516da0-92bb-4288-a9f8-e15f251a6f5d"
}

]
}
Was this page helpful?