Monitor GitLab repositories and trigger n8n workflows
Workflow Description
A workflow template that connects n8n with GitLab to monitor repository events and automatically execute workflows based on code changes, commits, and pull requests. This enables seamless automation of development and deployment processes.
How it works
- 1.Receive webhook events from GitLab when repository changes occur
- 2.Process and filter incoming data by event type
- 3.Execute conditional actions based on specified triggers
- 4.Aggregate results and send responses back to GitLab
Use cases
- Run automated tests whenever code is pushed to the repository
- Send notifications when pull requests are created or updated
Requirements
- Active GitLab account with repository access permissions
- GitLab API token for authentication
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (16)
Backup Now - Manual Trigger
Manual Trigger
n8n
N8N
Globals
Set
Create New File(s)
Gitlab
Edit Existing File(s)
Gitlab
Derive Filename From Workflow Name
Set
Fetch Existing File Content
Gitlab
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Skip Unchanged Files
Filter
Sticky Note3
Sticky Note
Schedule Trigger
Schedule Trigger
Fetch List of Existing Files
Gitlab
Combine Gitlab Existing Files as Single List Item
Aggregate
File Exists in Gitlab?
If