Developer & DevOps

Connect GitLab with n8n

21 nodes 196 116 Automatic trigger
Download

Workflow Description

A template connecting GitLab repositories to n8n for automating workflows triggered by repository events, featuring batch processing and conditional logic to execute custom actions based on specific criteria.

How it works

  1. 1.Receive event from GitLab via manual trigger or webhook
  2. 2.Transform incoming data into standardized format
  3. 3.Split processed information into batches for efficient handling
  4. 4.Apply conditional logic for filtering and routing
  5. 5.Execute custom actions using code nodes or integrated operations
  6. 6.Return processed data to n8n or external systems

Use cases

  • Automate CI/CD pipelines by monitoring GitLab repository changes
  • Send automatic team notifications when merge requests are created or merged
  • Collect and archive GitLab project data into databases or storage systems
  • Trigger automated testing or deployment on every new commit

Requirements

  • Active GitLab account with appropriate repository access permissions
  • GitLab API token or personal access token for authentication
  • Active n8n account with configured nodes (Self-hosted or Cloud deployment)

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Split In Batches Gitlab N8N

Details

Trigger Automatic trigger
Nodes 21
Apps 3
Views 196
Downloads 116

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (21)

/

When clicking "Test Workflow"

Manual Trigger

#1

Globals

Set

#2

Result

No Op

#3

Current workflow

No Op

#4

Loop Over Workflows

Split In Batches

#5

Get file

Gitlab

#6

File status

Code

#7

Status error

Set

#8

End Loop

No Op

#9

Create file

Gitlab

#10

Extract From File

Extract From File

#11

Switch

Switch

#12

New file version

Gitlab

#13

Error output to normal output

No Op

#14

Status new

Set

#15

Status diff

Set

#16

Status same

Set

#17

Sticky Note

Sticky Note

#18

Sticky Note1

Sticky Note

#19

Retrieve all workflows

N8N

#20

Save each version in a different field

Set

#21