Sync Notion task dates and time blocks with Google Calendar two ways
Ready for 3.0What this workflow does
This workflow has 26 nodes and runs manually, when you click “Execute workflow” (plus 2 other triggers). Along the way it connects Notion and Google Calendar.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 2 other triggers).
- Backfill: Get Open Future Tasks (Notion): get many (database page)
- Normalize Task (Code): runs custom JavaScript code
- Parse Google Event (Code): runs custom JavaScript code
- Needs Calendar Sync? (If): checks a condition and branches into true / false
- Get Notion Page (Notion): get (database page)
- Route Sync Action (Switch): routes items into 5 branches
- Compare With Notion (Code): runs custom JavaScript code
- Create Event (timed) (Google Calendar): uses Google Calendar
- Create Event (all-day) (Google Calendar): uses Google Calendar
- Update Event (timed) (Google Calendar): update
…plus 13 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (9)
- Notion Trigger
n8n-nodes-base.notionTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Switch
n8n-nodes-base.switch - Google Calendar
n8n-nodes-base.googleCalendar - Notion
n8n-nodes-base.notion - Stop and Error
n8n-nodes-base.stopAndError - Manual Trigger
n8n-nodes-base.manualTrigger - Google Calendar Trigger
n8n-nodes-base.googleCalendarTrigger
From the author
Quick Overview This workflow keeps Notion tasks and a dedicated Google Calendar in sync for time blocking, creating, updating, or deleting calendar events based on Notion task dates and writing the Google event ID back to Notion, while also pushing Google…