Skip to main content

GitLab integration for AI agents

Interact with GitLab projects, issues, merge requests, and pipelines

GitLab is a Sim integration in the DevOps category. Sim is the AI workspace where teams build and deploy AI agents. Sim's GitLab integration provides 65 tools and 6 triggers that AI agents can use inside Sim's visual workflow builder. GitLab connects with an API key. Free to start at sim.ai.

View docs

Last updated

What Sim agents can do with GitLab

Manage projects, issues, merge requests, pipelines, and add comments, plus project/group membership, invitations, access requests, SAML group links, and instance user administration. Additional operations depend on the connected account and instance permissions.

Category
DevOps
Authentication
API key
Tools
65
Triggers
6
Documentation
GitLab docs

How to automate GitLab with Sim

  1. Create a free account

    Sign up at sim.ai in seconds. No credit card required. Your workspace is ready immediately.

  2. Add a GitLab block

    Open your workspace, drag a GitLab block onto the workflow builder, and paste in your GitLab API key.

  3. Configure, connect, and run

    Pick the tool you need, wire in an AI agent for reasoning or data transformation, and run. Your GitLab automation is live.

GitLab triggers

Add a GitLab trigger to a Sim agent and it starts a run whenever one of these GitLab events occurs.

GitLab Push

Trigger workflow when commits are pushed to a GitLab project

GitLab Merge Request

Trigger workflow when a merge request is opened, updated, or merged in GitLab

GitLab Issue

Trigger workflow when an issue is opened, updated, or closed in GitLab

GitLab Pipeline

Trigger workflow when a pipeline status changes in GitLab

GitLab Comment

Trigger workflow when a comment is added on a commit, merge request, or issue

GitLab Event

Trigger workflow from any GitLab webhook event

Agent templates

Ready-to-use templates featuring GitLab. Click any to build it instantly.

GitLab tools

65 GitLab tools available to Sim agents.

List Projects

List GitLab projects accessible to the authenticated user

Get Project

Get details of a specific GitLab project

List Groups

List GitLab groups accessible to the authenticated user

Get Group

Get details of a specific GitLab group

List Issues

List issues in a GitLab project

Get Issue

Get details of a specific GitLab issue

Create Issue

Create a new issue in a GitLab project

Update Issue

Update an existing issue in a GitLab project

Delete Issue

Delete an issue from a GitLab project

Add Issue Comment

Add a comment to a GitLab issue

List Merge Requests

List merge requests in a GitLab project

Get Merge Request

Get details of a specific GitLab merge request

Create Merge Request

Create a new merge request in a GitLab project

Update Merge Request

Update an existing merge request in a GitLab project

Merge Merge Request

Merge a merge request in a GitLab project

Add MR Comment

Add a comment to a GitLab merge request

List Pipelines

List pipelines in a GitLab project

Get Pipeline

Get details of a specific GitLab pipeline

Create Pipeline

Trigger a new pipeline in a GitLab project

Retry Pipeline

Retry a failed GitLab pipeline

Cancel Pipeline

Cancel a running GitLab pipeline

List Repository Tree

List files and directories in a GitLab project repository

Get File

Get the contents of a file from a GitLab project repository

Create File

Create a new file in a GitLab project repository

Update File

Update an existing file in a GitLab project repository

List Commits

List commits in a GitLab project repository

List Branches

List branches in a GitLab project repository

Create Branch

Create a new branch in a GitLab project repository

Delete Branch

Delete a branch from a GitLab project repository

Compare Branches

Compare two branches, tags, or commits in a GitLab project repository

Get MR Changes

Get the file changes (diffs) of a GitLab merge request

Approve Merge Request

Approve a GitLab merge request

List Pipeline Jobs

List jobs for a GitLab pipeline

Get Job Log

Get the log (trace) of a GitLab job

Play Job

Trigger (play) a manual GitLab job

List Releases

List releases in a GitLab project

Create Release

Create a new release in a GitLab project

List Members

List members of a GitLab project or group. Includes members inherited from ancestor groups by default.

Add Member

Add an existing GitLab user to a project or group at a given access level

Update Member

Update a member's access level in a GitLab project or group

Remove Member

Remove a member from a GitLab project or group

Invite Member by Email

Invite a person to a GitLab project or group by email address

List Invitations

List pending email invitations for a GitLab project or group

Update Invitation

Update a pending invitation to a GitLab project or group

Revoke Invitation

Revoke a pending email invitation to a GitLab project or group

List Access Requests

List pending access requests for a GitLab project or group

Approve Access Request

Approve a pending access request for a GitLab project or group

Deny Access Request

Deny (delete) a pending access request for a GitLab project or group

List SAML Group Links

List SAML group links for a GitLab group. Use this to detect whether a group is governed by SAML group sync before provisioning members.

List User Memberships

List a user's project and group memberships. Requires an administrator access token (GET /users/:id/memberships is admin-only). For a non-admin path, iterate List Members on each project or group instead.

Search Users

Search for GitLab users by name, username, or email. Email matches must be exact; private emails match only with an admin token. Use this to resolve an email to a user ID before adding a member.

Create User

Create a new GitLab user. Requires an administrator token with admin_mode on the instance.

Update User

Modify an existing GitLab user. Requires an administrator token with admin_mode on the instance.

Delete User

Delete a GitLab user. Requires an administrator token with admin_mode on the instance.

Block User

Unblock User

Deactivate User

Activate User

Ban User

Unban User

Approve User Signup

Reject User Signup

Delete User Identity

Delete a user's authentication identity (e.g. SAML or LDAP). Requires an administrator token with admin_mode on the instance.

Add SAML Group Link

Add a SAML group link that maps an identity-provider group to a GitLab group at a given access level (GitLab Premium/Ultimate)

Delete SAML Group Link

Delete a SAML group link from a GitLab group (GitLab Premium/Ultimate)

Frequently asked questions

Sim's GitLab integration adds 65 tools and 6 triggers to the AI agents you build in Sim's visual workflow builder. Interact with GitLab projects, issues, merge requests, and pipelines.

Every agent your company runs. All in one place.