# Daily backup of n8n workflows to GitHub with Slack notifications
This automation regularly backs up all n8n workflows to a GitHub repository, organizing them by year and month. It checks each file for changes — creating new ones, updating modified, skipping unchanged — ensuring clean version history. Notifications about start, completion, and errors are sent to Slack. Ideal for teams requiring reliability, auditability, and disaster recovery for their n8n automations.
## Who it´s for
- n8n administrators needing reliable backup of workflows
- DevOps teams using n8n within CI/CD pipelines
- Developers wanting version control for their workflows
- Companies running n8n in production environments requiring fault tolerance
## What the automation does
- Runs daily via cron scheduler trigger
- Fetches all workflows from n8n using HTTP API
- Organizes files into folders by ´year/month´ in GitHub
- Checks each workflow status: creates, updates, or skips based on content change
- Commits changes with descriptive messages (e.g., ´different´)
- Sends Slack notifications on backup start, success, or failure
## What´s included
- Ready-to-use n8n workflow
- Trigger and handler logic for scheduled execution
- Integrations with GitHub, Slack, and n8n´s internal API
- Basic setup and adaptation guide
## Requirements for setup
- Access to an n8n instance with read permissions for workflows
- GitHub account with write access to target repository
- Slack webhook or token for sending notifications
- Configured environment variables (e.g., repo name, branch, paths)
## Benefits and outcomes
- Fully automated backup process
- Transparent change tracking via Git history
- Fast recovery after system failures
- Audit trail: visibility into who changed what
- Centralized storage of all automations
- Increased reliability for production use
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet