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.

What this workflow does

This workflow has 12 nodes and runs manually, when you click “Execute workflow”. Along the way it connects GitHub.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Globals (Edit Fields (Set)): sets or maps fields
  2. n8n: uses n8n
  3. GitHub: list (file)
  4. Merge: merges the data from its input branches
  5. Set n8n existing workflows names (Edit Fields (Set)): sets 1 field: name
  6. GitHub: get (file)
  7. Merge: merges the data from its input branches
  8. Set name and content (Edit Fields (Set)): sets 2 fields: content, name
  9. If: checks a condition and branches into true / false
  10. n8n: create

Services it uses

GitHub

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (7)

From the author

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…

Excerpt from Agent Studio's description on n8n.io.

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.