Daily Low Stock Alert with JavaScript
Advanced inventory scanning with custom threshold logic.
Overview
Polls Shopify product inventory daily, uses JavaScript to identify variants below threshold (configurable), and sends detailed email alerts. Includes SKU, product name, variant, and current qty. **What it automates:** - Daily scheduled inventory checks - Custom low-stock thresholds per SKU - Detailed email reports with variant-level details - Prevents accidental stockouts **Apps & credentials needed:** - Shopify (Admin API) - Gmail or SendGrid (email) - Code node (JavaScript for filtering) **Setup steps:** 1. Connect Shopify Admin API 2. Set low-stock threshold (default 5 units) 3. Add email recipients 4. Test with a product variant 5. Schedule check time (e.g., 9am daily) 6. Review first email to adjust threshold **Difficulty:** Intermediate+ | **Est. setup:** 20-25 min **Note:** Uses JavaScript code node for advanced filtering
What's included
Quickstart
- 01
Download the JSON
With an active Library Pass, download the workflow file right from this page or your dashboard.
- 02
Import into n8n
Choose Import from File and select the downloaded JSON. The full agent graph appears, ready to configure.
- 03
Plug in credentials
Each integration node prompts for credentials on first run. The setup guide lists every credential the agent expects.
- 04
Activate and test
Run once with sample input, confirm the expected output, then flip the activate toggle.
Reviews (0)
No reviews yet. Be the first.
Sign in to leave a review.
Included with any pass
This agent — and every other in the library — comes with a Library Pass. One pass, the whole catalog.
Get a Library Pass- Every agent in the library
- All new releases while active
- Unlimited downloads
- Commercial-use license
- Priority email support
- 30-day money-back guarantee
More in Inventory
Inventory Low Stock Alerts
Monitor inventory levels and auto-alert when stock drops below thresholds.
Out-of-Stock & Backorder Notifications
Alert customers when out-of-stock items become available.
Multi-Channel Inventory Reconciliation
Compare Shopify and WooCommerce inventory levels and alert on mismatches.