CalendarTriggerBuilder
ScriptApp .newTrigger('findNewEvents') .forUserCalendar(Session.getActiveUser().getEmail()) .onEventUpdated() .create()
Here is what the above code is Doing:
1. Create a trigger that will run the findNewEvents function when a new event is created.
2. Create a trigger that will run the findNewEvents function when an existing event is updated.
3. Create a trigger that will run the findNewEvents function when an existing event is deleted.
4. Create a trigger that will run the findNewEvents function when an existing event is updated.