See llms.txt for all machine-readable content.

GraphQL and OpenCTI integration

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

How to connect GraphQL 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.

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

Curate contributor-friendly issues with AI and send GitHub newsletter via email

Use Cases Receive a newsletter featuring curated, contributor-friendly issues from your favorite repositories. By regularly reviewing active issues and new releases, you'll naturally develop stronger habits around open source contribution as your brain starts recognizing these projects as important. How It Works Collects the latest issues, comments, and recent commits using the GitHub API. Uses an AI model to select up to three beginner-friendly issues worth contributing to. Summarizes each issue—with contribution guidance and relevance insights—using Deepwiki MCP. Converts the summaries into HTML and delivers them as an email newsletter. Requirements GitHub Personal Access Token OpenRouter API Key Google App Password Make sure your target open-source project is indexed at https://deepwiki.com/{owner}/{repo} (e.g. https://deepwiki.com/vercel/next.js) How to Use Update the “Load repo info” node with your target repository’s owner and name (e.g. owner: vercel, repo: next.js). Add your GitHub Personal Access Token to the credentials of the “Get Issues from GitHub” node. Connect your OpenRouter API key to all models linked to the Agent node. Add your Google App Password to the “Send Email” node credentials. Enter the same email address (associated with the Google App Password) in both the “to email” and “from email” fields — the newsletter will be sent to this address. Customization Adjust the maximum number of contributor-friendly issues retrieved in the “Get Top Fit Issues” node. Improve results by tuning the models connected to the Agent node. Refine the criteria for “contributor-friendliness” within the “IssueRank Agent” node. Cron Setup Replace the manual trigger with a Schedule Trigger node or another scheduling-capable node. If you don't have an n8n Cloud account, use this alternative setup: fork the repository and follow the setup instructions. TroubleShooting If there is an issue with the AI model’s response, modify the ai_model setting. (If you want to use a free model, search for models containing “free” and choose one of them.)

Popular ways to use the GraphQL and OpenCTI integration

Build your own GraphQL and OpenCTI integration

Create custom GraphQL 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.

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.

GraphQL and OpenCTI integration details

GraphQL

GraphQL

GraphQL allows you to answer API queries using your pre-existing data. It makes it simpler to expand APIs over time, offers customers the power to request only the information they want and nothing more, and enables creative developer tools.

OpenCTI

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 GraphQL 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 GraphQL integrations

Need help setting up your GraphQL and OpenCTI integration?

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

  • Kody Millar

    GraphQL Node Does Not Work Properly

    Kody Millar

    Describe the problem/error/question I am trying to use a GraphQL node to query my Monday account, and it tells me I have an invalid GraphQL schema. However, the exact same schema works on my Monday account both in Postma…

    Open topic
  • Neal A Richardson Sr

    OAuth Token not refreshing for GraphQL credential because API returns a 200 with a nested error

    Neal A Richardson Sr

    Describe the problem/error/question We have a GraphQL API that uses OAuth 2 for authentication and when the JWT token expires, the API returns a 200 with a nested error message. e.g. Status: 200 OK / Body: {"Errors":[{…

    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 GraphQL 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