Library / Alerts & Notifications
Alerts & Notifications
Alert Slack and Gmail on Low Magento 2 Stock
Every day, it fetches Magento 2 SKUs and MSI stock status, identifies low-stock items, and sends alerts by Slack and Gmail.
What it does
📦 MAGENTO 2 STOCK ALERTS Author: Kanaka Kishore Kandregula WORKFLOW PURPOSE: Automatically monitor Magento 2 (Adobe Commerce) inventory levels and alert when products are running low SETUP REQUIREMENTS: - Magento 2 store with product inventory tracking - Slack & Gmail channels for alerts (#magento-notifications) - Define low stock threshold (default: 5 units)
The steps
- Daily Inventory Check
- Check if Alerts Needed
- Send Inventory Alert
- Get All Product Skus
- Extract SKUs
- Fetch MSI Stock Status
- Process Stock Data and Identify Low Stock
- Send a message
- Format Message
Similar automations