Workflow: HTTP Gitlab Automation

Workflow Details

Download Workflow
{
    "nodes": [
        {
            "name": "Gitlab Trigger",
            "type": "n8n-nodes-base.gitlabTrigger",
            "position": [
                240,
                140
            ],
            "parameters": {
                "owner": "tennox",
                "events": [
                    "tag_push"
                ],
                "repository": "ci-test"
            },
            "typeVersion": 1
        },
        {
            "name": "HTTP Request",
            "type": "n8n-nodes-base.httpRequest",
            "position": [
                820,
                40
            ],
            "parameters": {
                "url": "https:\/\/app.getoutline.com\/api\/documents.create",
                "options": [],
                "requestMethod": "POST",
                "authentication": "headerAuth",
                "jsonParameters": true,
                "bodyParametersJson": "={ \n\"collectionId\": \"PLACEHOLDER\",\n\"parentDocumentId\": \"PLACEHOLDER\",\n\"publish\": true, \n\"title\": {{JSON.stringify(\"Release \" + $json.body.name)}},\n\"text\": {{JSON.stringify($json.body.description + '\\n\\n\\\\\\n[More info](' + $json.body.url + ')')}}\n}"
            },
            "typeVersion": 1
        },
        {
            "name": "IF",
            "type": "n8n-nodes-base.if",
            "position": [
                540,
                140
            ],
            "parameters": {
                "conditions": {
                    "string": [
                        {
                            "value1": "={{$json.body.object_kind}}",
                            "value2": "release"
                        }
                    ]
                }
            },
            "typeVersion": 1
        }
    ],
    "connections": {
        "IF": {
            "main": [
                [
                    {
                        "node": "HTTP Request",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Gitlab Trigger": {
            "main": [
                [
                    {
                        "node": "IF",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    }
}
Back to Workflows

Related Workflows

Generate Instagram Content from Top Trends with AI Image Generation
View
Create
View
Splitout Code Create Webhook
View
Manual Code Create Triggered
View
Asana Webhook Automate Webhook
View
Openai Twitter Create
View
Aggregate Telegram Automate Triggered
View
Error Gmail Send Triggered
View
Splitout Zendesk Update Triggered
View
Receive updates for specified tasks in Flow
View