I'm trying to build a calendar sync that copies calendar events from Calendar A to Calendar B in google cal. In order to be able to keep these updated, Google Calendar's API allows you to create events with a specific ID. I don't see this option is enabled via Lindy. Is there any workaround for this?
Hey David! Hmmm, something super simple like this should work. I just tested it out -- It will copy all the details from the previous event and include it in the new calendar event on the other calendar. Just ensure that you authorize a different google cal for the second action. Is this what you're looking for?
Hi Alon, thanks for the response. The problem isn't creating an event, it's trying to keep in sync. If you update this event in Calendar 1, there's no way to find it to update it in Calendar 2 (rename the meeting name when you do this exercise) You need to be able to set the event ID to be able to do this. https://developers.google.com/workspace/calendar/api/v3/reference/events#id
Ah got it! Just tested this flow, this should work. One trigger to create the calendar event. Another trigger to update it, when updated. You can set the Event ID in a 'Set Variable' action. It should be able to find it in the update action. Just as an FYI, this only goes one way. So you'll have to create the same flow for the calendars from B -> A if you want to do that
Is "Set Variable" permanently persisted across tasks? What if you create event 1, create event 2, update event 1, would this work?
per the instructions it says this variable is only persisted during that specific task run, so not sure this would work in the future
