Templates / Paginate Shopify products with GraphQL cursor-based navigation

Paginate Shopify products with GraphQL cursor-based navigation

Ready for 3.0

by Richard Uren ✓ · 632 views · created 2025-07-04 · Engineering

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 4 nodes and runs manually, when you click “Execute workflow”. Along the way it connects GraphQL.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Shopify, products (GraphQL): uses GraphQL
  2. hasMoreProducts (If): checks a condition and branches into true / false
  3. Wait: waits 1 seconds

Services it uses

GraphQL

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (4)

From the author

Shopify GraphQL cursor loop Many Shopify GraphQL queries have the ability to return a cursor which you can loop over, however the N8N GraphQL node does not natively have the ability to fetch pages. This simple 3 node workflow displays how to setup a cursor to…

Excerpt from Richard Uren's description on n8n.io.

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.