I have a booking scenario that books appointments in my Google calendar that is connected to Vapi as a voice agent. The problem is that the scenario I built was working fine and there were no issues or error messages from [make.com]. Then all of the sudden when I am testing my voice agent to make an appointment it says that it can’t find the availability for that specific date and time. It’s weird because 2 minutes earlier it was working just fine over and over, I didn’t change or edit anything so I am confused on why my scenario just stopped working. Like I said there are no error messages from make or even when I check the history there are no errors in the scenario.
The only other thing I can think of is maybe its over usage limits for the month but even when I check my current operation usage count it shows that I am not over it yet. If there is another usage limit or setting I should check let me know.
Would like to know if anyone else has had a problem like this and how they were able to get past it.
Hi Marcus, does the scenario run appear on the scenario history? If It does appear as Success it could be that your agent is not using the function or the response webhook is not formatted correctly, you can check the vapi agent tool calls request on ‘Observe’ ‘Webhook Logs’ there select the one you want, then go to response, if it’s empty it means that your webhook response is not formatted correctly and you vapi agent cannot read it
Hey Jonathan, thank you for your input I do have a few answers to your solution and a question. So I will try what you have suggested and see if that is the case.
I am just confused because if you are saying that maybe my webhook is not formatted correctly would my scenario and Vapi booking agent work before? Meaning my scerario and booking agent on Vapi was doing everything fine it was checking for availability and booking appointments. Then it sopped working but I did not change anything to my webhook or scenario both when it was working and not working now. So do you still think it could be something with my webhook despite it working before with no chnages being made on my side.
Again thanks for responding and willing to give me advice I am looking forward to your reply.
Thanks Marcus
It could be a lot of things, your agent not using the functions, your agent not filling all of the required parameters of the function, your agent not having the function available, your function not having the webhook URL of the scenario on it, your webhook response string being too long and breaking the JSON format, it could be the prompt of your assistant not being specific enough
You can test your agent live by clicking “run once” on the scenario, then tell your agent to use the function. You can see there if the scenario uses the modules in the way you want.