See llms.txt for all machine-readable content.

GitLab and OpenCTI integration

Save yourself the work of writing custom integrations for GitLab and OpenCTI and use n8n instead. Build adaptable and scalable Development, workflows that work with your technology stack. All within a building experience you will love.

How to connect GitLab and OpenCTI

Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

GitLab and OpenCTI integration: Create a new workflow and add the first step

Automated n8n workflows backup on GitLab with username organization

Overview This solution ensures the secure backup and version control of your self-hosted n8n workflows by storing them in a GitLab repository. It compares current workflows with their GitLab counterparts, updates files when differences are detected, and organizes them in user-specific folders (e.g., repo -> username -> workflow.json). Backups are triggered manually or weekly, with a success notification sent via email. Operational Process Manual Backup Trigger: Initiates the backup process on demand. Scheduled Weekly Backup: Automatically triggers the backup every week. Fetch N8N Workflows: Retrieves all workflows from n8n using the API (getAll:workflow). Prepare Backup Metadata: Generates metadata, including user details for folder organization. Process Each Workflow: Handles each workflow individually for processing. Format Workflow for GitLab: Structures workflows with proper versioning for GitLab compatibility. Rate Limit Control: Manages API rate limits to ensure smooth operation. Create to GitLab Repository: Saves workflows to GitLab; creates a new file if it doesn’t exist. Check Backup Status: Verifies if the file exists; if true, proceeds to update; if false, loops back. Update Backup Summary: Updates the existing file in GitLab with the latest version. Log Backup Results: Records the outcome of the backup process. Send Email: Sends a confirmation email: "Hello, The scheduled backup of all n8n workflows has been completed successfully. All workflows have been committed to the GitLab repository without any errors. Regards, n8n Automation Bot" Implementation Guide Import this solution into your n8n instance. Configure GitLab API credentials and specify the target repository. Set up n8n API access to enable workflow retrieval. Customize the Prepare Backup Metadata node to map users to folders as needed. Test the process using the Manual Backup Trigger to confirm GitLab integration. Schedule weekly backups via the Scheduled Weekly Backup node (recommended for Fridays). Requirements GitLab API credentials with write access n8n API access for workflow retrieval A configured GitLab repository Customization Options Adjust the Prepare Backup Metadata node to include additional user fields. Modify the Rate Limit Control node to accommodate varying API limits. Tailor the Send Email node to include custom notification details.

Popular ways to use the GitLab and OpenCTI integration

Build your own GitLab and OpenCTI integration

Create custom GitLab and OpenCTI workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

GitLab supported actions

Supported methods for OpenCTI

Delete
Get
Head
Options
Patch
Post
Put

To set up OpenCTI integration, add the HTTP Request node to your workflow canvas and authenticate it using a predefined credential type. This allows you to perform custom operations, without additional authentication setup. The HTTP Request node makes custom API calls to OpenCTI to query the data you need using the URLs you provide.

Requires additional credentials set up

Use n8n's HTTP Request node with a predefined or generic credential type to make custom API calls.

GitLab and OpenCTI integration details

GitLab

GitLab is the best tool for teams of developers. It brings them together from planning to production to decrease cycle times, save costs, boost security, and enhance their output. It serves as an open-source code repository and collaborative software development platform for major DevOps and DevSecOps projects.

OpenCTI

OpenCTI is an open-source platform designed for cyber threat intelligence management. It facilitates the collection, analysis, and sharing of threat intelligence data, helping organizations proactively defend against cyber threats by providing insights into vulnerabilities, indicators of compromise, and attacker tactics.

Other integrations with GitLab and OpenCTI

The SOAR platform you want

Mountains of monotonous tasks make building and monitoring your workflows a chore. Not anymore.

Learn more

Save engineering resources

Reduce time spent on customer integrations, engineer faster POCs, keep your customer-specific functionality separate from product all without having to code.

Learn more

FAQ about GitLab integrations

Need help setting up your GitLab and OpenCTI integration?

Discover our latest community's recommendations and join the discussions about GitLab and OpenCTI integration.

  • Karim El Soufi

    GitLab Trigger: 404 Project Not Found

    Karim El Soufi

    Hello, I have a self hosted n8n (1.53.2) on AWS ECS with a domain. Trying to add a gitlab, company hosted, step (trigger or any). The connexion through credentials works. I have filled the job based on this question …

    Open topic

Looking to integrate Slack and VirusTotal in your company?

Three colleagues talking around laptops at a shared desk

Trusted by teams building smarter workflows.

Why

Why use n8n to integrate GitLab with OpenCTI

Handle branching, merging and iteration easily. Pause your workflow to wait for external events.

Re-run single steps to test changes in no time. And pin your data to avoid generating trigger events every time you execute.

Your data is displayed alongside your settings, making edge cases easy to track down.

Use 1000+ workflow templates available from our core team and our community.

Copy and paste, easily import and export workflows.

Simple enough to 
understand + sophisticated 
enough to ship

Man in a brown jacket working at his desk by a window