Monitor Shopify Inventory & Send Low Stock Alerts to Slack — n8n 工作流

复杂度 定时6 个节点🏷️ Miscellaneous作者:David Olusola

概览

Inventory Low Stock Alerts E-commerce Automation This n8n template automatically monitors your Shopify inventory levels and sends alerts when products fall below your defined threshold. Prevent stockouts and maintain sales revenue with proactive inventory management. Good to know

Default threshold is 10 units but easily customizable in the Code node Monitors all product variants individually Runs daily at 9 AM but schedule is fully adjustable Only sends alerts when action is needed (no empty no

使用的节点

SlackShopifyCode

工作流预览

📦 INVENTORY LOW STOCK MONITOR
Author: DAVID OLUSOLA
WORKFLOW PURPOSE:
Automatically monitor Shopify inventory levels and aler
SETUP REQUIREMENTS:
- Shopify sto
KEY FEATURES:
✅ Daily automated inventory checks
✅ Customizable stock thresholds
✅ Multi-variant product support
✅ Detailed low stock reporting
✅ Proactive restocking alerts
BUSINESS VALUE:
🚫 Prevent stockouts
💰 Maintain sales revenue
📊 Better inventory management
⏰ Proactive restocking
TIME TO BUILD: 20 minutes
THRESHOLD CUSTOMIZATION:
Modify the lowStockThreshold variable in the Code node:
const lowStockThreshold = 10;
Change 10 to your desired threshold:
- 5 for fast-moving items
- 20 for slow-moving
D
Daily Inventory Check
Get All Products
Filter Low Stock Items
C
Check if Alerts Needed
F
Format Alert Message
Send Inventory Alert
6 nodes5 edges

工作原理

  1. 1

    触发器

    工作流由 定时 触发器启动,按预定计划运行。

  2. 2

    处理

    数据流经 6 个节点, connecting code, if, scheduletrigger。

  3. 3

    输出

    工作流完成自动化并将结果发送到配置的目标。

节点详情 (6)

SL

Slack

slack

#1
SH

Shopify

shopify

#2
CO

Code

code

#3

如何导入此工作流

  1. 1点击右侧 下载 JSON 按钮保存工作流文件。
  2. 2打开你的 n8n 实例,依次点击 工作流 → 新建 → 从文件导入
  3. 3选择下载的 monitor-shopify-inventory-send-low-stock-alerts-to-slack 文件并点击导入。
  4. 4为每个服务节点配置 凭证(API 密钥、OAuth 等)。
  5. 5点击 测试工作流 验证一切正常,然后激活它。

或直接在 n8n → 从 JSON 导入 中粘贴:

{ "name": "Monitor Shopify Inventory & Send Low Stock Alerts to Slack", "nodes": [...], ...}

集成

codeifscheduletriggersetshopifyslack

获取此工作流

一键下载并导入

下载 JSON在 n8n.io 上查看
节点6
复杂度medium
触发器scheduled

创建者

David Olusola

David Olusola

@dae221

标签

codeifscheduletriggersetshopifyslack

n8n 新手?

n8n 是一款免费开源的工作流自动化工具,支持自托管或使用云版本。

免费获取 n8n →

Related Miscellaneous Workflows