Workflow: 0143_HTTP_Gitlab_Automation_Webhook
Integrations: gitlabTrigger, httpRequest, if

{"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}]]}}}