Skip to content
Proud to collaborate with Microsoft for Startups

gitlab.project-sync ​

Sync GitLab project metadata from webhook payload

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-gitlab
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
delivery_refstringYes——
event_typestringYes——
actionstringNo——
payloaddictYes——
organization_uuiduuidNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
delivery_refstringYes——
project_uuiduuidYes——
gitlab_project_refstringYes——
organization_uuiduuidNo——
cloud_connection_uuiduuidNo——
actionstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
executingNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecuteexecuting—
executingcompletecompleted—
* (any state)failfailed—

Business Errors ​

CodeMessage Template
GITLAB_PROJECT_ID_REQUIREDGitLab project id is required
GITLAB_PROJECT_CONNECTION_RESOLUTION_ERRORCould not resolve a GitLab connection for the project

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "gitlab.project-sync",
  "initial_data": {
    "delivery_ref": "value",
    "event_type": "value",
    "payload": "value"
  }
}