Realtime Notion-Todoist 2-way Sync
detail.loadingPreview
Automate your workflow by syncing tasks between Notion and Todoist in real-time. This template provides a robust setup for bidirectional synchronization, ensuring your tasks are always up-to-date across both platforms.
About This Workflow
This workflow synchronizes tasks between Notion and Todoist, allowing for real-time updates in both directions. It's designed to be a comprehensive solution for managing your to-do lists and project tasks efficiently.
Key Features
- Bidirectional sync: Changes made in Notion are reflected in Todoist, and vice-versa.
- Project and section mapping: Configure specific Notion databases and Todoist projects for synchronization.
- Status synchronization: Tasks can be marked as complete or incomplete across platforms.
- Task creation and updates: New tasks in Notion can be created in Todoist, and existing tasks can be updated.
- OAuth integration for Todoist: Securely connect your Todoist account.
- Setup helper: Guides you through the initial configuration process.
How To Use
Workflow Setup:
-
**Initial Setup (Form Triggers):
- Notion-Todoist Sync Setup Helper: Start by clicking 'Begin'.
- Choose Notion Database: Select the Notion database you want to sync from the dropdown.
- Choose Todoist Project: Select the Todoist project you want to sync from the dropdown.
-
**Todoist OAuth Authentication (for Webhook setup):
- Todoist Webhook Setup Helper: Enter your Todoist Developer App 'Client ID' and 'Client secret'.
- The workflow will then redirect you to Todoist to authorize the connection. This step is crucial for enabling webhooks, which facilitate real-time updates.
-
**Configuration Output:
- Return config JSON: After the setup steps, this node will output a JSON configuration. Copy this JSON.
-
**Global Variables:
- Navigate to your n8n workflow editor.
- Click on 'Globals' in the left-hand sidebar.
- Paste the copied JSON into the 'Globals' section. This makes the
database_idandproject_idavailable to the main sync nodes.
Synchronization Logic:
-
Fetch Data: The workflow fetches all relevant tasks from both your selected Notion database (
Notionnode) and Todoist project (Todoistnode). -
Compare Datasets: The
Compare Datasetsnode merges and identifies differences between the Notion and Todoist tasks. -
Process Differences: Based on the comparison, the workflow determines which tasks need to be created, updated, or marked as completed/incomplete.
- New Tasks (Notion to Todoist): If a task exists in Notion but not in Todoist (identified by the absence of a 'Todoist ID' in Notion), a new task is created in Todoist.
- Updated Tasks (Notion to Todoist): If a task exists in both but has been updated in Notion, the corresponding Todoist task is updated.
- Completed Tasks (Notion to Todoist): If a task's status in Notion is 'Done', the corresponding Todoist task is marked as completed.
- Incomplete Tasks (Todoist to Notion): If a task's status in Todoist changes (e.g., reopened), the corresponding Notion task is updated to reflect its current status.
Important Notes:
- 'Todoist ID' Property in Notion: Ensure your Notion database has a text property named exactly 'Todoist ID' (case-sensitive) to store the Todoist task ID. This is crucial for linking tasks and enabling bidirectional sync.
- Filtering in Notion Node: The
Notionnode has specific filters to only pull tasks that are not 'Done' or 'Obsolete', and are either 'Focused' or have a 'Due' date. Adjust these filters if your workflow requires different criteria. - Credentials: Ensure you have set up the correct n8n credentials for both Notion and Todoist.
- Webhook Setup: For true real-time sync, ensure your Todoist Developer App is correctly set up with a webhook URL pointing to your n8n instance's webhook. This workflow includes a helper for this OAuth authentication process.
Apps Used
Workflow JSON
{
"id": "5dde77a9-c2d4-4a6c-a829-84a0e1ef0a2a",
"name": "Realtime Notion-Todoist 2-way Sync",
"nodes": 14,
"category": "Productivity",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 5dde77a9-c2d4...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Related Workflows
Discover more workflows you might like
Automated Text Transformations via Apple Shortcuts
Leverage Apple Shortcuts to send text for translation, grammar correction, or length adjustment using OpenAI.
Text Automation with Apple Shortcuts and OpenAI
Automate text transformations like translation, grammar correction, and summarization using Apple Shortcuts and OpenAI.
Auto-label Incoming Gmail Emails with AI
Automatically categorize and label incoming Gmail emails using OpenAI's GPT-4o mini model.