Templates / Daily workflow backups to GitHub with Slack notifications

Daily workflow backups to GitHub with Slack notifications

Ready for 3.0

by Andrew ✓ · 5,785 views · created 2025-07-10 · 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 16 nodes and runs on a schedule (every day). Along the way it connects GitHub and Slack.

How it runs

Trigger: On a schedule (every day).

  1. Starting Message (Slack): uses Slack
  2. Config (Edit Fields (Set)): sets 4 fields: repo_owner, repo_name, repo_path…
  3. Get Workflows (n8n): uses n8n
  4. Filter: keeps only the items that match a condition
  5. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  6. Completed Notification (Slack): uses Slack
  7. Get a file (GitHub): get (file)
  8. Merge: merges the data from its input branches
  9. Is File too large? (If): checks a condition and branches into true / false
  10. isDiffOrNew (Code): runs custom JavaScript code

…plus 5 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 (12)

From the author

Who is this for? This workflow is ideal for n8n self-hosted users, DevOps engineers, and automation developers who want to automatically back up their n8n workflows to GitHub on a regular basis. What problem is this workflow solving Manually backing up n8n…

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