Skip to content
FlowHubFluxonLab
C
GitHubfree

Back Up Your n8n Workflows To Github

by Jonathanadapted from n8n official workflow galleryUpdated Aug 2026
RequiresCCodeGitHubGitHubHTTP RequestHTTP RequestSlack
Share Post Share
MaOn clicking 'execute'On clicking 'ex…EWExecute Workflow TriggerExecute Workflo…N8n8nSeReturnHRGet FileIfIf file too largeIf file too lar…MeMerge ItemsCoisDiffOrNewSwCheck StatusNOSame file - Do nothingSame file - Do …NOFile is differentFile is differe…NOFile is newCreate new fileEdit existing fileEdit existing f…SILoop Over ItemsScSchedule TriggerSeCreate sub pathStarting MessageEWExecute WorkflowCompleted NotificationCompleted Notif…Failed FlowsGet file dataSeConfig123456789
1/5
FLOWS
STEPS · 9
Run manually by an operator

This workflow will backup your workflows to Github. It uses the public api to export all of the workflow data using the n8n node. It then loops over the data checks in Github to see if a file exists that uses the workflow name. Once checked it will then update the file on Github if it exists, Create a new file if it doesn't exist and if it's the same it will ignore the file.

Tags

n8nreference-onlygithubslack
Connects
CCodegithubGitHubWHTTP RequestSlack
CategoryGitHub
Triggermanual
Complexityadvanced
Nodes23
AddedMar 17, 2022

Related workflows

See all GitHub
CgithubW
free

Backup your workflows to GitHub -- in (subfolders)

Based on Jonathan & Solomon work. > The only addition I've made is a Set node. This node organizes workflows into subfolders within the GitHub repository based on their respective tags. How it works This workflow will backup your workflows to GitHub. It uses the n8n API node to export all workflows. It then loops over the data, checks in GitHub to see if a file exists that uses the credential's ID. Once checked it will: update the file on GitHub if it exists; create a new file if it doesn't exist; ignore if it's the same. Who is this for? People wanting to backup their workflows outside the server for safety purposes or to migrate to another server.

by Nazmy
CgithubW
free

Backup Squarespace code Injections to Github

This workflow backup Squarespace website header and footer injections into Github How It Works The Squarespace injections are fetched when an URL is placed Setup Instructions First, edit HTTP Request's URL to put your Squarespace site URL there Next, to configure the Github, update the Globals node with the following values: repo.owner – Your GitHub username repo.name – The name of your GitHub repository storing the workflows repo.path – The folder path within the repository where workflows are stored For example, if your GitHub username is john-doe, your repository is named n8n-backups, and injections are stored in a squarespace-backup/ folder, you would set: repo.owner → john-doe repo.name → n8n-backups repo.path → squarespace-backup/ Each site's injections will be added into seperate folder Required Credentials GitHub API – Access to your repository Who Is This For? This template is made for Squarespace users who want to backup their header and footer injections at interval to or on demand Check out my other templates: 👉 My n8n Templates

by bangank36
CgithubW
free

Triage and deduplicate GitHub issues with Claude Sonnet 4.5

Quick overview Detect and merge duplicate GitHub issues automatically using Claude AI. This n8n automation triggers on new GitHub issues, checks them against open issues for duplicates, merges duplicate reports into the original, and applies AI-generated labels or requests missing reproduction steps. How it works Triggers automatically when a new GitHub issue is opened, kicking off AI-powered issue triage. Fetches up to 30 currently open GitHub issues from the same repository as duplicate-detection candidates. Sends the new issue and the candidate list to Claude AI, which assigns labels, detects duplicate issues, and drafts a reproduction-request comment when needed. If Claude AI flags the issue as a duplicate, the automation labels the new issue, links it to the original GitHub issue, and comments with a reference back to it. For duplicate issues, the workflow also updates the original issue's body with a tracked "reported by N users" summary and posts a comment merging in the new report's details — keeping duplicate GitHub issues consolidated instead of scattered across separate threads. If the issue isn't a duplicate, Claude AI applies the right labels and, when reproduction ste

by Cullen Brown