The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "n8n-3-4: GraphQL",
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
0,
0
],
"id": "d812966e-0a7f-42a7-89b9-094063d571f3",
"name": "When clicking \u2018Test workflow\u2019"
},
{
"parameters": {
"endpoint": "https://countries.trevorblades.com/graphql",
"query": "query ExampleQuery {\n continents {\n code\n }\n countries {\n code\n }\n languages {\n code\n }\n}"
},
"type": "n8n-nodes-base.graphql",
"typeVersion": 1.1,
"position": [
220,
0
],
"id": "7dd64a82-27cd-45ba-8820-c93ecd96d50e",
"name": "Countries"
},
{
"parameters": {
"endpoint": "https://countries.trevorblades.com/graphql",
"query": "=query Query {\n country(code: \"{{ $json.data.countries[1].code }}\") {\n name\n native\n capital\n emoji\n currency\n languages {\n code\n name\n }\n }\n} "
},
"type": "n8n-nodes-base.graphql",
"typeVersion": 1.1,
"position": [
440,
0
],
"id": "bd5f6a83-2223-4c89-871e-f22714e019a6",
"name": "Country"
}
],
"connections": {
"When clicking \u2018Test workflow\u2019": {
"main": [
[
{
"node": "Countries",
"type": "main",
"index": 0
}
]
]
},
"Countries": {
"main": [
[
{
"node": "Country",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"meta": {
"templateCredsSetupCompleted": true
},
"tags": [],
"id": "2NrpoFGPpCXcygXd",
"versionId": "965f04c0-ea06-482e-ac9b-c10de2178574"
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
n8n-3-4: GraphQL. Uses graphql. Event-driven trigger; 3 nodes.
Source: https://github.com/kossakovsky/n8n-install/blob/6b223b89648511a1df779e2c60fdd6cc88f62add/n8n/backup/workflows/n8n_3_4__GraphQL.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Manual Stickynote. Uses graphql, manualTrigger, stickyNote. Event-driven trigger; 7 nodes.
SwitchSubTask. Uses graphql, n8n-nodes-switch-nine-thousand, executeWorkflowTrigger, emailSend. Event-driven trigger; 30 nodes.
Protect Pdf With The Password Using Convertapi. Uses manualTrigger, readWriteFile, stickyNote, httpRequest. Event-driven trigger; 7 nodes.
Kb Tool Confluence Knowledge Base. Uses executeWorkflowTrigger, httpRequest, stickyNote. Event-driven trigger; 7 nodes.
N8N Español - Ejemplos. Uses manualTrigger, executeCommand. Event-driven trigger; 7 nodes.