Automatically document n8n workflows directly in Notion database
Ready for 3.0What this workflow does
This workflow has 8 nodes and runs on a schedule (every 15 minutes). Along the way it connects Notion. It also calls api.notion.com over HTTP.
How it runs
Trigger: On a schedule (every 15 minutes).
- Get all workflows with tag (n8n): uses n8n
- Set fields (Edit Fields (Set)): sets 7 fields: active, url, errorWorkflow…
- Get notion page with workflow id (HTTP Request): calls api.notion.com (POST)
- Map fields (Edit Fields (Set)): sets 1 field: input
- If: checks a condition and branches into true / false
- Add to Notion (Notion): work with database page
- Update in Notion (Notion): update (database page)
Services it uses
HTTP calls to: api.notion.com
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 (6)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - n8n
n8n-nodes-base.n8n - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Notion
n8n-nodes-base.notion
From the author
Use case n8n workflows can go out of hand when you're automating as much as we do at n8n. We needed a place to document them and keep track of who owns and maintains them. To facilitate this we use this n8n workflow to automatically sync workflows directly to…