shopify-collections

n8n community node for creating and managing Shopify collections with GraphQL Admin API.

Package Information

Released: 6 mo ago
Downloads: 10 weekly / 124 monthly
Latest Version: 0.1.0
Author: OpenAI

Documentation

n8n-nodes-shopify-collections

Community Node für Shopify Collections in n8n.

Enthaltene Funktionen

Action Node

  • Collection > Create
  • Collection > Get
  • Collection > Get Many
  • Collection > Update
  • Collection > Publish
  • Collection > Add Products

Nicht enthalten in v1

  • Trigger Node
  • Webhook Trigger Node
  • Remove Products
  • Unpublish
  • Delete

Warum GraphQL?

Shopify empfiehlt für Collections die Admin GraphQL API. Neue Collections sind standardmäßig unpublished und können danach separat veröffentlicht werden.

Credential

Credential Name:

  • Shopify Admin API

Felder:

  • Store Domain
  • Admin API Access Token
  • API Version

Beispiel:

  • Store Domain: your-store.myshopify.com
  • API Version: 2026-01

Installation lokal

npm install
npm run build

Dann das Paket lokal in deiner n8n-Instanz installieren oder als Community Node laden.

npm Publish

npm version patch
npm publish --access public

Beispiel: Smart Collection Rules JSON

[
  {
    "column": "TAG",
    "relation": "EQUALS",
    "condition": "sale"
  },
  {
    "column": "TYPE",
    "relation": "EQUALS",
    "condition": "Bekleidung"
  }
]

Beispiel: Metafields JSON

[
  {
    "namespace": "custom",
    "key": "campaign",
    "type": "single_line_text_field",
    "value": "summer-2026"
  }
]

Typische Hinweise

  • Product IDs nur für manuelle Collections verwenden.
  • Rules JSON nur für Smart Collections verwenden.
  • Für Publish brauchst du Publication IDs.
  • Fehler aus Shopify werden als verständliche userErrors weitergereicht.

Ordnerstruktur

n8n-nodes-shopify-collections/
├── credentials/
│   └── ShopifyAdminApi.credentials.js
├── nodes/
│   └── ShopifyCollections/
│       ├── ShopifyCollections.node.js
│       └── shopify.svg
├── examples/
│   └── flow-create-manual-collection.json
├── docs/
│   └── release-checklist.md
├── package.json
└── README.md

Discussion