Sync workflow schedules between Google Sheets and Google Calendar — Flujo de trabajo n8n

Alta complejidad Programado18 nodos🏷️ Personal Productivitypor Paolo Ronco

Descripción general

Sync n8n Workflow Schedules to Google Calendar

Reads every workflow on your n8n instance every 30 minutes, extracts their schedule triggers, and keeps a matching recurring event on Google Calendar — one event per workflow, forever in sync.

How it works

Schedule Trigger (30 min) → GET /api/v1/workflows — fetch all workflows → Code: parsing — extract scheduleTrigger / cron nodes → Sheets: Lookup — read saved state (schedule, On Calendar, EventID)

Nodos utilizados

Google SheetsGoogle CalendarCode

Vista previa del flujo de trabajo

🕒 n8n – Workflow Scheduling Extraction
Scans all active n8n workflows every 30 min · syncs sch
A · Fetch
Retrieves all n8n workflows via the n8n REST API. Both
B · Parse & Lookup
Normalises each workflow's trigger configuration into a
C · Change Detection
Merges live workflow data with Sheets state. Compares `
D · Create / Update Path
Builds a Google Calendar recurring event payload (RRULE
E · Delete Old Event
Runs in parallel with branch D on update. Deletes the p
F · Webhook Sub-flow *(disconnected – manual
Standalone maintenance endpoint. Accepts an HTTP POST w
Schedule Trigger
Fires every 30 min (cron `*/30 * * * *`).
Also supports manual execution from the n8n UI.
Entry point for the entire sync pipeline.
Get many workflows
Calls `GET /api/v1/workflows` on the local n8n instance
Returns all workflows (active + inactive).
No filter applied here — filtering is done in Code: par
Code: parsing
- Filters to workflows that have a `scheduleTrigger` no
- Excludes system / internal workflows by name
- Normalises trigger config → human schedule string
- Extracts: WorkflowID,
Code: save current values
Snapshots all parsed fields into `current_*` prefixed c
(e.g. `current_schedule`, `current_freq`, …).
Preserves the live state before it is overwritten by th
Sheets: Lookup ExistOnCalendar
Reads every row in the "n8n Scheduling" tab of the spre
Returns per-workflow: `schedule`, `On Calendar`, `Calen
Uses a Goog
Code manual merge
Joins live workflow items with Sheets rows on WorkflowI
Propagates from Sheets: `schedule`, `On Calendar`, `Cal
`current_*` fields are kept intact from Code: sa
Code: detect changes
Compares `current_schedule` (live) vs `schedule` (Sheet
Uses only the human string — not granular fields — to a
- Empty saved schedule
Switch
Routes items by the `action` field:
- `out0` → create (new workflow, no Calendar event yet
- `out1` → update (schedule changed; two parallel bran
- `out2` → skip
Remove Duplicates
Deduplicates by WorkflowID before event creation.
Defensive node: prevents accidental double-creation if
appears multiple times in the current batch (e.g. after
Code: RRULE
Converts `current_schedule` string → Google Calendar ev
Supported types: daily · weekly (with or without specif
Hourly →
Create an event
Google Calendar node. Creates a recurring event on `YOU
Uses `repeatFrequency` + `repeatUntil = null` for infin
Returns the full GCal ev
Code: post-create
Aggregates created event IDs by WorkflowID (handles bat
Adds `On Calendar = YES`, `Calendar_EventID`, `calendar
Prepares the exact row stru
Sheets: OnCalendar=YES
`appendOrUpdate` operation matching on the WorkflowID c
Writes all schedule fields + `On Calendar=YES` + `Calen
Service Account
Code: split eventIds for delete
Splits the `Calendar_EventID` field (comma-separated st
Required because a workflow can accumulate multiple eve
Feeds
Delete old event
Deletes the previous Calendar event(s) when a schedule
`continueOnFail = true` — HTTP 410 "Resource has been d
Ter
Webhook
HTTP POST trigger for manual Calendar cleanup.
Not connected to the main 30-min pipeline.
Accepts event IDs in the request body.
Get many events2
Retrieves Calendar events by ID or search query.
Feeds the event list into Delete an event.
Delete an event
Hard-deletes Calendar events by ID.
Used only in the manual webhook-triggered maintenance f
n8n Workflow Scheduling Extraction
Reads all n8n workflows every 30 min via REST API, extr
S
Schedule Trigger
Code: parsing
Create an event
Code: RRULE
Delete an event
Get many events2
R
Remove Duplicates
Sheets:Lookup-ExistOnCal…
Sheets:OnCalendar=YES
G
Get many workflows
W
Webhook
Code: detect changes
S
Switch
Code: save current values
Code manual merge
Code: post-create
Code: split eventIds for…
Delete old event
18 nodes17 edges

Cómo funciona

  1. 1

    Disparador

    El flujo de trabajo comienza con un disparador programado, ejecutándose según un horario definido.

  2. 2

    Procesamiento

    Los datos fluyen a través de 18 nodos, connecting code, googlecalendar, googlesheets.

  3. 3

    Salida

    El flujo de trabajo completa su automatización y entrega el resultado al destino configurado.

Detalles de nodos (18)

GO

Google Sheets

googleSheets

#1
GO

Google Calendar

googleCalendar

#2
CO

Code

code

#3

Cómo importar este flujo de trabajo

  1. 1Haz clic en el botón Descargar JSON a la derecha para guardar el archivo del flujo de trabajo.
  2. 2Abre tu instancia de n8n. Ve a Flujos de trabajo → Nuevo → Importar desde archivo.
  3. 3Selecciona el archivo sync-workflow-schedules-between-google-sheets-and-google-calendar descargado y haz clic en Importar.
  4. 4Configura las credenciales para cada nodo de servicio (claves API, OAuth, etc.).
  5. 5Haz clic en Probar flujo de trabajo para verificar que todo funcione, luego actívalo.

O pega directamente en n8n → Importar desde JSON:

{ "name": "Sync workflow schedules between Google Sheets and Google Calendar", "nodes": [...], ...}

Integraciones

codegooglecalendargooglesheetsn8nremoveduplicatesscheduletriggerswitchwebhook

Obtener este flujo de trabajo

Descarga e importa con un solo clic

Descargar JSONVer en n8n.io
Nodos18
Complejidadhigh
Disparadorscheduled

Creado por

Paolo Ronco

Paolo Ronco

@paoloronco

Etiquetas

codegooglecalendargooglesheetsn8nremoveduplicatesscheduletriggerswitchwebhook

¿Nuevo en n8n?

n8n es una herramienta de automatización de flujos de trabajo gratuita y de código abierto. Alójala tú mismo o usa la versión en la nube.

Obtener n8n gratis →

Related Personal Productivity Workflows

CODIFIHT+8
high

Automate Epic Games Freebie Alerts via Discord & Puppeteer

Never miss a premium title again with this advanced n8n automation designed to track the Epic Games Store's rotating free game catalog. This workflow leverages the power of the Puppeteer community node to perform headless browser scraping, bypassing traditional static HTML limitations to detect real-time changes in the store's interface. By monitoring specific DOM containers, the automation identifies new releases, processes game metadata through custom JavaScript logic, and formats the data into professional Discord embeds. Beyond simple notifications, this flow incorporates robust error handling and looping mechanisms to ensure delivery even if a specific request fails. For community managers or gaming enthusiasts, this replaces the manual chore of daily store checks with a high-performance, set-and-forget monitoring system. It effectively demonstrates how to combine web scraping, data transformation, and third-party API integrations into a cohesive, production-ready automation pipeline. **Common Use Cases:** - Community Engagement for Gaming Servers - Automated Content Sourcing for Gaming News Portals - Real-time Price and Promotion Monitoring for Digital Goods

Scheduled·20 nodes
AIGOGOHT+5
high

Automate Forex News Alerts: Telegram & Google Sheets n8n Flow

Bridge the gap between economic data releases and trade execution with this sophisticated n8n automation. This workflow monitors Forex Factory and MyFxBook in real-time, instantly pushing critical news data and live price fluctuations for affected currency pairs directly to Telegram and Google Sheets. By automating the data capture process, traders eliminate the manual lag of refreshing browser tabs during high-volatility events. The flow systematically parses 'Actual' vs. 'Forecast' figures, calculates market impact, and logs the live price at the exact moment of the release for backtesting accuracy. Whether you are scaling a proprietary trading desk or managing personal capital, this template ensures you never miss a high-impact news event. It utilizes advanced conditional logic to filter relevant currency pairs and Airtop integration for seamless data extraction, providing a professional-grade infrastructure for algorithmic or semi-automated trading strategies. **Common Use Cases:** - Real-time sentiment analysis by syncing economic surprises to a centralized trading dashboard. - Automated journal logging for backtesting the correlation between news deviations and price slippage. - Telegram-based trade signal triggers that bridge economic calendar events to MetaTrader 4 execution.

Trigger·34 nodes
CHGMGOIF+6
high

AI Meeting Briefing Automation: n8n, OpenAI & Slack Guide

Stop walking into meetings unprepared. This advanced n8n workflow acts as an automated executive assistant, delivering comprehensive attendee intelligence directly to your Slack workspace. Instead of manually digging through old threads, the automation triggers hourly to scan your Google Calendar for upcoming appointments. Once a meeting is detected, the flow initiates a deep search across Gmail to extract the most recent correspondence and activity history for every participant. By leveraging OpenAI’s Large Language Models (LLMs) and LangChain integration, the workflow synthesizes disparate data points into a concise, high-value briefing. It identifies key talking points, previous blockers, and the current relationship status with each stakeholder. This ensures you have the full context needed to drive decisions without the pre-meeting administrative burden. Perfect for high-volume sales teams, account managers, and executives, this template transforms how you prepare for calls by replacing manual research with instant, AI-generated insights delivered precisely when they are most relevant. **Common Use Cases:** - High-Stakes Sales Discovery: Automatically briefing Account Executives on a prospect's recent support tickets and email inquiries before a demo. - Client Relationship Management: Equipping Account Managers with a summary of the last three months of cross-departmental communication before a quarterly business review. - Executive Leadership Syncs: Providing CEOs with rapid context on internal stakeholders' recent project updates and Slack mentions prior to board or department meetings.

Scheduled·18 nodes
AGCOGOGO+6
medium

AI Assistant for Finding Nearby Workspaces via n8n & Slack

Maximize your billable hours and productivity with this intelligent AI-driven workflow designed to turn schedule gaps into efficient work sessions. This automation acts as a personal concierge for mobile professionals and digital nomads. By proactively monitoring your Google Calendar, the system identifies upcoming free periods between appointments. It then utilizes OpenRouter AI and Google Maps API to scout nearby cafes or coworking spaces that match your specific preferences. Unlike manual searching, this workflow analyzes your current location and travel time to ensure you never waste a moment. Once a prime location is identified, the workflow pushes a detailed notification to Slack, including navigation links and venue details. This eliminates decision fatigue and the stress of finding reliable Wi-Fi or a quiet environment on the fly. From a technical perspective, the flow triggers on a schedule, scrapes calendar data, processes spatial logic via custom Code nodes, and leverages an LLM agent to make qualitative recommendations based on live data, ultimately logging your visits in Google Sheets for future reference. **Common Use Cases:** - Field Sales Optimization: Automatically suggesting quiet cafes for account managers to update CRM records between client on-site visits. - Executive Assistant Automation: Providing traveling executives with curated 'third-space' options for impromptu deep-work sessions without manual research. - Digital Nomad Productivity: Syncing with a dynamic travel schedule to identify the best-rated workspaces with high-speed internet in new cities.

Scheduled·12 nodes
AGEMFIGO+7
high

Automate Excel to Google Calendar Sync with AI Summaries

Stop manually copying spreadsheets into your schedule. This advanced n8n automation streamlines event management by transforming static Excel files into dynamic Google Calendar entries using GPT-4o-mini. The workflow monitors your Google Drive for new schedules, extracts raw data, and utilizes a dual-layer AI analysis to validate dates and categorize events with high precision. Unlike basic sync tools, this logic includes a structured output parser to ensure data integrity and a smart enrichment phase that adds context to every calendar invite. Once the calendar is updated, the system generates a human-readable executive summary of the week's agenda and distributes it via email automatically. This is a game-changer for professionals managing high-volume scheduling tasks where human error is a risk. By integrating OpenAI’s LLMs directly into the data pipeline, the workflow handles inconsistent formatting and complex project timelines that traditional automation tools often fail to process. It effectively acts as an AI executive assistant, ensuring your team stays synchronized without a single manual click. **Common Use Cases:** - Academic Term Scheduling: Automatically syncing university lecture timetables from faculty spreadsheets to student-facing calendars. - Project Milestone Tracking: Converting complex Excel project trackers into visual deadlines for cross-functional engineering teams. - Shift Management for Healthcare: Transforming weekly staff rosters into individual calendar invites with automated shift summaries sent to personnel.

Scheduled·17 nodes
AGAGCODA+9
high

AI Agent: Auto-Sync Gmail/Outlook to Google Tasks & To Do

Stop losing critical action items in your overflowing inbox. This advanced n8n workflow leverages a sophisticated multi-agent AI system powered by Mistral Large to intelligently bridge the gap between your communication and project management. Unlike simple triggers, this flow uses an autonomous Orchestrator Agent that analyzes the context of incoming emails from both Gmail and Microsoft Outlook. It determines if an email is truly actionable, extracts the core requirement, and assigns it to the appropriate platform—be it Google Tasks or Microsoft To Do. The automation executes a multi-step logic sequence: first, it fetches unread messages through specialized integrations; second, it utilizes a memory-buffered Mistral AI agent to structure the data into high-quality task descriptions; and finally, it employs sub-agents to handle rate-limiting and platform-specific API calls. This ensures a seamless, error-free transfer of data without manual intervention. By centralizing your cross-platform tasks into a single source of truth, you eliminate context switching and ensure that high-priority client requests or internal directives are never overlooked. It is the ultimate productivity engine for professionals managing hybrid ecosystems. **Common Use Cases:** - Executive Assistant Automation: Automatically triaging executive inboxes and converting stakeholder requests into prioritized task lists. - Project Management Sync: Converting client feedback received via email into actionable tickets within a team's shared Microsoft To Do or Google environment. - Freelance Workflow Optimization: Managing multiple client communication channels by consolidating all 'next steps' into a unified personal dashboard.

Scheduled·26 nodes