FM
FlowMarket
DevOps & GitHub Advanced ⚡ 26 n8n Nodes

Back up your n8n workflows to Github

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...

🔌 Nodes & Integrations Used (5)

Execute Workflow Trigger n8n HTTP Request GitHub Slack

📖 Implementation & Setup Guide

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.

Config Options **repo_owner** - Github owner

**repo_name** - Github repository name

**repo_path** - Path within the Github repository

>This workflow has been updated to use the n8n node and the code node so requires at least version 0.198.0 of n8n

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Back up your n8n workflows to Github.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related DevOps & GitHub Workflows

View All in DevOps & GitHub →