Templates / Automated workflow backups to GitHub with PR creation & Slack notifications

Automated workflow backups to GitHub with PR creation & Slack notifications

Ready for 3.0

by Bao Duy Nguyen ✓ · 756 views · created 2025-05-28 · 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 manually, when you click “Execute workflow”. Along the way it connects GitHub and Slack.

How it runs

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

  1. Define Local Variables (Edit Fields (Set)): sets 3 fields: branch_name, github_owner, repo_name
  2. n8n: uses n8n
  3. Get all workflows on GitHub (GitHub): list (file)
  4. Find new workflows (Merge): merges the data from its input branches
  5. Find updated workflows (Merge): merges the data from its input branches
  6. Get content for each workflow (GitHub): get (file)
  7. Wait until branch created (Merge): merges the data from its input branches
  8. Wait for finished (Merge): merges the data from its input branches
  9. Wait until branch created (Merge): merges the data from its input branches
  10. Base64decode workflow content (Edit Fields (Set)): sets or maps fields

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

Services it uses

GitHubSlack

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 DevOps engineers, automation specialists, and n8n users who manage multiple workflows and want a reliable version control system for backups. It’s especially useful for teams collaborating via GitHub. What problem…

Excerpt from Bao Duy Nguyen'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.