Delete Event
Controlled node
Overview
Deletes a calendar event from Google Calendar. This node handles both single events and recurring events, allowing you to either delete a specific occurrence of a recurring event or the entire series.
For recurring events, the node first retrieves the event details to determine if it's part of a recurring series. If you choose to delete "this event only" for a recurring event instance, it will cancel that specific occurrence while preserving the rest of the series. If you choose to delete "all events in series", it will delete the master recurring event, removing all instances.
This node requires a Google Calendar connection to be configured in the connections input. Ensure you have authenticated with Google Calendar before using this node.
Inputs
| Input | Type | Description | Default |
|---|---|---|---|
| Run | Event | Fires when the node starts running | - |
| Event ID | Text | The unique identifier of the calendar event to delete | - |
| Calendar ID | Text | The ID of the calendar containing the event. Use 'primary' for the user's primary calendar | primary |
| Delete Recurring | Enum | For recurring events, determines whether to delete only this occurrence or the entire series. Options: this (This event only) or all (All events in series) | this |
| Connections | Connection | Google Calendar connection for authentication | - |
Outputs
| Output | Type | Description |
|---|---|---|
| Done | Event | Fires when the node has finished executing |
| Result | Data | Contains the deletion result or error information |
Runtime Behavior
When triggered, the node validates that an eventId is provided. If the event is part of a recurring series and "this event only" is selected, the node cancels that specific instance by updating its status to 'cancelled'. If "all events in series" is selected for a recurring event, it deletes the master event (the recurringEventId), which removes all instances of that series. For non-recurring events, it performs a standard deletion.
The node will return an error in the result output if:
- No event ID is provided
- The event cannot be found
- The Google Calendar API returns an error
Example
Deleting a specific meeting instance:
- Connect a node that provides an event ID (e.g., from a List Events node) to the
Event IDinput - Set
Delete Recurringto "This event only" (default) - Trigger the
Runevent - The specific occurrence is cancelled and the
Doneevent fires
Deleting an entire recurring series:
- Provide the event ID of any instance in the series
- Set
Delete Recurringto "All events in series" - Trigger the
Runevent - The entire recurring series is deleted and the
Doneevent fires