Google Calendar (Service Account) icon

Google Calendar (Service Account)

Access Google Calendar API using Service Account

Event → Delete

AI-generated

Summary

Delete an event from a specified Google Calendar using a service account for authentication.

Inputs

  • Authentication (required) — Choose the authentication method: either use saved n8n credentials ('Credential') or enter service account credentials manually for each execution ('Manual').
  • Service Account Email (required) — The email address of the service account to authenticate with (required if using Manual authentication).
  • Private Key (required) — The private key of the service account (required if using Manual authentication).
  • Impersonate Email (Optional) — Email of a user to impersonate, applicable only with domain-wide delegation (optional).
  • Calendar ID (required) — The identifier of the calendar containing the event to delete. Use 'primary' for the user's primary calendar.
  • Event ID (required) — The unique identifier of the event to delete.

Output shape

a single JSON object per input item with a success status and the deleted event's ID

Returns an object with 'success' set to true and the 'eventId' of the deleted event. If the deletion fails and 'Continue on Fail' is enabled, returns an error message object instead.

Examples

Example 1: Delete an event from the primary calendar using saved credentials

Set Authentication to 'Credential', provide 'Calendar ID' as 'primary', and specify the 'Event ID' to delete.

Discussion