Templates / Back up all workflows to GitHub with daily schedule and Telegram /backup

Back up all workflows to GitHub with daily schedule and Telegram /backup

Ready for 3.0

by Business Atlas · 110 views · created 2026-07-03 · 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 9 nodes and runs on a schedule (cron 0 3 * * *) (plus 1 other trigger). Along the way it connects Telegram and GitHub.

How it runs

Trigger: On a schedule (cron 0 3 * * *) (plus 1 other trigger).

  1. Fetch All Workflows (n8n): uses n8n
  2. Filter: keeps only the items that match a condition
  3. Build Backup File (Code): runs custom JavaScript code
  4. Check File Existence in GitHub (GitHub): get (file)
  5. Update File on GitHub (GitHub): edit (file)
  6. Create File on GitHub (GitHub): work with file
  7. Notify via Telegram (Telegram): uses Telegram

Services it uses

TelegramGitHub

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

Quick overview This workflow backs up all workflows from your n8n instance to a GitHub repository every day at 03:00, and also supports an on-demand Telegram /backup command, then sends a Telegram message with the backup result and commit link. How it works…

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