service-account-google-calendar

n8n node for Google Calendar with Service Account authentication

Package Information

Released: 10/29/2025
Downloads: 25 weekly / 172 monthly
Latest Version: 0.4.1
Author: Alexandre Jaques

Documentation

n8n-nodes-service-account-google-calendar

This is an n8n community node that allows you to use Google Calendar API with Service Account authentication instead of OAuth2.

Installation

Community Nodes (Recommended)

  1. Go to Settings > Community Nodes in n8n
  2. Select Install
  3. Enter n8n-nodes-service-account-google-calendar
  4. Agree to the risks and install

Manual Installation

npm install n8n-nodes-service-account-google-calendar

Setup

1. Create a Service Account

  1. Go to Google Cloud Console
  2. Create or select a project
  3. Enable the Google Calendar API
  4. Go to IAM & Admin > Service Accounts
  5. Click Create Service Account
  6. Give it a name and click Create
  7. Click on the created service account
  8. Go to Keys tab
  9. Click Add Key > Create New Key
  10. Select JSON and download the file

2. Configure Domain-Wide Delegation (Optional)

If you need to access calendars of users in your Google Workspace:

  1. In the service account details, click Show Domain-Wide Delegation
  2. Enable Domain-Wide Delegation
  3. Copy the Client ID
  4. Go to Google Workspace Admin Console
  5. Navigate to Security > API Controls > Domain-wide Delegation
  6. Click Add new
  7. Paste the Client ID
  8. Add the scope: https://www.googleapis.com/auth/calendar
  9. Click Authorize

3. Share Calendar with Service Account

Share your Google Calendar with the service account email address (found in the JSON file as client_email).

4. Configure n8n Credentials

  1. In n8n, create new credentials: Google Calendar Service Account API
  2. Enter the Service Account Email (from JSON: client_email)
  3. Enter the Private Key (from JSON: private_key)
  4. (Optional) Enter Impersonate User Email if using domain-wide delegation

Operations

Event

  • Create: Create a new calendar event
  • Get: Get a specific event
  • Get Many: List events from a calendar
  • Update: Update an existing event
  • Delete: Delete an event

Calendar

  • Get Many: List all calendars

Example Usage

Create an Event

  • Calendar ID: primary or specific calendar ID
  • Summary: Event title
  • Start: Event start time
  • End: Event end time
  • Additional Fields:
    • Description
    • Location
    • Attendees (comma-separated emails)

Compatibility

Tested with n8n version 1.0.0+

Resources

License

MIT

Discussion