API queries data from GraphQL
Needs changesNeeds 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.0 | Replace with |
|---|---|
| Function (legacy) Function | Code node, mode 'Run Once for All Items' |
Nodes used (4)
- GraphQL
n8n-nodes-base.graphql - Function
n8n-nodes-base.function - Edit Fields (Set)
n8n-nodes-base.set - Webhook
n8n-nodes-base.webhook
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