AcademyWorkflowsOperations

Backup your workflows to GitHub

Operations and automation teams that want their n8n workflows backed up outside the server, or ready to move to another server.

  • Recommendedour rating
  • 8,978views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

backup-your-workflows-to-github.json

Loading the file...

What it does

An n8n workflow template that exports all your n8n workflows through the n8n API and stores them in a GitHub repository. For each workflow it updates the file if it exists, creates it if it does not, and skips it when nothing has changed.

Use cases

  1. 01Keep a versioned copy of every n8n workflow
  2. 02Prepare a migration to another n8n server
  3. 03Recover a workflow that was changed or deleted

Connects

GitHub · HTTP Request · Code

Questions about
Backup your workflows to GitHub.

What is Backup your workflows to GitHub used for?

Operations and automation teams that want their n8n workflows backed up outside the server, or ready to move to another server. An n8n workflow template that exports all your n8n workflows through the n8n API and stores them in a GitHub repository. For each workflow it updates the file if it exists, creates it if it does not, and skips it when nothing has changed.

How do I import Backup your workflows to GitHub into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Backup your workflows to GitHub safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.