Automatically document and backup N8N workflows
Automatically backs up your workflows to Github and generates documentation in a Notion database. - Weekly run, uses the "internal-infra" tag to look for new...
🔌 Nodes & Integrations Used (6)
📖 Implementation & Setup Guide
Automatically backs up your workflows to Github and generates documentation in a Notion database.
- Weekly run, uses the "internal-infra" tag to look for new or recently modified workflows
- Uses a Notion database page to hold the workflow summary, last updated date, and a link to the workflow
- Uses OpenAI's 4o-mini to generate a summarization of what the workflow does
- Stores a backup of the workflow in GitHub (recommend a private repo)
- Sends notification to Slack channel for new or updated workflows
Who is this for
- Anyone seeking backup of their most important workflows
- Anyone seeking version control for their most important workflows
Credentials required
- N8N: You will need an N8N credential created so the workflow can query the N8N instance to find all active workflows with the "internal-infra" tag
- Notion: You will need an Notion credential created
- OpenAI: You will need an OpenAI credential, unless you intend on rewiring this with your AI of choice (ollama, openrouter, etc.)
- GitHub: You will need an GitHub credential
- Slack: You will require an Slack credential, recommend a Bot / access token configuration
Setup
#### Notion
- Create a database with the following columns. Column type is specified in [type].
- - Workflow Name [text]
- - isActive (dev) [checkbox]
- - Error workflow setup [checkbox]
- - AI Summary [text]
- - Record last update [date/time]
- - URL (dev) [text/url]
- - Workflow created at [date/time]
- - Workflow updated at [date/time]
#### Slack
- Create a channel for updates to be posted into
#### Github
- Create a private repo for your workflows to be exported into
#### N8N
- Download & install the template
- Configure the blocks to use your N8N, Notion, OpenAI & Slack credentials for your own
- Edit the "Set Fields" block and change the URL to that of your N8N instance (cloud or self-hosted)
- Edit the "Add to Notion" action and specify the Database page you wish to update
- Edit the Slack actions to specify the Channel you want slack notifications posted to
- Edit the GitHub actions to specify the Repository Owner & Repository Name
**Sample output in Notion**
**Workflow diagram**
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Automatically document and backup N8N workflows.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related Docs, PDF & OCR Workflows
View All in Docs, PDF & OCR →Add articles to a Notion list by accessing a Discord slash comma
This workflow allows you to add articles to a Notion reading list by accessing a Discord slash command. Prerequisites - A Notion account and [credentials](),...
Adobe PDF Services API Automation
Production-ready n8n automation template for Adobe PDF Services API Automation built by AhiXLight. Seamlessly connects HTTP Request, Execute Workflow Trigger, Dropbox with 20 configured nodes.
Adobe PDF Services API Workflow
Production-ready n8n automation template for Adobe PDF Services API Workflow built by AhiXLight. Seamlessly connects HTTP Request, Execute Workflow Trigger, Dropbox with 20 configured nodes.
AI Brand Voice Content Generator
Production-ready n8n automation template for AI Brand Voice Content Generator built by AhiXLight. Seamlessly connects Lm Chat Open Ai, Information Extractor, HTTP Request with 27 configured nodes.