Low Stock & Sold Out Watcher for Shopify — Workflow n8n

Moyen complexité🔗 Webhook8 nœuds🏷️ Miscellaneous👁 1,843 vuespar siyad

Aperçu

This n8n workflow automates the process of monitoring inventory levels for Shopify products, ensuring timely updates and efficient stock management. It is designed to alert users when inventory levels are low or out of stock, integrating with Shopify's webhook system and providing notifications through Discord (can be changed to any messaging platform) with product images and details.

Workflow Overview

Webhook Node (Shopify Listener): This node is set up to listen for Shopify's inventory level

Nœuds utilisés

HTTP RequestGraphQLCode

Aperçu du workflow

Webhook Node (Shopify Listener)
Setup Requirement: First, add the "Inventory Level Upda
Purpose: Listens for inventory updates from Shopify
Setup: Configured in Shopify setti
Function Node (Inventory Check)
Purpose: Processes inventory data from Shopify.
Action: Extracts available inventory and item ID
Logic: Determines if inventory is low (<4 items) or out
Checks if low_inventory is true (almost out o
Checks if out_of_stock is true (no stock left
Shopify graphql
Retrieves product variant, title, inventory quantity, a
Uses Shopify's GraphQL API for detailed data retrieval.
Endpoint to be customized: Replace store.myshopify.com
Discord1: Configured to send messages to Chan
Discord2: Configured to send messages to Channel B.
Low Stock & Sold Out Watcher for Shopify
This n8n workflow automates the process of monitoring i
It is
W
Webhook
Code
L
Low Inventory
O
Out of stock
HTTP Request
HTTP Request1
GraphQL1- shopify
GraphQL - shopify
8 nodes7 edges

Comment ça fonctionne

  1. 1

    Déclencheur

    Le workflow démarre avec un déclencheur webhook.

  2. 2

    Traitement

    Les données transitent par 8 nœuds, connecting code, graphql, httprequest.

  3. 3

    Sortie

    Le workflow termine son automatisation et livre le résultat à la destination configurée.

Détails des nœuds (8)

HT

HTTP Request

httpRequest

#1
GR

GraphQL

graphql

#2
CO

Code

code

#3

Comment importer ce workflow

  1. 1Cliquez sur le bouton Télécharger JSON à droite pour enregistrer le fichier du workflow.
  2. 2Ouvrez votre instance n8n. Accédez à Workflows → Nouveau → Importer depuis un fichier.
  3. 3Sélectionnez le fichier low-stock-sold-out-watcher-for-shopify téléchargé et cliquez sur Importer.
  4. 4Configurez les identifiants pour chaque nœud de service (clés API, OAuth, etc.).
  5. 5Cliquez sur Tester le workflow pour vérifier que tout fonctionne, puis activez-le.

Ou collez directement dans n8n → Importer depuis JSON :

{ "name": "Low Stock & Sold Out Watcher for Shopify", "nodes": [...], ...}

Intégrations

codegraphqlhttprequestifwebhook

Obtenir ce workflow

Téléchargez et importez en un clic

Télécharger JSONVoir sur n8n.io
Nœuds8
Complexitémedium
Déclencheurwebhook
Vues1,843
CatégorieMiscellaneous

Créé par

siyad

siyad

@salsiy

Tags

codegraphqlhttprequestifwebhook

Nouveau sur n8n ?

n8n est un outil d'automatisation de workflows gratuit et open-source. Hébergez-le vous-même ou utilisez la version cloud.

Obtenir n8n gratuitement →

Related Miscellaneous Workflows