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.

n8n
Backup n8n Workflows with Versioning & Notion Tracking

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.

$19.99
Last updated October 10, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Miscellaneous workflows

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.