Keep your store team updated the moment products run low or sell out. The setup listens to inventory changes from Shopify and posts clear alerts in Discord with the product name, image, and quantity. It fits ecommerce teams that want faster restock action and fewer missed orders.
An incoming webhook from Shopify starts the flow. A code step reads the available quantity and the inventory item id, then marks items as low stock or sold out based on a simple threshold you can edit. Two checks split the path. Each path calls the Shopify GraphQL API to pull variant details, title, image, and current quantity. The data is sent to Discord using rich embed messages, with one channel for low stock and another channel for sold out, so the right people see the right alerts.
Setup needs a Shopify admin API token and a Discord bot that can post to your channels. Point Shopify’s Inventory Level Update event to the n8n webhook URL, replace the store domain in the GraphQL endpoint, and confirm the inventory item id field matches your payload. Expect near instant alerts, less manual checking, and fewer oversell risks, especially for fast moving or limited drop items.