Templates / Automatically document n8n workflows directly in Notion database

Automatically document n8n workflows directly in Notion database

Ready for 3.0

by Mutasem ✓ · 4,892 views · created 2024-02-28 · Internal Wiki

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What 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).

  1. Get all workflows with tag (n8n): uses n8n
  2. Set fields (Edit Fields (Set)): sets 7 fields: active, url, errorWorkflow…
  3. Get notion page with workflow id (HTTP Request): calls api.notion.com (POST)
  4. Map fields (Edit Fields (Set)): sets 1 field: input
  5. If: checks a condition and branches into true / false
  6. Add to Notion (Notion): work with database page
  7. Update in Notion (Notion): update (database page)

Services it uses

Notion

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)

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…

Excerpt from Mutasem's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.