Templates / Automatic backup of workflows to GitHub with email/telegram notifications

Automatic backup of workflows to GitHub with email/telegram notifications

Ready for 3.0

by Builds.Cool · 328 views · created 2025-06-13 · 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 17 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Telegram and Gmail.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Backup_Config (Code): runs custom JavaScript code
  2. Get_Workflows (HTTP Request): calls an HTTP API
  3. Clean_Workflows (Code): runs custom JavaScript code
  4. Create_Backup_Package (Code): runs custom JavaScript code
  5. Check_Repository_Exists (HTTP Request): calls an HTTP API
  6. If: checks a condition and branches into true / false
  7. Create_Repository (HTTP Request): calls an HTTP API
  8. Upload_Manifest (HTTP Request): calls an HTTP API
  9. Upload_README (HTTP Request): calls an HTTP API
  10. Split_Workflow_Files (Code): runs custom JavaScript code

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

Services it uses

TelegramGmail

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

From the author

Why? Have you ever updated your n8n instance, or moved from one instance to the other and lost all your workflows? I suggest NOT DOING THAT! Especially if you have very complex workflows that would take days to recreate. Make sure you have a backup process in…

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