⚙️ Restore backed up workflows from GitHub to n8n

5,597 views · ⚙️ DevOps & CI/CD

💡 Pro Tip — If you need GitHub data beyond what the REST API gives you, ScraperNode has a repository scraper that extracts metadata at scale without token rate limits.

View All Scrapers

Description

Restore backed up workflows from GitHub to your n8n workspace. This workflow was inspired by this one that lets you back up your n8n workflows to GitHub. It will let you restore your backed up workflows in your workspace, without creating duplicates. In case of issue with your instance, it will save you a lot of time to restore them.

How it works

Set up steps

  1. Open the “Global” node and set your own information (see Configuration below)
  2. Click on “Test workflow”
  3. It will run through all the workflows in the GitHub repository, check if the name doesn’t already exist in your workspace and, in this case, create it.

Configuration

🔗 Nodes Used

GitHub, n8n

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup