Email Notification When a Shopify Product Goes Out of Stock

6 min setup
No coding required
Runs automatically

Stay on top of inventory by receiving an automatic email notification whenever a product goes out of stock. This MESA workflow template alerts the store owner when stock levels hit zero, allowing you to promptly manage restocking and customer communications. Avoid inventory surprises and ensure timely action to keep your store running smoothly.

Shopify logo icon
Order Created
Retrieve Shop
Loop
Retrieve Product Variant
Filter
email icon
Send Email

You're in good company

"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
PetFriendly

"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Zailys

"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Rothy's

How it works

6 steps to start receiving email alerts whenever your product inventory drops to out-of-stock levels

Shopify logo icon

Order Created

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: This step monitors your Shopify store for new orders, which is when inventory levels change and products might go out of stock.

This trigger activates automatically whenever a customer places an order in your Shopify store. It captures all the order details including which products were purchased and in what quantities. No configuration is needed - MESA connects directly to your Shopify store's order data and passes the complete order information to the next step for processing.

Retrieve Shop

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: This step gets your shop's domain information, which is needed to create proper admin links in the notification emails.

This step automatically retrieves your shop's basic information including your myshopify domain name. The workflow uses this data to build direct links to your Shopify admin panel in the email notifications. No input is required from you - MESA automatically fetches your shop details and stores them for use in later steps.

Loop

App connector: Loop • Time to complete: 0 minutes (Auto-configured)
Why this matters: This step processes each individual product in the order separately, since orders often contain multiple different items that each need inventory checking.

The Loop step takes the line items from the order and processes them one at a time. For each product variant in the order, it runs the remaining workflow steps to check inventory levels and send notifications if needed. This ensures that if someone orders 3 different products and 2 go out of stock, you'll get separate notifications for each one.

Retrieve Product Variant

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: This step gets the current inventory quantity for each specific product variant, which is the key data needed to determine if it's out of stock.

This step fetches detailed information about each product variant including its current inventory quantity, SKU, and product ID. It uses the variant ID from the order line item to look up the most current stock levels in your Shopify store. The inventory quantity retrieved here is what gets compared against your out-of-stock threshold in the next step.

Filter

App connector: Filter • Time to complete: 1 minute
Why this matters: This step determines whether the product's inventory has dropped to your defined threshold, preventing unnecessary notifications for products that are still in stock.

The Filter step compares the current inventory quantity against your specified out-of-stock threshold. You'll configure the threshold value during setup - enter "0" if you want notifications only when completely out of stock, or a higher number like "5" if you want early warnings when stock gets low. Only products that meet this condition will trigger email notifications in the final step.

email icon

Send Email

App connector: Email • Time to complete: 1 minute
Why this matters: This step delivers the actual notification with product details and admin links so you can take immediate action on out-of-stock items.

The Send Email step creates and sends the notification message to your specified email address. You'll configure the recipient email address during setup. The email automatically includes the product's SKU, current inventory level, and a direct link to the product in your Shopify admin panel. The message is sent only for products that passed the inventory threshold filter.

Ready to set this up? It only takes 6 minutes.

Our support team will even help you personalize this workflow for free.

Get started →

Make it your own!

Customize this workflow even further:

Set custom inventory thresholds
Configure different warning levels for different product types, such as alerting at 10 units for bestsellers but only at 0 for slow-moving items.
Add Slack notifications
Extend the workflow to post out-of-stock alerts directly to your team's Slack channel alongside email notifications.
Track restock patterns
Store inventory alerts in a Google Sheet to identify which products go out of stock most frequently and optimize your purchasing schedule.
Deploy restocking automation
Connect to your supplier's API to automatically generate purchase orders when key products hit your restock threshold.

Common questions

How long does it take for the notification to arrive after a product goes out of stock?

Will I get multiple notifications if the same product goes out of stock from several orders?

Can I set different out-of-stock thresholds for different products?

Ready to start receiving email alerts whenever your product inventory drops to out-of-stock levels?

7-day free trial • 6 min setup • Cancel anytime

Need help? Our automation experts will help you personalize this workflow for free. Contact support