Restore backed up workflows from GitHub to n8n
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 ...
🔌 Nodes & Integrations Used (2)
📖 Implementation & Setup Guide
Restore backed up workflows from GitHub to your n8n workspace. This workflow was inspired by [this one](https://n8n.io/workflows/1534-back-up-your-n8n-workflows-to-github/) 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 - It retrieves the workflows saved in a GitHub repository. - Then compares these saved workflows with the ones in your n8n workspace based on the name. - It will only create them if they don't already exist.
Set up steps
- Open the "Global" node and set your own information (see Configuration below)
- Click on "Test workflow"
- 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 - repo.owner: your GitHub owner name - repo.name: your GitHub repository name - repo.path: the path within the GitHub repository
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Restore backed up workflows from GitHub to n8n.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related DevOps & GitHub Workflows
View All in DevOps & GitHub →Generate Google Doc Proposal
Production-ready n8n automation template for Generate Google Doc Proposal built by AhiXLight. Seamlessly connects Execute Workflow Trigger, Google Drive, OpenAI with 7 configured nodes.
Add a new lead to Pipedrive once GitHub repo is forked
This workflow automatically adds a new lead to Pipedrive once someone forks your GitHub repository. Prerequisites - Pipedrive account and Pipedrive credentia...
Add the affiliate to a program automatically
This workflow allows you to create an affiliate, add metadata, and add the affiliate to a program. !workflow-screenshot Tapfiliate node: This node allows you...
Add a note to Pipedrive s contact once PR is added on GitHub
This workflow automatically adds a note of the PR from GitHub to the Pipedrive contact if their GitHub email matches a Person in Pipedrive. Prerequisites - P...