The Google Calendar Event ID is an automatically generated ID that is created whenever you create a new calendar event in Google Calendar.
In order to update a Google Calendar Event, you are required to provide Workato the ID of the Google Event that you would like us to update.
To get the Google Calendar Event ID, here are two ideas:
- Store the Google Calendar ID in the app object that triggers the recipe (or any other related object/app), and simply use that field to update the Google Calendar Event. For example, if you have an Event Object in Salesforce, you can simply add a Custom Field in the Event Object to store the Google Calendar ID. In this case, you can either 1) Build a recipe that creates a Salesforce Event whenever a Google Calendar Event is created and simply fill in the Google Calendar Event ID into Salesforce when you create the Salesforce Event OR 2) Build a recipe that create the Google Calendar whenever the Salesforce Event is created and simply update the Salesforce Event with the Google Calendar ID after the Google Calendar Event is created.
- Alternatively, you can simply do an event search in Google Calendar. You can search based on Calendar ID, Calendar Name, Event Name, Date From and Date to. Do note that this method is not as accurate as the first one provided above because your search result may yield more than one record. In that case, the recipe will simply update the first result returned by the API or you can use the Repeat Action to cycle through each of the records and take actions conditionally. Additionally, changing event names will not yield any results in your search action.