Hi Everyone,
# general-english
s
Hi Everyone, I have created a workflow in vapi which is working fine, but i want to send dynamic variables from nextjs website. i am sending userid and username but i am not getting both of them when i start the call. what am i doing wrong here ? any idea ? https://cdn.discordapp.com/attachments/1211484481848873020/1397568235305570405/image.png?ex=68823258&is=6880e0d8&hm=7347297b4db4ab048ff025a528571cfd88c350e6920745b7ff9212df33c0702c& https://cdn.discordapp.com/attachments/1211484481848873020/1397568235649368074/image.png?ex=68823258&is=6880e0d8&hm=052b75c5a1f4a661d27f8637ef1292db80d2a78583ef0b0222173b1cbe336e70&
k
Declare user_id and username as variables in the Start node of your Vapi workflow otherwise, the values you pass from Next.js via assistantOverrides.variableValues won’t be recognized or used in the flow.. https://docs.vapi.ai/workflows/overview
I just debugged and find out there are 2 types of override assistantOverrides and workflowOverrides, and since i am using a workflow, i need to pass my variables inside workflowOverrides instead. doing this i was able to get the variables
k
Nice checking if fixed?
s
yes it fixed the issue
k
Glad it was resolved 🙌
s
Suggestion to vapi team, i think docs needs to get updated and need more integration related docs. i feel like those are missing
4 Views