Realtime Notion Todoist 2-way sync with Redis
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 Fantastic...
Template notes
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
[](https://youtu.be/k66j6ZspjCg)
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 current task is retrieved from both sides. - Redis is used to prevent from endless loops, since an update in one system triggers another webhook call again. Using the ID of the task, the trigger is being locked down for 15 seconds. - Depending on the detected changes, the other side is updated accordingly. Generally Notion is treaded as the main source. Using an "Obsolete" Status, it is guaranteed, that tasks never get deleted entirely by accident. - The Todoist ID is stored in the Notion task, so they stay linked together - An additional full sync workflow daily fixes inconsistencies, if any of them occurred, since webhooks cannot be trusted entirely. - Since Todoist requires a more complex setup, a tiny workflow helps with activating the webhook. - Another tiny workflow helps generating a global config, which is used by all workflows for mapping purposes.
Mapping (Notion >> Todoist)