Templates / API queries data from GraphQL

API queries data from GraphQL

Needs changes

by Jan Oberhauser ✓ · 5,243 views · created 2019-12-17 · Engineering

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.

What to replace before upgrading

Removed in 3.0Replace with
Function (legacy)
Function
Code node, mode 'Run Once for All Items'

Nodes used (4)

GraphQL

What it does

!workflow-screenshot(fileId:26) Simpe API which queries the received country code via GraphQL and returns it. Example URL: https://n8n.exampl.ecom/webhook/1/webhook/webhook?code=DE 1. Receives country code from an incoming HTTP Request 1. Reads data via GraphQL 1. Converts the data to JSON 1. Constructs return string

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.