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.

0
Downloads
4897
Views
8.74
Quality Score
beginner
Complexity
Created:8/14/2025
Updated:8/25/2025

🔒 Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments