How it works

Follow these 5 simple steps to get Discord notifications whenever your Shopify inventory changes

Shopify logo icon

Inventory Level Updated

This is what starts the entire workflow—every inventory change in your store activates this automation.
This trigger monitors your Shopify store for any inventory level updates. Whenever a product's stock level changes—whether from a sale, manual adjustment, or restock—this step captures the inventory item ID and available quantity, then passes that information to the next steps. You don't need to select specific products; it watches your entire inventory automatically.
Time to complete: 1 minute

Retrieve Product Variant Details from Inventory Item ID

Inventory item IDs aren't human-readable, so this step converts that ID into actual product information your team can understand.
This step takes the inventory item ID from Step 1 and looks it up in Shopify to find which product variant it belongs to. It automatically retrieves the product title, variant title, product ID, and product variant ID. The step is pre-configured with {{shopify.inventory_item_id}} as the lookup value, so you don't need to change anything—just ensure the step is enabled and it will run automatically.
Time to complete: Auto-configured (0 minutes)

Retrieve Product Variant

This step gets the SKU, which helps your team quickly identify products in your inventory system or warehouse.
Using the product variant ID from Step 2 ({{shopify_2.product_variant_id}}), this step fetches additional variant details from Shopify's API, specifically the SKU field. The SKU is included in your Discord notification so team members can reference the exact product code when checking stock, fulfilling orders, or placing reorders. This step is already configured and runs automatically—no input needed.
Time to complete: Auto-configured (0 minutes)

Retrieve Shop

Your shop domain is needed to build clickable admin links, so your team can jump directly to the product page.
This step retrieves your Shopify shop information, particularly your myshopify_domain. This domain is used in Step 5 to construct a direct URL to the product in your Shopify admin. Instead of your team having to search for the product manually, they'll get a link that takes them straight to the product page for quick action. No configuration required—this step runs automatically.
Time to complete: Auto-configured (0 minutes)
discord icon

Create Channel Message

This is where the Discord notification is actually sent and where you control which channel receives alerts and what information appears.
Configure the Discord channel where inventory alerts should be posted. You'll need to enter your Discord channel ID in the channelId field (right-click your channel in Discord and select "Copy ID"). The message content is pre-filled with a formatted notification that includes: 📦 "Inventory Updated" Product name: {{shopify_2.product_title}} Variant name: {{shopify_2.product_variant_title}} SKU: {{shopify_4.sku}} Available quantity: {{shopify.available}} [Clickable admin link] You can customize the message text, add or remove fields, change emojis, or adjust formatting to match your team's preferences.
Time to complete: 2 minutes

Make it your own

Customize this workflow even further:

Filter by inventory threshold
Only send Discord alerts when stock drops below a critical level, like 10 units or less. This reduces notification noise and ensures your team only sees the inventory changes that actually require attention, rather than every single stock adjustment throughout the day.
Route to different Discord channels
Send low-stock alerts to your operations channel, restock notifications to your marketing team, and out-of-stock alerts to customer service. By using conditions to check inventory levels and product collections, you can make sure the right teams see the right inventory updates.
Track inventory trends over time
Save each inventory change to a MESA Data table along with timestamps, product details, and previous stock levels. This creates a historical record you can analyze to identify fast-moving products, seasonal trends, or unusual stock patterns that might indicate issues.
Batch updates during high-volume periods
Add a short delay (like 5 minutes) and aggregate multiple inventory changes into a single Discord message. This is especially useful during busy sales periods or after bulk imports, preventing your channel from being flooded with dozens of individual notifications.

Frequently asked questions

Will this trigger for every single inventory adjustment, even small ones?
Yes, by default this workflow triggers whenever any inventory level changes in Shopify. If you're making bulk adjustments or have high-volume sales, you may want to add a filter to only notify when stock drops below a threshold (like 10 units) or use a delay to batch multiple updates together.
Can I customize the Discord message format or add more information?
Absolutely. You can edit the message content to include additional product details, add custom text, use different emojis, or change the formatting. You can also add conditional logic to display different messages based on whether stock is increasing (restock) or decreasing (sale).
Does this work with Shopify stores that have multiple inventory locations?
Yes, the workflow monitors inventory level updates across all locations. The notification shows the available quantity at the specific location where the change occurred. If you want to filter notifications by location or include location details in the message, you can customize the workflow to add those conditions.
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 get Discord notifications whenever your Shopify inventory changes?

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

Use this template — It's free
7-day free trial • 6 min setup • Cancel anytime