GitLab Repository Details Fetcher - n8n Workflow

Use this n8n workflow to quickly fetch specific GitLab repository details using the built-in n8n node. A practical n8n template for DevOps monitoring and status checks.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

n8n Nodes Used

Who is this best for?

DevOps engineers who need automated repository status checks.
Developers looking to monitor specific project details.
System administrators integrating GitLab data into dashboards.
New n8n users seeking a practical example of the GitLab n8n node.

Overview

Understanding the status and configuration of your codebase is critical for continuous integration and deployment (CI/CD). This simple yet effective n8n workflow demonstrates how to leverage the specialized GitLab n8n node to fetch repository details instantly. Instead of constructing manual HTTP requests, this n8n template streamlines the process, making it ideal for incorporating into larger DevOps monitoring flows or for rapid diagnostics. It exemplifies how easily n8n facilitates secure API interactions with services like GitLab.

How it Works

The entire process in this n8n workflow is initiated manually. The flow begins with the initial n8n trigger, designed to run upon execution.


  1. Start: The 'On clicking 'execute'' n8n trigger node is activated manually.

  2. GitLab API Call: The execution proceeds immediately to the 'GitLab' n8n node.

  3. Configuration: This n8n node is specifically configured to interact with the 'repository' resource.

  4. Operation: The chosen operation is 'get', targeting the repository named 'trial' under the owner 'shaligramshraddha'.

  5. Output: The n8n workflow returns the full JSON response containing all metadata and details for that specific GitLab repository. This core n8n workflow serves as a reliable base for more complex automation tasks.

Installation Guide

To utilize this n8n template, follow these steps:


  1. Import: Copy the provided JSON code and paste it into your n8n instance via the 'New' menu > 'Import from JSON'.

  2. Credentials Setup (GitLab): Click on the 'Gitlab' n8n node. Under the 'Credentials' section, select 'New' (or the name of your existing GitLab credential).

* You will need to provide a Personal Access Token with the necessary scope (usually read_repository) to access the target repository's details.

  1. Configuration: Review the 'Gitlab' n8n node configuration. If you wish to fetch a different repository, update the 'Owner' and 'Repository' parameters accordingly.

  2. Testing: Click the 'Execute Workflow' button to test the n8n trigger and verify that the repository data is returned successfully.

Node Details

On clicking 'execute' (Manual Trigger n8n Trigger)
Function: Serves as the starting point for this specific n8n workflow, allowing for manual testing and execution.
Key Configuration: Standard manual n8n trigger setup.
Gitlab (GitLab n8n Node)
Function: Interacts directly with the GitLab API to fetch resource information. This is the main action n8n node of the workflow.
Key Configuration:
Resource: repository
Operation: get
Owner: shaligramshraddha
Repository: trial

Related n8n Workflows

Free

Nodes: 2 Nodes
Updated: December 26 2025
View all
Created by
sshaligr
sshaligr

Featured*