Templates / Back up and restore n8n workflows with GitHub sync

Back up and restore n8n workflows with GitHub sync

Ready for 3.0

by Muhammad Anas Farooq ✓ · 423 views · created 2026-01-15 · 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 27 nodes and runs on a schedule (every day at 19:00) (plus 1 other trigger). Along the way it connects GitHub.

How it runs

Trigger: On a schedule (every day at 19:00) (plus 1 other trigger).

  1. Set Github Data (Edit Fields (Set)): sets 2 fields: repo_owner, repo_name
  2. Set Github Data (Edit Fields (Set)): sets 2 fields: repo_owner, repo_name
  3. Get Download Url for Index File (GitHub): get (file)
  4. List Workflow Files (GitHub): list (file)
  5. Get Index File Content (HTTP Request): calls an HTTP API
  6. Index File Not Found (If): checks a condition and branches into true / false
  7. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  8. Workflows Folder Not Found (If): checks a condition and branches into true / false
  9. Get All Workflows (n8n): uses n8n
  10. Create Index File (GitHub): work with file

…plus 15 more steps. See the full node list below.

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 (12)

From the author

n8n Workflows GitHub Manager > A comprehensive n8n workflow that provides complete bidirectional sync between your n8n instance and GitHub - automatically backs up all your workflows with intelligent change detection AND restores them when needed. This…

Excerpt from Muhammad Anas Farooq'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.