Package Information
Documentation
n8n-nodes-google-calendar-push
A community node for n8n that triggers workflows in real time via Google Calendar Push Notifications (webhook-based), without polling.
Built by Ivan Lao — Marketing Automation & AI Specialist.
Features
- ⚡ Real-time triggers — no polling, instant delivery via Google Calendar Push API
- 📅 Multi-calendar support — monitor multiple calendars simultaneously in a single node
- 🔁 Auto-renewal — channels are automatically renewed before expiration (30-day lifecycle)
- 🔍 Trigger type detection — distinguishes
CREATED,UPDATED, andDELETEDevents - 🧠 Deterministic channel IDs — prevents duplicate channels on re-activation
- 🔒 OAuth2 authentication — uses standard n8n Google OAuth2 credentials
Installation
From n8n UI (recommended)
- Go to Settings → Community Nodes
- Click Install
- Enter:
@ivanlaomarketing/n8n-nodes-google-calendar-push - Confirm and restart n8n if prompted
Via CLI
npm install @ivanlaomarketing/n8n-nodes-google-calendar-push
Prerequisites
- n8n instance publicly accessible (the webhook URL must be reachable by Google)
- A Google Cloud project with the Calendar API enabled
- An OAuth2 credential configured in n8n for Google Calendar
Google OAuth2 Setup
- Go to Google Cloud Console
- Create or select a project
- Enable Google Calendar API
- Create OAuth 2.0 credentials (Web application)
- Add your n8n instance URL as an authorized redirect URI:
https://your-n8n-instance/rest/oauth2-credential/callback - In n8n, create a new Google OAuth2 API credential and paste the Client ID and Secret
Configuration
Add the Google Calendar Push Trigger node to your workflow and configure:
| Field | Description |
|---|---|
| Credential | Google OAuth2 credential with Calendar access |
| Calendar IDs | One or more calendar IDs to monitor (e.g. me for primary, or a full calendar email) |
| Max Results | Maximum number of events to fetch per notification (default: 10) |
Finding your Calendar ID
- Open Google Calendar
- Click the three dots next to a calendar → Settings and sharing
- Scroll to Integrate calendar → copy the Calendar ID
How It Works
- On workflow activation, the node registers a push notification channel via the Google Calendar Events: watch API for each configured calendar.
- Google sends a
POSTrequest to the n8n webhook URL whenever a calendar event changes. - The node fetches the changed events using the syncToken (incremental sync) and emits them.
- On workflow deactivation, all registered channels are stopped via the Channels: stop API.
- Channels are valid for 30 days and are renewed automatically.
Output Format
Each trigger execution emits one item per event:
{
"triggerType": "CREATED",
"event": {
"id": "abc123",
"title": "Team Meeting",
"description": "Weekly sync",
"location": "Conference Room",
"status": "confirmed",
"start": {
"dateTime": "2026-03-05T10:00:00+01:00",
"timeZone": "Europe/Rome"
},
"end": {
"dateTime": "2026-03-05T11:00:00+01:00",
"timeZone": "Europe/Rome"
},
"created": "2026-03-01T08:00:00.000Z",
"updated": "2026-03-01T08:00:01.000Z",
"attendees": [],
"organizer": {
"email": "you@example.com",
"self": true
},
"recurrence": [],
"recurringEventId": null,
"originalStartTime": null,
"htmlLink": "https://www.google.com/calendar/event?eid=...",
"conferenceData": null
},
"calendarId": "you@example.com",
"calendarName": "My Calendar",
"_sync": {
"channelId": "wfId_calendarId",
"channelExpiresAt": "2026-04-01T08:00:00.000Z",
"processedAt": "2026-03-01T08:00:02.000Z"
}
}
Trigger Types
| Value | Description |
|---|---|
CREATED |
A new event was added to the calendar |
UPDATED |
An existing event was modified |
DELETED |
An event was cancelled or removed |
Troubleshooting
"Bad request — please check your parameters" on activation
The webhook URL must be publicly reachable by Google. Verify that https://your-n8n-instance/webhook/.../gcal-push is accessible from the internet.
"There is already an entry with this name" on activation
A stale webhook entry exists in n8n. Fix without restarting:
- Delete the trigger node from the workflow
- Save
- Re-add the node with the same configuration
- Save and activate
Duplicate events arriving
This occurs when Google sends multiple push notifications for the same change (documented behavior). The node includes built-in deduplication based on eventId + updated timestamp with a 5-minute TTL window.
Unknown channel warnings in logs
After reconfiguring the node, old channels may send pings for up to 30 days. These are automatically ignored and will stop after expiration — no action needed.
Events not arriving
- Confirm the n8n webhook URL is publicly reachable
- Check that the Google Calendar API is enabled in your Google Cloud project
- Verify the OAuth2 token has the
https://www.googleapis.com/auth/calendar.readonlyscope - Check n8n logs for
[GCalPush]entries
Compatibility
| n8n version | Status |
|---|---|
| 1.x | ✅ Supported |
| 0.x | ⚠️ Not tested |
Contributing
Pull requests and issues are welcome on GitHub.
Author
Ivan Lao — Marketing Automation & AI Specialist
🌐 laoivan.com
💼 LinkedIn
▶️ YouTube