Realtime Notion Todoist 2-way Sync with Redis — рабочий процесс n8n

Высокая сложность🔗 Webhook176 узлов🏷️ Personal Productivity👁 6,533 просмотровот Mario

Обзор

Purpose

This solution enables you to manage all your Notion and Todoist tasks from different workspaces as well as your calendar events in a single place.

All tasks can be managed in Todoist and additionally Fantastical can be used to manage scheduled tasks & events all together.

Demo & Explanation

How it works

The realtime sync consists of two workflows, both triggered by a registered webhook from either Notion or Todoist To avoid overwrites by lately arriving webhook calls, every time the

Использованные узлы

HTTP RequestRedisTodoistCryptoGmailNotionCodeHTML

Предпросмотр рабочего процесса

Keep in sync
if you update the mapping, make sure to change it in th
Keep in sync
if you update the mapping, make sure to change it in th
Set Globals
Use Sync Setup Helper Workflow to generate the JSON and
Update section for each task in Todoist using
Unidirectional sync from Notion to Todoist
Get open/incomplete tasks from both Notion an
Generate an email report containing all chang
Set Globals
Use Sync Setup Helper Workflow to generate the JSON and
Store more information, which was not availab
Set focussed flag, so it remains in Todoist e
Create Notion page if it does not exist
Update Notion page if it needs to be changed
Checking for a cached flag in Redis, to preve
Retrieve Notion page, so it can be compared a
Store more information, which was not availab
Store relevant information in highlighted exe
Trigger based synchronization from Todoist to
Following nodes reference to this node, so th
This prevents the creation of duplicates in N
Update section for in Todoist using the Sync
Delete the task if it does not fit into the f
Update the task if it needs to be changed
Notion tries to deliver webhooks again. To en
Set Globals
Use Sync Setup Helper Workflow to generate the JSON and
Continues on error, so it is not necessary to
Following nodes reference to this node, so th
Store relevant information in highlighted exe
Store more information, which was not availab
Instead of deleting pages in Notion, it is a
In rare cases Notion fires multiple webhooks
The mapping is more advanced and also include
Checking for a cached flag in Redis, to preve
Trigger based synchronization from Notion to
Configure Webhook
Grab the webhook URL and use it in the Notion automatio
Only sync focussed & planned tasks for effici
The mapping between the Notion and Todoist ta
The Todoist ID is being cached in Redis for 1
Create task if it does not exist (anymore)
Edge case: the task has been moved from Obsol
Todoist Webhook Router Example (optional)
Since Todoist sends the updates of all projects to a si
To do so, create a separate workflow, each
Using the event type from Todoist is the only
The mapping is more advanced and also include
Previous node always returns output data, sin
Reverse mapping the Section/Status
Update section for in Todoist using the Sync
Store more information, which was not availab
The Notion ID is being cached in Redis for 15
Delete Notion page if Todoist task has been d
Store more information, which was not availab
Handle tasks only found in Notion. This can s
Handle tasks which show differences between b
Handle tasks only found in Todoist. This can
Set Schedule
Set the preferred period. Usually once a day, likely ou
Preparing data for comparing
Set mail address
Provide the email address where the report should be se
If consuming data from the Notion Webhook Emu
Register Webhook in Todoist App
Grab the URL from here and add it to the Todosit develo
Set project ID and name
The ID can be copied from JSON in Globals Node.
If syncing multiple Todoist projects, use the router de
Replace trigger
Use this trigger in the sub-workflows instead
Register Webhook
Configure this webhook in the Todoist App as mentioned
Set project IDs and names
Copy each project ID from the JSON of the different Glo
Select sub-workflows
Choose the sub-workflows based on the branch of the Swi
0. Start here
Notion
- A database must already exist (get a basic template h
1. Generate config JSON for Globals Nodes
The sync workflows have a Node named "Globals", which c
2. Setup Todoist Webhook
- In the Todoist App open Settings > Integrations > Dev
- Click "Create new integration"
- App name: "Notion-Todoist Sync" / Name of your n8n
4. Setup Notion Webhook
You can choose from two options and also choose differe
3. Activate Todoist Webhook
Webhooks are a bit different in Todoist then usual. A D
This fl
Retrieve Todoist task, which can be completed
Using advanced retry logic, since the "Get many tasks"
Todoist webhooks can arrive late. To ensure t
Using advanced retry logic,
Overwrite description with Notion URL
Copy task description initially to Notion, be
5. Finishing Touches
Cleanup
Now technically everything is ready, but it is missing
Get Notion Databases
Prep Dropdown
Prep Dropdown1
Generate config
C
Choose Notion Database
C
Choose Todoist Project
V
Verify security token
Generate security token
Store variables
Get variables
R
Redirect to Auth Page
O
OAuth redirect
Exchange Tokens
R
Respond with success
R
Respond with error
Get Notion Database ID
Get Todoist Project ID
N
Notion-Todoist Sync Setu…
T
Todoist Webhook Setup He…
R
Return config JSON
Notion
C
Compare Datasets
E
Exists/Completed in Notion
I
If Todoist ID exists
Store Todoist ID
L
Loop Over Items
Get Notion Task
Update Task in Todoist
P
Pick Todoist Fields
Map Notion to Todoist
Update task in Todoist b…
Map Notion to Todoist1
Handle empty dates
Handle empty dates1
Handle empty dates2
Create task in Todoist
A
Add project ID
Lock Todoist ID
Generate UUID
Update section (Sync API)
S
Status changed
A
Aggregate
P
Prepare Batching Items
L
Loop Over Items1
S
Status is Done
Lock Todoist ID1
Lock Todoist ID2
Update task in Todoist
G
Get mapped item
G
Get mapped item1
S
Schedule Trigger
P
Prepare summary data
P
Prepare summary data1
M
Merge
P
Prepare summary data2
F
Filter out status changes
Map Todoist to Notion
M
Map summary fields
Convert to HTML Table
Generate email body
G
Get mapped item2
Gmail
M
Merge summary
G
Globals
E
Execute Workflow Trigger
D
Differences exist1
R
Requires completion chan…
Create task in Notion
Update task in Notion
Mark as Done in Notion
Mark as Obsolete in Notion
Mark as In Progress in N…
O
Only continue if not loc…
Lock Notion ID
Check if Todoist ID is l…
D
Description has changed …
Generate UUID1
Update section (Sync API)1
Get Backlog Section ID
N
Notion Task not found
Check if creating flag e…
O
Only continue if flag do…
Set creating flag1
N
Neither focussed nor pla…
Mark as Focussed in Notion
T
Todoist trigger reference
Get Notion Task2
N
Notion Task found1
S
Switch by Event
I
If event is not :deleted
E
Execution Data
E
Execution Data1
E
Execution Data2
E
Execution Data3
E
Execution Data4
G
Globals1
Map Todoist to Notion1
Get Notion Task1
R
Requires completion change
H
Has been completed?
D
Differences exist
O
Only continue if not loc…
Check if Notion ID is lo…
Get Notion task
Check if creating flag e…
O
Only continue if flag do…
Set creating flag
T
Todoist ID exists?
G
Get todoist ID
T
Todoist ID exists
G
Get todoist ID1
S
Status changed but not e…
S
Status is Obsolete?
S
Status is not Done
N
Neither focussed nor pla…
N
Notion trigger reference
N
Notion Webhook
Store Todoist ID1
Update task in Todoist1
G
Globals2
Generate UUID2
Update section (Sync API)2
Lock Todoist ID4
Map Notion to Todoist2
Create task in Todoist1
E
Execution Data5
E
Execution Data6
T
Todoist Webhook
E
Execute Workflow
E
Extract IDs
S
Split out Notion changes
B
Body is array?
S
Switch by project
W
Webhook
S
Switch
E
Execute Workflow1
D
Due date empty
H
Has not been completed?
E
End here
R
Retry limit reached
S
Set tries
U
Update tries
W
Wait
C
Catch known error
I
If tries left
R
Retry limit reached1
S
Set tries1
U
Update tries1
W
Wait1
C
Catch known error1
I
If tries left1
S
Set tries2
U
Update tries2
W
Wait2
C
Catch known error2
I
If tries left2
R
Retry limit reached2
Turn Markdown into Notio…
H
Handle each block separa…
Append Notion Block
Get projects
Get sections
Todoist
Mark as Incomplete in To…
Get Todoist Task
Mark as Completed in Tod…
Delete Task in Todoist
I
If not deleted
Get Todoist Task2
Delete Task in Todoist2
Mark as Completed in Tod…
Mark as Incomplete in To…
Update Description in To…
Update Description in To…
Get Todoist Task1
I
If not deleted1
176 nodes201 edges

Как это работает

  1. 1

    Триггер

    Рабочий процесс запускается триггером webhook.

  2. 2

    Обработка

    Данные проходят через 176 узлов, connecting aggregate, code, comparedatasets.

  3. 3

    Вывод

    Рабочий процесс завершает автоматизацию и доставляет результат в настроенное место назначения.

Детали узлов (176)

HT

HTTP Request

httpRequest

#1
RE

Redis

redis

#2
TO

Todoist

todoist

#3
CR

Crypto

crypto

#4
GM

Gmail

gmail

#5
NO

Notion

notion

#6
CO

Code

code

#7
HT

HTML

html

#8

Как импортировать этот рабочий процесс

  1. 1Нажмите кнопку Скачать JSON справа, чтобы сохранить файл рабочего процесса.
  2. 2Откройте ваш экземпляр n8n. Перейдите в Рабочие процессы → Новый → Импорт из файла.
  3. 3Выберите скачанный файл realtime-notion-todoist-2-way-sync-with-redis и нажмите Импортировать.
  4. 4Настройте учётные данные для каждого узла сервиса (ключи API, OAuth и т.д.).
  5. 5Нажмите Протестировать рабочий процесс, чтобы убедиться в правильной работе, затем активируйте его.

Или вставьте напрямую в n8n → Импорт из JSON:

{ "name": "Realtime Notion Todoist 2-way Sync with Redis", "nodes": [...], ...}

Интеграции

aggregatecodecomparedatasetscryptoexecuteworkflowexecuteworkflowtriggerexecutiondatafilterformformtriggergmailhtmlhttprequestifmergenotionredisrespondtowebhookscheduletriggerset

Получить этот рабочий процесс

Скачайте и импортируйте одним кликом

Скачать JSONПросмотреть на n8n.io
Узлы176
Сложностьhigh
Триггерwebhook
Просмотры6,533
КатегорияPersonal Productivity

Создан

Mario

Mario

@octionic

Теги

aggregatecodecomparedatasetscryptoexecuteworkflowexecuteworkflowtriggerexecutiondatafilterformformtrigger

Новичок в n8n?

n8n — бесплатный инструмент автоматизации рабочих процессов с открытым исходным кодом. Разверните самостоятельно или используйте облачную версию.

Получить n8n бесплатно →

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