Vapi - google calendar problem in Make.com
# support
f
hello, I have two problems when integrating Vapi with Google Calendar, mainly when booking appointments. Problem 1: Incorrect booking time When I test the payload from Vapi, the lead is added to Google Calendar, but with the wrong time. Instead of the appointment being added on Friday at 7:00 PM, it will be entered on Friday at 5:00 PM (5:00 PM). I checked the time zone settings in both Vapi and Google Calendar, but the error still persists. It could be a time conversion problem, but I don't know exactly where. Problem 2: Random dates in the calendar When I test the AI ​​assistant to book dates, various random dates start to be added to Google Calendar. Although the assistant arranges a meeting, the calendar starts to fill up with random dates. I don't know if it's an API problem or something is not working properly with the sync between Vapi and Google Calendar. I have Google Calendar linked in Make.com, but I don't know if there is anything special to set up or verify. Details: Time Zone: Europe/Prague (I use it in Make.com and Google Calendar) Error: "Failed to map 'timeMax': Function 'addMinutes' finished with error! Invalid date." Integration: Vapi -> Google Calendar (Reservation of appointments) Can anyone advise me where the problem might be and how to fix it? Thank you! https://cdn.discordapp.com/attachments/1292927467832737926/1292927468503564358/Snimka_obrazovky_2024-10-07_o_20.37.42.png?ex=67058409&is=67043289&hm=c54b6d02769be08277dd115f0df1fa1acf647f2d1a75e69ef13698247ed46262& https://cdn.discordapp.com/attachments/1292927467832737926/1292927468780523680/Snimka_obrazovky_2024-10-07_o_20.35.04.png?ex=67058409&is=67043289&hm=b1dd3349de548860e8a412beffa06f0ebc7bfaccb41b34141533dff15ffa5d98& https://cdn.discordapp.com/attachments/1292927467832737926/1292927469136908288/Snimka_obrazovky_2024-10-07_o_20.34.44.png?ex=6705840a&is=6704328a&hm=8e75a0614cfa1b2bfe30107f1b3d238355d80afd0e10c86cd27c11cd040d7d79& https://cdn.discordapp.com/attachments/1292927467832737926/1292927469485297767/Snimka_obrazovky_2024-10-07_o_20.34.28.png?ex=6705840a&is=6704328a&hm=b70bf9bada8d29c9127fd9b36a55281c577e4da00aab62d9d32b6c747c41185c& https://cdn.discordapp.com/attachments/1292927467832737926/1292927469825032234/Snimka_obrazovky_2024-10-07_o_20.33.54.png?ex=6705840a&is=6704328a&hm=65ece30f80a0a6527e9a70e3877fc529aa848cfeef9b3cdca4a71786dac8a638& https://cdn.discordapp.com/attachments/1292927467832737926/1292927470101594183/Snimka_obrazovky_2024-10-07_o_20.21.41.png?ex=6705840a&is=6704328a&hm=655d3a68e57984d363c4daef8730dc521c3c37afbc024b53ab237bc6649b9f28& https://cdn.discordapp.com/attachments/1292927467832737926/1292927470445662240/Snimka_obrazovky_2024-10-07_o_20.43.19.png?ex=6705840a&is=6704328a&hm=8b39d3c3c1893d1c1c5c0a94de6ea6ab87a8ddd4c9a2c0dfccd070eb1c520c3c& https://cdn.discordapp.com/attachments/1292927467832737926/1292927470990790696/Snimka_obrazovky_2024-10-07_o_20.42.56.png?ex=6705840a&is=6704328a&hm=523bc8ecccf9b13de7de9a22640bc6fc0f15c3db4227a5e58bd7675f5e858e4e&
v
message has been deleted
@Fanfantulipan Hello! I'm here to help you with your integration issues between VAPI and Google Calendar. For Problem 1: Incorrect booking time, it seems like there might be an issue with time zone conversions. Here are a few steps you can take to troubleshoot this: 1. Double-check the time zone settings in both VAPI and Google Calendar to ensure they match. 2. Verify that the time sent in the payload from VAPI is in the correct time zone format. 3. Check if there's any time zone conversion happening in Make.com that might be altering the time. For Problem 2: Random dates in the calendar, this could be due to a misconfiguration in the way the AI assistant is setting up the appointments. Here's what you can do: 1. Review the logic that the AI assistant uses to determine the dates for booking. Ensure it's using the correct parameters and not generating random dates. 2. Inspect the integration flow in Make.com to see if there's a step that's incorrectly processing the dates. 3. Check for any errors in the logs that might indicate why the random dates are being added. Regarding the error message you've received ("Failed to map 'timeMax': Function 'addMinutes' finished with error! Invalid date."), it suggests there might be an issue with the date format being passed to the 'addMinutes' function. Ensure that the date format is valid and recognized by the function. If you've checked all these and the problem persists, it might be helpful to look at the actual API requests being made and the responses received. If you're not sure how to do this or if you need further assistance, please ask support for more info on this. Remember to keep sensitive information such as API keys and personal data secure when sharing details for troubleshooting.
You can continue this conversation by mentioning me in the message.
f
I'm currently having a bit of a specific problem with how to move data from VAPI tool calls to Make. When I test it manually through the test payload, everything works perfectly and the lead is added to Google Calendar as it should. But as soon as I try to use the webhook to automatically send the data, the meeting is either not added at all or the wrong data (like time or date) is added. It looks like the webhook is not working as it should, even though the payload is the same. I'm not entirely clear where the problem might be. Tried checking timezones, date format and those steps you suggested but still nothing. Do you have any idea where the error could be? Is it necessary to set up data reception via webhook in Make in some other way or can there be any other difference compared to manual testing? I also looked at the call logs in VAPI and there the tool call is executed correctly, so it seems that the data is being sent, it's just that Make is not processing it correctly. Thanks in advance for your help! https://cdn.discordapp.com/attachments/1292927467832737926/1292929382054232074/Snimka_obrazovky_2024-10-07_o_21.17.30.png?ex=670585d2&is=67043452&hm=d75fc476c9ef8e4cec36ef1f255834a6f9ed8c6e3222762f515ae4baa15048f0& https://cdn.discordapp.com/attachments/1292927467832737926/1292929382545100800/Snimka_obrazovky_2024-10-07_o_21.18.46.png?ex=670585d2&is=67043452&hm=14c837fb9ec0be405107ed882be085c5317bb9c978b7d403094b0b70dd726ef5&
😢
s
@Fanfantulipan can you share call id and explain expected vs actual responses along with timestamps?
f
I made a new make scenario, where it already correctly books time, writes both the name and the description in google calendar, but the only problem now is that it cannot find out the information about availability, because when I asked about the date 16.10 at 12:00 pm, it said that it is free and he reserved it, even though it was already booked. Make will find out when I have a busy appointment in the calendar, but it doesn't seem to want to go through, I will contact make.com support and try to find out there. Here is the call id 1d615979-0c17-423d-8d2a-cf4acbf205c8 https://cdn.discordapp.com/attachments/1292927467832737926/1293635080149012622/Snimka_obrazovky_2024-10-09_o_19.42.25.png?ex=6708170d&is=6706c58d&hm=c51e4231e9b0ba31b0fc085ec71185173aaf43ae96972913b222a99cc45acfea& https://cdn.discordapp.com/attachments/1292927467832737926/1293635080580763710/Snimka_obrazovky_2024-10-09_o_19.49.30.png?ex=6708170d&is=6706c58d&hm=45f0da8002d0206e2927604070154cce596efee06504b6fc0edbc1c739cc6d11&
s
@Fanfantulipan let's resolve it over the call ping me when your back.
l
Is this issue resolve already?
f
ohh, thank you very much 🙏 I'm here when you have time, we can go for it.
s
let's connect tomorrow in discord OH.
9 Views