Low Stock & Sold Out Watcher for Shopify — n8n ワークフロー

複雑度🔗 Webhook8個のノード🏷️ Miscellaneous👁 1,843回閲覧作成者:siyad

概要

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

使用ノード

HTTP RequestGraphQLCode

ワークフロープレビュー

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

仕組み

  1. 1

    トリガー

    このワークフローは webhook トリガーで開始します。

  2. 2

    処理

    データは 8 個のノードを流れます, connecting code, graphql, httprequest。

  3. 3

    出力

    ワークフローは自動化を完了し、設定された宛先に結果を配信します。

ノード詳細 (8)

HT

HTTP Request

httpRequest

#1
GR

GraphQL

graphql

#2
CO

Code

code

#3

このワークフローのインポート方法

  1. 1右側の JSONをダウンロード ボタンをクリックしてワークフローファイルを保存します。
  2. 2n8nインスタンスを開き、ワークフロー → 新規 → ファイルからインポート に進みます。
  3. 3ダウンロードした low-stock-sold-out-watcher-for-shopify ファイルを選択し、インポートをクリックします。
  4. 4各サービスノードの 認証情報(APIキー、OAuthなど)を設定します。
  5. 5ワークフローをテスト をクリックして動作確認し、有効化します。

またはn8nの JSONからインポート に直接貼り付け:

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

インテグレーション

codegraphqlhttprequestifwebhook

このワークフローを取得

ワンクリックでダウンロード&インポート

JSONをダウンロードn8n.ioで見る
ノード8
複雑度medium
トリガーwebhook
閲覧数1,843
カテゴリMiscellaneous

作成者

siyad

siyad

@salsiy

タグ

codegraphqlhttprequestifwebhook

n8n初めてですか?

n8nは無料のオープンソースワークフロー自動化ツールです。セルフホストまたはクラウド版をご利用いただけます。

n8nを無料で始める →

Related Miscellaneous Workflows