Templates / Restore backed up workflows from GitHub to n8n

Restore backed up workflows from GitHub to n8n

Ready for 3.0

by Agent Studio ✓ · 5,694 views · created 2024-06-11 · DevOps

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

Nodes used (7)

GitHub

What it does

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 - 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 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 - repo.owner: your GitHub owner name - repo.name: your GitHub repository name - repo.path: the path within the GitHub repository

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.