Backup n8n Workflows with Versioning & Notion Tracking
Copies workflows from source n8n to destination with daily date prefixes for versioning, implements rolling retention, and tracks executions in Notion.
This workflow automates the backup of n8n workflows from a source instance to a destination 'slave' repository. Inspired by existing solutions, it enhances functionality by prefixing copied workflow names with the current date (e.g., '2025_08_03_PDF Summarizer'), allowing multiple versions for easy tracking and rollback. It fetches workflows via the n8n API, creates prefixed copies on the destination, deletes old versions based on a configurable retention policy, and logs key metrics like execution date and workflow count to a Notion database.
The process includes advanced logic: calculating retention dates by subtracting days from today, limiting operations for safety, and central Notion tracking for audit trails. A rolling retention example keeps 2-3 days of versions, automatically purging older ones to manage storage efficiently.
Benefits include disaster recovery, version control without manual exports, and centralized monitoring. Ideal use cases: development teams syncing prod-to-dev workflows, agencies backing client automations, or solo users maintaining historical versions for debugging. Saves hours of manual copying and reduces risk of data loss.
Setup is straightforward: create a Notion database with specific fields, input API credentials for both n8n instances and Notion, adjust retention days, and test with a low limit.
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Related bundle
Content Repurposing Engine
8 hand-picked workflows for $29.00.
That is $3.63 each, vs $19.99 for this one alone.
View bundleSecure checkout powered by Stripe
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Miscellaneous workflows
- Analyze and audit website SEO$2.99
- itemMatching() Usage Example for Data Linking in n8n$6.99
- Get notified about Notion updates via Gmail$3.99
- 🌸 CFO Sunrise: Morning Brief for Household CEOs$14.99
- Automate Multi-Bank Sync & Reporting: GoCardless to Maybe Finance$22.99
- Awork Time Tracking Enforcement & Cleanup Automation$19.99
More from Mateusz Rasmussen
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.