AcademyWorkflowsOperations

Backup workflows to GitHub

Operations and automation teams that want a version-controlled copy of their n8n workflows.

  • Recommendedour rating
  • 9,364views on n8n
Open on n8n.io ↗

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

backup-workflows-to-github.json

Loading the file...

What it does

This n8n workflow runs every night and saves your n8n workflows to a GitHub repository. It reads them through n8n's internal API, which is not official and may stop working in the future. The run time can be changed in the Cron node.

Use cases

  1. 01Keep a nightly copy of all workflows in GitHub
  2. 02Recover a workflow after an accidental change
  3. 03Track how workflows change over time

Connects

GitHub · HTTP Request

Questions about
Backup workflows to GitHub.

What is Backup workflows to GitHub used for?

Operations and automation teams that want a version-controlled copy of their n8n workflows. This n8n workflow runs every night and saves your n8n workflows to a GitHub repository. It reads them through n8n's internal API, which is not official and may stop working in the future. The run time can be changed in the Cron node.

How do I import Backup 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 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.