Low Stock & Sold Out Watcher for Shopify — Flujo de trabajo n8n

Media complejidad🔗 Webhook8 nodos🏷️ Miscellaneous👁 1,843 vistaspor siyad

Descripción general

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

Nodos utilizados

HTTP RequestGraphQLCode

Vista previa del flujo de trabajo

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

Cómo funciona

  1. 1

    Disparador

    El flujo de trabajo comienza con un disparador webhook.

  2. 2

    Procesamiento

    Los datos fluyen a través de 8 nodos, connecting code, graphql, httprequest.

  3. 3

    Salida

    El flujo de trabajo completa su automatización y entrega el resultado al destino configurado.

Detalles de nodos (8)

HT

HTTP Request

httpRequest

#1
GR

GraphQL

graphql

#2
CO

Code

code

#3

Cómo importar este flujo de trabajo

  1. 1Haz clic en el botón Descargar JSON a la derecha para guardar el archivo del flujo de trabajo.
  2. 2Abre tu instancia de n8n. Ve a Flujos de trabajo → Nuevo → Importar desde archivo.
  3. 3Selecciona el archivo low-stock-sold-out-watcher-for-shopify descargado y haz clic en Importar.
  4. 4Configura las credenciales para cada nodo de servicio (claves API, OAuth, etc.).
  5. 5Haz clic en Probar flujo de trabajo para verificar que todo funcione, luego actívalo.

O pega directamente en n8n → Importar desde JSON:

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

Integraciones

codegraphqlhttprequestifwebhook

Obtener este flujo de trabajo

Descarga e importa con un solo clic

Descargar JSONVer en n8n.io
Nodos8
Complejidadmedium
Disparadorwebhook
Vistas1,843
CategoríaMiscellaneous

Creado por

siyad

siyad

@salsiy

Etiquetas

codegraphqlhttprequestifwebhook

¿Nuevo en n8n?

n8n es una herramienta de automatización de flujos de trabajo gratuita y de código abierto. Alójala tú mismo o usa la versión en la nube.

Obtener n8n gratis →

Related Miscellaneous Workflows