# Automated n8n workflow backup to GitLab with email notifications
This automation template ensures regular and secure backup of n8n workflows using GitLab for version control. It´s ideal for teams that need to maintain change history, restore configurations after failures, and centrally manage their automations.
## Who it´s for
- n8n administrators needing reliable workflow backups
- Development teams collaborating on n8n workflows
- DevOps engineers setting up CI/CD for automations
- Companies requiring version control for business processes
## What the automation does
- Triggers manually or on a weekly schedule
- Retrieves all active workflows from n8n via API
- Identifies workflow owner by name
- Formats data as JSON and saves to user-specific folders in GitLab
- Creates or updates files with descriptive commit messages
- Logs execution results and sends completion status via email
## What´s included
- Ready-to-use workflow for n8n + GitLab automation
- Trigger logic (manual and cron-based)
- Integrations with n8n API, GitLab API, and SMTP
- Basic textual guide for setup and adaptation
## Requirements for setup
- Access to an n8n instance with API enabled
- GitLab account with repository and access token
- SMTP server for sending notifications
- Permissions to create and update files in the GitLab repo
## Benefits and outcomes
- Automated backup without manual intervention
- Full version history and rollback capability
- Organized file structure by owner for easy audit and navigation
- Email confirmation of backup success or failure
- Reduced risk of losing critical automations during outages or upgrades
- Production-ready recovery process
## 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