Templates / Bidirectional GitHub workflow sync & version control for n8n workflows

Bidirectional GitHub workflow sync & version control for n8n workflows

Ready for 3.0

by Wikus Bergh · 2,465 views · created 2025-06-20 · 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 22 nodes and runs on a schedule (every week). Along the way it connects GitHub.

How it runs

Trigger: On a schedule (every week).

  1. Set GitHub Details (Edit Fields (Set)): sets 3 fields: github_account_name, github_repo_name, repo_workflows_path
  2. n8n: uses n8n
  3. List files from repo (GitHub): list (file)
  4. n8n vs GitHub (Compare Datasets): uses Compare Datasets
  5. Filter: keeps only the items that match a condition
  6. Json file (Convert to File): converts data to a file (to json)
  7. If: checks a condition and branches into true / false
  8. Create new workflow in n8n (n8n): create
  9. GitHub: get (file)
  10. To base (Extract from File): extracts data from a file (binary to propery)

…plus 11 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 (10)

From the author

Who is this for? This template is ideal for n8n administrators, automation engineers, and DevOps teams who want to maintain bidirectional synchronization between their n8n workflows and GitHub repositories. It helps teams keep their workflow backups…

Excerpt from Wikus Bergh'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.