AutomationFlowsGeneral › N8n-3-4: Graphql

N8n-3-4: Graphql

n8n-3-4: GraphQL. Uses graphql. Event-driven trigger; 3 nodes.

Event trigger★☆☆☆☆ complexity3 nodesGraphQL
General Trigger: Event Nodes: 3 Complexity: ★☆☆☆☆ Added:

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 →

Download .json
{
  "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"
}
Pro

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 →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

Manual Stickynote. Uses graphql, manualTrigger, stickyNote. Event-driven trigger; 7 nodes.

GraphQL
General

SwitchSubTask. Uses graphql, n8n-nodes-switch-nine-thousand, executeWorkflowTrigger, emailSend. Event-driven trigger; 30 nodes.

GraphQL, N8N Nodes Switch Nine Thousand, Execute Workflow Trigger +1
General

Protect Pdf With The Password Using Convertapi. Uses manualTrigger, readWriteFile, stickyNote, httpRequest. Event-driven trigger; 7 nodes.

Read Write File, HTTP Request, Google Drive
General

Kb Tool Confluence Knowledge Base. Uses executeWorkflowTrigger, httpRequest, stickyNote. Event-driven trigger; 7 nodes.

Execute Workflow Trigger, HTTP Request
General

N8N Español - Ejemplos. Uses manualTrigger, executeCommand. Event-driven trigger; 7 nodes.

Execute Command