Create Merge Request

gitlab.create_merge_request
ActionBusiness appsconnection required

Calls the GitLab API POST /projects/{id}/merge_requests.

Open a merge request in a GitLab project.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
GitLab
Secret shape
the GitLab access token
Config it needs
base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

5 fields, 4 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
project
Project id or namespace/path. Supports {{ }}.
stringYes———
source_branch
Source branch; the call is refused without it.
stringYes———
target_branch
Target branch; the call is refused without it.
stringYes———
title
Name the new merge request gets in GitLab; not an id.
stringYes———
description
MR description.
stringNo———

Output

One shape.

result

FieldTypeExample
ok
boolean—
iid
string—
web_url
string—
{
  "iid": "",
  "ok": false,
  "web_url": ""
}

See Create Merge Request run in a workflow.

In a technical demo we add the GitLab connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.