How it works

Follow these 8 simple steps to start receiving low inventory alerts for Shopify locations automatically

Shopify logo icon

Inventory Level Updated

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: This trigger captures every inventory change at every location in real-time, enabling immediate low stock detection that prevents stockouts by alerting you the moment inventory drops below your threshold.

When inventory levels change at any Shopify location (from order fulfillment, manual inventory adjustments, returns, stock transfers, or inventory imports), this trigger activates the workflow and captures the inventory item ID, location ID, and new available quantity. The workflow runs for every inventory change across all locations. No configuration is required—it's pre-connected to your Shopify store and monitors all inventory updates automatically.

Multi-location context: This trigger fires for each location separately. If you transfer stock between locations, it triggers twice (once for the decrease at source location, once for the increase at destination location).

Retrieve Inventory Item

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: Fetches the inventory item record including SKU and tracking information needed to identify which product variant this inventory belongs to, enabling product-specific alert details.

This step retrieves the inventory item record using the inventory item ID from the trigger. It returns inventory item data including SKU, cost, country of origin, harmonized system code, and tracking status. The SKU is essential for the next step's product variant lookup.

Inventory item context: In Shopify's data model, inventory items are separate from product variants. One variant can have multiple inventory items (one per location), and inventory items store location-agnostic product information like SKU.

Retrieve Product Variant Details from SKU

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: Connects the inventory item to its product variant using SKU lookup, establishing the link needed to retrieve product information for meaningful alert messages that identify which product needs restocking.

This step retrieves the product variant using the SKU from the inventory item. It returns variant data including product variant ID, product ID, variant title, price, and inventory management settings. The product ID is used in the next step to fetch complete product details.

SKU lookup: This uses MESA's SKU lookup endpoint which searches all product variants for a matching SKU. This is necessary because Shopify's inventory system doesn't directly link inventory items to variants.

Retrieve Product

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: Fetches complete product information including product title and details needed for creating informative alert emails that clearly identify which product needs attention, enabling quick restocking decisions.

This step retrieves the full product record using the product ID from the variant lookup. It returns complete product data including product title, description, vendor, product type, tags, images, and all variants. The product title is used in the alert email to clearly identify which product has low stock.

Retrieve Location

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: Fetches the location name and details to identify which specific warehouse, store, or fulfillment center has low stock, enabling location-specific restocking and inventory management decisions.

This step retrieves the location record using the location ID from the trigger. It returns location data including location name, address, active status, and legacy status. The location name appears in the alert email to specify where restocking is needed.

Multi-location value: For businesses with multiple warehouses or retail stores, knowing which location has low stock is critical for directing restocking efforts to the right place.

Retrieve Shop

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: Fetches your store's myshopify domain needed for constructing the direct admin link in the alert email that enables one-click access to the product for immediate restocking action.

This step retrieves shop information from Shopify, specifically the myshopify domain. This domain is used to build the product admin URL format "https://admin.shopify.com/store/[shop]/products/[product_id]" that appears in the alert email.

Filter (Low Stock Check)

App connector: Filter • Time to complete: 2 minutes
Why this matters: Acts as the decision gate that determines which inventory updates warrant alerts, filtering to only send notifications when stock actually drops below your defined threshold rather than alerting on every inventory change.

This filter checks if the available inventory quantity is less than your configured threshold.

Configuration: You must set the low stock threshold during setup—the default is 1 (alert when stock reaches 0 or below), but you can increase it to get earlier warnings (like 5, 10, or 25 units).

Threshold strategy:

  1. Low threshold (1-5): Last-minute alerts, minimal notification volume
  2. Medium threshold (10-25): Balanced warning time for restocking
  3. High threshold (50-100): Early warnings for high-volume products or long lead times

If the inventory is above the threshold, the workflow stops without sending an alert. Only inventory below the threshold proceeds to email notification.

email icon

Send Email

App connector: Email • Time to complete: 2 minutes
Why this matters: Delivers immediate notification when low stock is detected, providing all essential information needed for restocking decisions including product name, location, current quantity, and direct admin access.

This step sends an email to your configured address.

Configuration: You must enter the alert recipient email during setup—this could be your inventory manager, warehouse team email, or your personal email.

The email includes:

  1. Subject: "Product [product name] stock level is low"
  2. Message body:
  3. Product name
  4. Location name where stock is low
  5. Current available quantity
  6. Direct admin link to the product

Team distribution: For larger teams, use a distribution list email or add multiple email steps for different recipients. You could also replace/supplement with Slack notifications for real-time team alerts.

Make it your own

Customize this workflow even further:

Add location-specific thresholds
Insert conditional logic that checks the location name and uses different stock thresholds for different locations (higher thresholds for main warehouse, lower for retail stores), matching restocking urgency to location importance.
Filter by product type or vendor
Add filters that check product tags, vendor, or product type and only alert for specific product categories, focusing alerts on critical inventory like best-sellers or high-margin items.
Send to different recipients by location
Add conditional logic that checks location and sends emails to different team members based on which warehouse or store has low stock, routing alerts to the right people.
Include reorder suggestions
Enhance the email message to include vendor information, typical order quantities, or links to purchase orders, providing actionable next steps beyond just the alert.

Frequently asked questions

Can I set different thresholds for different products?
The current workflow uses one threshold for all products. To implement per-product thresholds, you'd need to add conditional logic that checks product tags, vendor, or type and compares against different threshold values, or store custom threshold data in product metafields.
Will I get alerts for every inventory change once stock is below the threshold?
Yes, the workflow triggers on every inventory update. If stock is at 3 and your threshold is 5, you'll get an alert every time inventory changes (order placed, manual adjustment, etc.) until stock rises above 5. Consider adding a delay or deduplication logic if alert volume becomes excessive.
Can I receive alerts via Slack instead of email?
Yes, replace or supplement the email step with a Slack message step. Use the same message format and send to a channel like #inventory-alerts for team visibility and discussion of restocking actions.
What is a template?
Templates are pre-made workflows by our team of experts. Instead of building a workflow from scratch, these have all the steps needed to complete the task.
Can I personalize a template?
Yes! Every step can be customized to meet your exact requirements. Additionally, you can even add more steps and make it more sophisticated.
Are templates free?
Yes! Our entire library containing hundreds of templates are free to use and customize to your exact needs.

Ready to start receiving low inventory alerts for Shopify locations automatically?

Join thousands who've automated their work and saved an average of 3.5 hours every week.

Start with this template — It's free
7-day free trial • 10 min setup • Cancel anytime