Send Shopify Out of Stock Alerts to Discord | Product Inventory

Send Shopify Product Out of Stock Message to Discord

7 min setup
No coding required
Runs automatically

Get instant Discord alerts when Shopify products go out of stock. This workflow sends real-time notifications to your specified Discord channel the moment inventory reaches zero. Your team receives detailed product information to quickly restock items and minimize lost sales. Track stockouts across your store and maintain optimal inventory levels with targeted Discord messages that keep your whole team in the loop.

How it works

6 steps to get notifications whenever products go out of stock after an order

New Shopify Order

App connector: [Shopify](/content/apps/shopify/integrate "View Shopify integration page"/index.html)• Time to complete: 0 minutes (Auto-configured)
Why this matters: This trigger monitors your Shopify store for new orders and kicks off the entire workflow, ensuring you're notified about stock shortages as they happen in real-time.

When a customer places an order in your Shopify store, this trigger automatically activates and captures all the order details including line items and product information. The trigger is pre-configured to run on every new order, so no setup is required from you. It immediately passes the complete order data to the next step for processing.

Retrieve Shop

App connector: [Shopify](/content/apps/shopify/integrate "View Shopify integration page"/index.html)• Time to complete: 0 minutes (Auto-configured)
Why this matters: This step gathers your store's basic information needed to create proper links back to your Shopify admin in the Discord notifications.

This step automatically retrieves your shop's domain name and other store details that will be used later to build admin URLs in your Discord messages. The system uses this information to create clickable links that take you directly to the product page in your Shopify admin. No configuration is needed as it pulls data directly from your connected Shopify store.

Loop Through Line Items

App connector: [Loop](/content/apps/loop/integrate "View Loop integration page"/index.html)• Time to complete: 0 minutes (Auto-configured)
Why this matters: This step processes each individual product in the order separately, allowing the workflow to check stock levels for every item the customer purchased.

The Loop step takes the order's line items and processes them one by one, creating individual iterations for each product variant in the order. This ensures that if a customer buys multiple different products, each one gets its own stock level check. The loop automatically handles both single-item and multi-item orders without any configuration needed.

Retrieve Product Variant

App connector: [Shopify](/content/apps/shopify/integrate "View Shopify integration page"/index.html)• Time to complete: 0 minutes (Auto-configured)
Why this matters: This step fetches the current inventory quantity for each product variant, which is essential to determine if the item is actually out of stock.

For each product in the order, this step pulls the complete variant details including the current inventory quantity from Shopify. It retrieves information like SKU, product options, and most importantly the real-time stock level that determines whether a Discord notification should be sent. The system automatically uses the variant ID from each loop iteration to fetch the correct product data.

Filter: Check Stock Level

App connector: [Filter](/content/apps/filter/integrate "View Filter integration page"/index.html)• Time to complete: 0 minutes (Auto-configured)
Why this matters: This step prevents unnecessary notifications by only allowing products with zero or negative inventory to trigger Discord messages.

The Filter step examines the inventory quantity retrieved in the previous step and only continues the workflow if the stock level is zero or below. This ensures you only get notified about genuine out-of-stock situations rather than receiving messages for every single order. Products with remaining inventory are filtered out and won't trigger Discord notifications.

Send Discord Stockout Alert

App connector: [Discord](/content/apps/discord/integrate "View Discord integration page"/index.html)• Time to complete: 2 minutes
Why this matters: This step sends the actual Discord notification with product details and admin links, giving you immediate visibility when items go out of stock.

You'll need to configure your Discord channel ID where you want to receive stock alerts. The message automatically includes either the product SKU or product name with variants, confirms the out-of-stock status, and provides a direct link to the product in your Shopify admin. To find your channel ID, right-click on your Discord channel and select "Copy ID" from the menu.

Frequently asked questions

Will this send notifications for every single item in large orders?

Yes, if a customer orders 5 different products and 3 of them are now out of stock, you'll receive 3 separate Discord messages. Each out-of-stock item gets its own notification with specific product details and admin links.

What happens if the same product goes out of stock multiple times in one day?

You'll receive a notification each time an order causes a product to hit zero inventory, even if it's the same product. This helps you understand demand patterns and restock urgency for popular items.

Can I customize the Discord message format or add more product information?

Absolutely. You can edit the message content in the Discord step to include additional product details like vendor, product type, or inventory policy. The workflow has access to all product variant data retrieved in earlier steps.

Make this template your own!

Customize this workflow even further: