See llms.txt for all machine-readable content.

GraphQL and HTTP Request integration

Save yourself the work of writing custom integrations for GraphQL and HTTP Request 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 HTTP Request

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 HTTP Request integration: Create a new workflow and add the first step

Low stock & sold out watcher for Shopify

This n8n workflow automates the process of monitoring inventory levels for Shopify products, ensuring timely updates and efficient stock management. It is designed to alert users when inventory levels are low or out of stock, integrating with Shopify's webhook system and providing notifications through Discord (can be changed to any messaging platform) with product images and details. Workflow Overview Webhook Node (Shopify Listener): This node is set up to listen for Shopify's inventory level webhook. It triggers the workflow whenever there is an update in the inventory levels. The webhook is configured in Shopify settings, where the n8n URL is specified to receive inventory level updates. Function Node (Inventory Check): This node processes the data received from the Shopify webhook. It extracts the available inventory and the inventory item ID, and determines whether the inventory is low (less than 4 items) or out of stock. Condition Nodes (Inventory Level Check): Two condition nodes follow the function node. One checks if the inventory is low (low_inventory equals true), and the other checks if the inventory is out of stock (out_of_stock equals true). GraphQL Node (Product Details Retrieval): Connected to the condition nodes, this node fetches detailed information about the product using Shopify's GraphQL API. It retrieves the product variant, title, current inventory quantity, and the first product image. HTTP Node (Discord Notification): The final node in the workflow sends a notification to Discord. It includes an embed with the product title, a warning message ("This product is running out of stock!"), the remaining inventory quantity, product variant details, and the product image. The notification ensures that relevant stakeholders are immediately informed about critical inventory levels.

Build your own GraphQL and HTTP Request integration

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

GraphQL and HTTP Request 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.

Other integrations with GraphQL and HTTP Request

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 HTTP Request integration?

Discover our latest community's recommendations and join the discussions about GraphQL and HTTP Request 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
  • Mohiria

    Self-host [email protected] login page error

    Mohiria

    Self-Hosted n8n (v1.120.4) Fails to Load in Browser with Cannot read properties of undefined (reading 'ldap') TypeError description: Issue: I self-hosted n8n version 1.120.4 using Docker. The container logs confirm the s…

    Open topic
  • Armand Ferveur

    JSON parameter needs to be valid JSON on an HTTP request

    Armand Ferveur

    Hey, I tried to call the Gemini 2.5 flash image model via HTTP request, but I’m getting this error that I can’t seem to resolve in the JSON code. I feel like I’m doing it right, and ChatGPT doesn’t see any errors either.…

    Open topic
  • Agustin Pezzani

    Getting detailed error messages when AI Agent tools fail

    Agustin Pezzani

    Hello n8n Community, I’m facing an issue when using Tools within the AI Agent node, specifically when one of the tools fails for a valid reason (e.g., an external API returns an expected error). The Problem: When a T…

    Open topic

Looking to integrate Slack and VirusTotal in your company?

Trusted by teams building smarter workflows.

Why

Why use n8n to integrate GraphQL with HTTP Request

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