π Automatically document n8n workflows directly in Notion database
β‘ 4,860 views Β· π Internal Wiki & Knowledge Base
Description
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 a Notion database if it has the tag sync-to-notion.
Screenshot 20240228 at 21.03.27.pngScreenshot 20240228 at 21.03.21.png
How to setup
- Add your n8n api creds
- Add your Notion creds
- Create notion database with fields
env idastext,isActive (dev)asboolean,URL (dev)asurl,Workflow created atasdate,Workflow updated atasdate,Error workflow setupasboolean(Make sure page is connected) - Add tag
sync-to-notionto some workflows
π Nodes Used
HTTP Request, Notion, n8n, Schedule Trigger
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File