Magento 2 Low Stock Alert via Slack & Gmail (MSI Compatible) — n8n Workflow

Gemiddeld complexiteit Gepland9 knooppunten🏷️ Miscellaneousdoor Kanaka Kishore Kandregula

Overzicht

Daily Magento 2 stock check Automation

It identifies SKUs with low inventory per source and sends daily alerts via:

📬 Gmail (HTML email) 💬 Slack (formatted text message)

This automation empowers store owners and operations teams to stay ahead of inventory issues by proactively monitoring stock levels across all Magento 2 sources. By receiving early alerts for low-stock products, businesses can restock before items sell out—ensuring continuous product availability, reducing missed sales opp

Gebruikte knooppunten

HTTP RequestSlackGmailCode

Workflow-voorvertoning

📦 MAGENTO 2 STOCK ALERTS
Author: Kanaka Kishore Kandregula
WORKFLOW PURPOSE:
Automatically monitor Magento 2 (Adobe Commerce) invent
S
KEY FEATURES
✅ MSI Support
✅ Daily automated inventory checks
✅ Customisable stock thresholds
✅ Multiple SKU Reporting
✅ Proactive restocking alerts
BUSINESS VALUE
🚫 Prevent stockouts
💰 Maintain sales revenue
📊 Better inventory management
⏰ Proactive restocking
TIME TO BUILD: 20 minutes
WORK FLOW
1. Schedule Trigger (daily 8:50 AM check)
2. Magento 2 (get all products)
3. Code Node (filter low stock items)
4. If Node (check if any alerts needed)
5. Format alert mess
CONFIGURATION NOTES
- Adjust lowStockThreshold variable in Process Stock Da
- Modify daily schedule timing as needed
- You Bearer YOUR_TOKEN_HERE from Magento
- Slack & Gmail API de
Trigs Daily 8:50am
Magento Logic
Notifications
Checks & Message Formatting
D
Daily Inventory Check
C
Check if Alerts Needed
Send Inventory Alert
Get All Product Skus
Extract SKUs
Fetch MSI Stock Status
Process Stock Data and I…
Send a message
Format Message
9 nodes8 edges

Hoe het werkt

  1. 1

    Trigger

    De workflow start met een gepland-trigger, uitgevoerd op een gedefinieerd schema.

  2. 2

    Verwerking

    Gegevens stromen door 9 knooppunten, connecting code, gmail, httprequest.

  3. 3

    Uitvoer

    De workflow voltooit zijn automatisering en levert het resultaat aan de geconfigureerde bestemming.

Knooppuntdetails (9)

HT

HTTP Request

httpRequest

#1
SL

Slack

slack

#2
GM

Gmail

gmail

#3
CO

Code

code

#4

Hoe deze workflow te importeren

  1. 1Klik op de knop JSON downloaden rechts om het workflowbestand op te slaan.
  2. 2Open uw n8n-instantie. Ga naar Workflows → Nieuw → Importeren uit bestand.
  3. 3Selecteer het gedownloade bestand magento-2-low-stock-alert-via-slack-gmail-msi-compatible en klik op Importeren.
  4. 4Stel inloggegevens in voor elk serviceknooppunt (API-sleutels, OAuth, enz.).
  5. 5Klik op Workflow testen om te controleren of alles werkt, activeer het vervolgens.

Of plak rechtstreeks in n8n → Importeren uit JSON:

{ "name": "Magento 2 Low Stock Alert via Slack & Gmail (MSI Compatible)", "nodes": [...], ...}

Integraties

codegmailhttprequestifscheduletriggerslack

Haal deze workflow op

Download en importeer met één klik

JSON downloadenBekijken op n8n.io
Knooppunten9
Complexiteitmedium
Triggerscheduled
CategorieMiscellaneous

Gemaakt door

Kanaka Kishore Kandregula

Kanaka Kishore Kandregula

@kmyprojects

Tags

codegmailhttprequestifscheduletriggerslack

Nieuw bij n8n?

n8n is een gratis open-source workflow-automatiseringstool. Host het zelf of gebruik de cloudversie.

n8n gratis ophalen →

Related Miscellaneous Workflows