workflows.fit
Back to n8n workflows
n8n templateFreeBy Shashikanth

Backup workflows to git repository on Github

[Source code](https://code.swecha.org/shashikanth/n8n-templates/-/tree/main/backup-worflows), I maintain this worflow here. Usage Guide This workflow backs up all workflows as JSON files named in the [workflowname].js...

DevelopmentCore NodesGithubSetN8nSplit In Batches
Loading interactive preview...

Template notes

[Source code](https://code.swecha.org/shashikanth/n8n-templates/-/tree/main/backup-worflows), I maintain this worflow here.

Usage Guide

This workflow backs up all workflows as JSON files named in the [workflowname].json format.

Steps

1. Create GitHub Repository - Skip this step if using an existing repository.

2. Add GitHub Credentials - In Credentials, add the GitHub credential for the repository owner.

3. Download and Import Workflow - Import this workflow into n8n.

4. Set Global Values - In the Globals node, set the following: - repo.owner: GitHub username of the repository owner. - repo.name: Name of the repository for backups. - repo.path: Path to the folder within the repository where workflows will be saved.