Content: 01806.zip (40.60 KB)
Uploaded: 12.01.2026

Positive responses: 0
Negative responses: 0

Sold: 0
Refunds: 0

$7
# Sync n8n workflows with GitLab: check, create, and update JSON files

This automation ensures version control of n8n workflows by syncing them with a GitLab repository. It retrieves all current workflows, compares them with stored JSON files, and commits updates or creates new files when needed. Designed for teams applying DevOps practices to low-code automation management.

## Who it´s for
- DevOps engineers managing n8n workflow versions
- Developers automating n8n infrastructure
- Teams using GitLab for configuration storage
- n8n administrators requiring change transparency
- Project managers overseeing automation states

## What the automation does
- Retrieves all current workflows from n8n via API
- Checks for corresponding JSON files in the specified GitLab repo path and branch
- Compares content, ignoring transient fields like `updatedAt`
- Updates the file if differences are found
- Creates a new file if missing, marked as ´new´
- Commits changes with descriptive messages
- Triggered manually on demand

## What´s included
- Ready-to-use n8n workflow
- Trigger and handler logic
- Integrations with n8n API and GitLab API
- Basic text instructions for launch and adaptation

## Requirements for setup
- Access to an n8n instance with read permissions for workflows
- GitLab account with write access to the target repository
- GitLab personal access token
- Defined repository path and branch for JSON storage

## Benefits and outcomes
- Automatic backup of all workflows
- Full version history and rollback capability
- Transparent audit trail of changes
- Centralized configuration storage
- Support for CI/CD practices in low-code environments
- Easier team collaboration and knowledge transfer
- Protection against data loss in n8n instances

## 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