Wix code and Google Calendar API

Has anybody ever used the Google Calendar API with Wix code to take user input to create a calendar event? On our website, when we close a sale I want the sales staff to be able to enter the ship-by date on the site and have it take that information to our Google calendar through the Google calendar API.

Any thoughts on this?

Hello,

You can use this solution here to do that : Free Add to Calendar Button - AddEvent

Goodluck,
Majd

Hey Majd,

Thanks for this resource! How would you recommend implementing that code on the site? Where would you put the code they provide?

There are 2 other ways:

  1. use the Google NPM (from Editor/Backend/Install Node packages
  2. use wix-fetch with Zapier. Zapier has standard zaps for this

If you are still interested, here is a working example of How to integrate Google Calendar API directly with Corvid: https://www.wix.com/corvid/forum/community-discussion/tutorial-google-calendar-api-create-event-in-your-google-calendar-with-corvid

Hey Shan, great work. Now we have both possibilities covered: I did the Zapier solution ( https://girizano.wixsite.com/codecorner/post/writing-events-to-google-calendar-with-zapier and you did the NPM solution. I will give it a try soon and see if I can get the Google calendar event ID back after creation, so you can later also update or delete the event (so you will have to store it in a Corvid collection)

Keep up the great work!

Thanks Giri!

Love your Zapier example!

@shantanukumar847 And for people who wonder which one to choose, I think for heavy usage, Shan´s solution , independent of Zapier is better. This is because Zapier´s free level only gives you 100 uses of your Zap per month (I found out because I received a Zapier email warning me that I almost reached my monthlly limit).

Hi guys, I’ve been trying to implement ‘Dude Lemons’ https://www.wix.com/corvid/forum/community-discussion/tutorial-google-calendar-api-create-event-in-your-google-calendar-with-corvid

I keep receiving a ‘Not Found’ error when trying to submit to the calendar> I’ve tried everything I can think of but it seems from Googles documentation that there is an access issue?


Would anyone be able to help? It feels so close to working but can’t get the data to pass to the calendar.

Thank you!

@giri-zano