Google Calendar:Delete Event
Controlled node
Overview
Delete an event or cancel a recurring occurrence.
Delete an event from a connected calendar, or cancel a single occurrence of a recurring event. This changes the calendar and notifies attendees.
Inputs
| Input | Type | Description |
|---|---|---|
| run | Event | Triggers this operation. |
| eventId | Text | Required event id from List Events, or event.id from Get Event/Create Event. |
| calendarId | Text | Calendar containing the event. Defaults to primary; use List Calendars to find another calendar’s id. |
| deleteRecurring | Choice | This event only (this, default) or All events in series (all). For a single occurrence, supply its occurrence ID. |
Properties
| Setting | Type | Description |
|---|---|---|
| connections | Connection | Select an authenticated Google Calendar connection from this project in the properties panel. |
Outputs
| Output | Type | Description |
|---|---|---|
| result | Data | Successful deletion returns success: true with a message. Cancelling an occurrence returns success: true with the updated event. Failures contain error. |
| done | Event | Fires when the node returns, including when it returns an error result. Check the data output before continuing. |
This event only protects a single occurrence only when eventId identifies that occurrence. Supplying the series ID targets the series itself. Use List Events to obtain an occurrence ID and check it with Get Event before deleting.
Choosing All events in series with an occurrence ID targets its parent series. For a non-recurring event, either choice deletes that event.
Example
Get the target occurrence from List Events and inspect it with Get Event. Set its id as eventId, keep deleteRecurring set to This event only, and select the same calendar and connection. Trigger run only after confirming the target. Check result.success on done.