⚙️ Restore your workflows from GitHub

2,778 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

This workflow restores all n8n instance workflows from GitHub backups using the n8n API node. It complements the Backup Your Workflows to GitHub template by allowing users to seamlessly restore previously saved workflows.

How It Works

The workflow fetches workflows stored in a GitHub repository and imports them into your n8n instance.

Setup Instructions

To configure the workflow, update the Globals node with the following values:

For example, if your GitHub username is john-doe, your repository is named n8n-backups, and workflows are stored in a workflows/ folder, you would set:

Required Credentials

Who Is This For?

This template is ideal for users who want to restore their workflows from GitHub backups, ensuring easy migration and recovery in case of data loss.


Check out my other templates:
👉 My n8n Templates

🔗 Nodes Used

GitHub, HTTP Request, n8n, Extract from File

📥 Import

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

📖 Importing guide · 🔑 Credential setup