workflows.fit
Back to n8n workflows
n8n templateFreeBy Maksym Brashenko

Automated workflow backup with intelligent change detection using GitHub

Advanced n8n Workflow Sync with GitHub A robust workflow to back up and synchronize your n8n workflows to a GitHub repository, with intelligent change detection and support for file renames. 🎯 Who's it for? This work...

DevelopmentCommunicationHITLCore NodesUtilitySplit In BatchesGithubSchedule Trigger
Loading interactive preview...

Template notes

Advanced n8n Workflow Sync with GitHub

A robust workflow to back up and synchronize your n8n workflows to a GitHub repository, with intelligent change detection and support for file renames.

🎯 Who's it for?

This workflow is for n8n administrators, developers, and power users who want a reliable, automated way to:

- Keep a version-controlled history of their workflows. - Collaborate on workflows using GitHub's infrastructure. - Prevent data loss and have a disaster recovery plan for their n8n instance.

✨ Key Features (What it does)

- Intelligent Sync: Backs up all your n8n workflows to a designated GitHub repository. - Human-Readable Filenames: Saves workflows with filenames based on their actual names in n8n (e.g., My Awesome Workflow.json). - Reliable Matching: Uses the unique n8n workflow ID to reliably track files, even if their names change. - Rename Detection: If you rename a workflow in n8n, it intelligently deletes the old file and creates a new one in a single logical operation. - Efficient Commits: Commits changes to GitHub only when there are actual modifications to a workflow's logic or structure. It performs a deep comparison, ignoring metadata changes. - Clear Commit History: Generates clean, informative commit messages: - create: workflowName - update: workflowName - rename: oldName - newName

⚙️ How It Works (Simple Steps)