Update an event on google calendar using script

Hi guys

    I have created an app to schedule table reservations for restaurants. For each reservation, the app creates an event on Google Calendar. 

    But I don't how to update the Google Calendar event when it is modified in the app. Or even delete it. Any suggestion, for using a script and not a data source?  

    thank you

Solved Solved
0 3 157
1 ACCEPTED SOLUTION

thank you AleksiAlkio, I solved using appscripts when the record in agenda is updated, using the events class.

Regards

View solution in original post

3 REPLIES 3

If these two Events has some kind of relation so you could find the correct Event from the calendar, you could use a Bot for this purpose. 

The idea behind of this is.. when the app creates the calendar event, you need to copy the Event's key column value either into the primary table and its Title or Description columns. When that is happening, you can find out the correct and unique calendar event with the Bot and either modify or delete it.

thank you AleksiAlkio, I solved using appscripts when the record in agenda is updated, using the events class.

Regards

Top Labels in this Space