Low Stock & Sold Out Watcher for Shopify
This workflow is designed to automatically monitor the inventory status of a Shopify store. When the inventory falls below a set threshold or a product is sold out, it promptly sends a notification to a designated Discord channel. The notification includes the product name, inventory quantity, variants, and images, helping the operations team to stay updated on inventory dynamics in real time, respond quickly to restocking needs, optimize sales strategies, and avoid sales losses due to stockouts.

Workflow Name
Low Stock & Sold Out Watcher for Shopify
Key Features and Highlights
This workflow automatically monitors inventory updates in a Shopify store and triggers alert notifications when product stock falls below a set threshold (fewer than 4 units) or is completely sold out. The notification includes the product name, stock quantity, product variants, and product images, which are pushed directly to a designated Discord channel. This enables operations personnel to stay informed of inventory status in real time, facilitating timely restocking or sales strategy adjustments.
Core Problems Addressed
- Automates inventory monitoring to eliminate the need for frequent manual stock checks
- Provides timely alerts for low stock and sold-out products to prevent sales losses
- Delivers visually rich notifications combining text and images to enhance alert clarity and response efficiency
Use Cases
- E-commerce operations teams monitoring inventory dynamics in real time
- Warehouse managers responding quickly to inventory warnings
- Marketing teams adjusting promotional strategies to avoid recommending out-of-stock items
- Suitable for any business or individual seller using the Shopify platform
Main Workflow Steps
- Webhook Node: Listens for “inventory level update” events sent by Shopify to trigger the workflow
- Code Node: Parses inventory data and determines if stock is below 4 units or sold out
- Conditional Nodes (Low Inventory and Out of Stock): Routes processing based on inventory status
- GraphQL Node: Calls Shopify GraphQL API to retrieve detailed product information and images
- HTTP Request Node: Sends the inventory alert message with images and text to the specified Discord channel
Involved Systems and Services
- Shopify: Uses Webhook and GraphQL API to obtain real-time inventory data and product details
- Discord: Pushes inventory alert messages via a bot account
- n8n Automation Platform: Serves as the execution and orchestration engine for the entire workflow
Target Users and Value
- Shopify store operators and administrators
- Supply chain and warehouse management personnel
- E-commerce teams requiring real-time inventory alerts to optimize restocking and sales management
- Businesses aiming to improve inventory management efficiency and reduce out-of-stock risks through automation
This workflow leverages automation to provide real-time inventory status feedback to relevant stakeholders, significantly enhancing the agility and accuracy of inventory management and supporting smooth e-commerce operations.