Skip to main content
The GitLab node adds GitLab operations to your workflows. Add it on the canvas or ask the AI builder for it by name, then pick an operation and fill in its fields. GitLab also includes 2 trigger operations (marked in the tables below) that can start a workflow when something happens in GitLab.
You can wire the GitLab node into an AI agent as a tool provider: the agent calls the operations you allow. See Agent tools.

Credentials

Connect GitLab under Credentials in the node settings. See Connecting credentials for the general flow.

OAuth

Sign in with your GitLab account when prompted; no keys to copy. Get your credentials here. NoClick requests the following permissions:
  • api
  • read_user

Access token

Enter the values manually when creating the credential. Get your credentials here.

Operations

CI/CD

OperationIDDescriptionTrigger
Cancel Jobcancel_jobCancel a single job.
Cancel Pipelinecancel_pipelineCancel a pipeline’s running jobs.
Create Pipelinecreate_pipelineTrigger a new pipeline on a ref.
Get Jobget_jobGet a single job.
Get Job Logget_job_logGet a job’s log/trace (plain text).
Get Pipelineget_pipelineGet a single pipeline.
List Pipeline Jobslist_pipeline_jobsList jobs for a pipeline.
List Pipelineslist_pipelinesList CI/CD pipelines.
Play Jobplay_jobRun a manual job.
Retry Jobretry_jobRetry a single job.
Retry Pipelineretry_pipelineRetry the failed/canceled jobs of a pipeline.

CI/CD variables

OperationIDDescriptionTrigger
Create Variablecreate_variableCreate a project CI/CD variable.
Delete Variabledelete_variableDelete a project CI/CD variable.
List Variableslist_variablesList a project’s CI/CD variables.
Update Variableupdate_variableUpdate a project CI/CD variable’s value.

Deployments

OperationIDDescriptionTrigger
Create Deploymentcreate_deploymentCreate a deployment record.
Get Deploymentget_deploymentGet a single deployment.
List Deploymentslist_deploymentsList a project’s deployments.

Environments

OperationIDDescriptionTrigger
Create Environmentcreate_environmentCreate an environment.
Delete Environmentdelete_environmentDelete a stopped environment.
List Environmentslist_environmentsList a project’s environments.
Stop Environmentstop_environmentStop an environment.

Epics

OperationIDDescriptionTrigger
Create Epiccreate_epicCreate an epic in a group (Premium).
List Epicslist_epicsList a group’s epics (Premium).
Update Epicupdate_epicUpdate an epic (Premium).

Groups

OperationIDDescriptionTrigger
List Groupslist_groupsList groups visible to the token.

Issues

OperationIDDescriptionTrigger
Add Commentcreate_noteAdd a comment (note) to an issue or merge request.
Create Issuecreate_issueCreate an issue in a project.
Delete Issuedelete_issueDelete an issue.
Get Issueget_issueGet a single issue by its project-scoped IID.
List Issueslist_issuesList issues in a project.
List Noteslist_notesList comments (notes) on an issue or merge request.
Update Issueupdate_issueEdit issue fields or change its state.

Labels

OperationIDDescriptionTrigger
Create Labelcreate_labelCreate a project label.
Delete Labeldelete_labelDelete a project label.
List Labelslist_labelsList a project’s labels.

Members

OperationIDDescriptionTrigger
Add Memberadd_memberAdd a user as a project member.
Remove Memberremove_memberRemove a project member.

Merge requests

OperationIDDescriptionTrigger
Approve Merge Requestapprove_merge_requestApprove a merge request.
Create Merge Requestcreate_merge_requestOpen a merge request.
Get Merge Requestget_merge_requestGet a single merge request by IID.
List Merge Requestslist_merge_requestsList merge requests in a project.
Merge Merge Requestmerge_merge_requestAccept/merge a merge request.
Unapprove Merge Requestunapprove_merge_requestRemove your approval from a merge request.
Update Merge Requestupdate_merge_requestEdit a merge request or change its state.

Milestones

OperationIDDescriptionTrigger
Create Milestonecreate_milestoneCreate a project milestone.
List Milestoneslist_milestonesList a project’s milestones.

Projects

OperationIDDescriptionTrigger
Create Projectcreate_projectCreate a new project (repository).
Get Projectget_projectRetrieve a single project by ID or namespace/path.
List Project Memberslist_membersList members of a project.
List Projectslist_projectsList projects accessible to the token.

Protected branches

OperationIDDescriptionTrigger
List Protected Brancheslist_protected_branchesList protected branches.
Protect Branchprotect_branchProtect a branch (or wildcard).
Unprotect Branchunprotect_branchUnprotect a branch.

Releases

OperationIDDescriptionTrigger
Create Releasecreate_releaseCreate a release tied to a tag.
Delete Releasedelete_releaseDelete a release (the tag is kept).
Get Releaseget_releaseGet a release by tag name.
List Releaseslist_releasesList a project’s releases.
Update Releaseupdate_releaseUpdate a release’s name/notes.

Repository

OperationIDDescriptionTrigger
Create Branchcreate_branchCreate a repository branch.
Create Commitcreate_commitCreate a commit with file actions in one call.
Create Tagcreate_tagCreate a git tag.
Create/Update Fileupsert_fileCreate or update a single repository file.
Delete Branchdelete_branchDelete a repository branch.
Get Fileget_fileGet a repository file’s content and metadata.
List Brancheslist_branchesList repository branches.
List Commitslist_commitsList repository commits.
Set Commit Statusset_commit_statusPost a build/commit status onto a commit SHA.
OperationIDDescriptionTrigger
Global SearchsearchGlobal search across GitLab.

Todos

OperationIDDescriptionTrigger
List Todoslist_todosList the current user’s todos.
Mark All Todos Donemark_all_todos_doneMark all of the current user’s todos as done.
Mark Todo Donemark_todo_doneMark a single todo as done.

User

OperationIDDescriptionTrigger
Get Current Userget_userReturn the authenticated user (token validity check).

Webhooks

OperationIDDescriptionTrigger
Create Webhookcreate_hookCreate a project webhook.
Delete Webhookdelete_hookDelete a project webhook.
List Webhookslist_hooksList a project’s webhooks.

Wikis

OperationIDDescriptionTrigger
Create Wiki Pagecreate_wikiCreate a wiki page.
Delete Wiki Pagedelete_wikiDelete a wiki page.
Get Wiki Pageget_wikiGet a wiki page by slug.
List Wiki Pageslist_wikisList a project’s wiki pages.
Update Wiki Pageupdate_wikiUpdate a wiki page.

Other

OperationIDDescriptionTrigger
On Group Event (Premium)on_group_eventFire the workflow when a GROUP hook event arrives (across all the group’s projects, plus group-level member/subgroup/project events).Yes
On Project Eventon_project_eventFire the workflow when a project hook event arrives.Yes