Running out of a bestseller rarely happens because nobody cared. It usually happens because checking stock against supplier lead times is a job that sits in someone's head, and it gets skipped in a busy week. The good news is that this check is very mechanical, which makes it an ideal first automation for a small Shopify store.
This guide shows how to think about reorder automation in n8n, what data you need first, and how to keep a human in control of every purchase order.
How to set Shopify reorder points
A single threshold for the whole catalog causes either constant noise or late alerts. A useful reorder point considers three things:
- Average daily sales for the SKU over a recent window (for example the last 30 days).
- Supplier lead time in days, including shipping.
- Safety stock: a buffer for demand spikes or late deliveries.
A simple formula many small stores start with is: reorder point = daily sales × lead time + safety stock. Keep these values in a Google Sheet next to each SKU, together with the supplier name and pack size. That sheet becomes the brain of the automation, and you can change it without touching the workflow.
How Shopify inventory automation in n8n works
The workflow itself is short:
- A Schedule Trigger runs every morning.
- The Shopify node pulls inventory levels for active variants.
- A lookup joins each SKU to its supplier, reorder point and pack size from the sheet.
- A Code node lists SKUs below their reorder point and rounds the order quantity up to the supplier's pack size.
- Results are grouped by supplier into purchase order drafts.
- A short Slack or email summary links to each draft.
Our Shopify Low-Stock Reorder Alerts with Supplier PO Drafts template ships with this structure, an example SKU mapping sheet and an error branch that tells you when an API call fails. If you run WooCommerce instead, start with WooCommerce Orders to Google Sheets with Low-Stock Alerts.
Keep a human review before you reorder
It's tempting to email suppliers automatically. We recommend not doing that at first. Draft POs let you catch odd cases: a seasonal SKU you're discontinuing, a supplier who changed pack sizes, or a one-off bulk order that distorted average sales. After a few weeks of reviewing drafts and finding them right, you can add a send step for trusted suppliers.
Shopify back-in-stock alerts for waiting customers
Inventory automation isn't only about buying. Two related flows help you recover sales when stock does run out:
- Back-in-stock alerts. Collect "notify me" sign-ups and email them when the variant returns. See Back-in-Stock Email Alerts from a Waitlist Sheet.
- Pre-order thresholds. If enough people want an item, open a pre-order run. See Pre-order Threshold Waitlist Notify.
And for carts that were abandoned while stock was available, the Shopify Abandoned Cart AI Email Recovery workflow fills the gap.
Common Shopify inventory automation mistakes
- Counting all locations together when only one warehouse ships online orders. Pick the location deliberately.
- Ignoring incoming stock. If a PO is already open, don't reorder again. Add an "on order" column to the sheet and subtract it.
- No error alerts. A silent failure is worse than no automation, because everyone assumes it's working. Make sure failures notify someone.
Next steps
If your store is small, a single template plus a sheet is usually enough. If you have several sales channels, bundles or a 3PL, the logic gets more specific, and that is where a custom build makes sense.
- Browse the n8n template catalog or save with a bundle from $69.
- Want it installed on your own n8n? The $199 setup service handles credentials and a test run.
- Multi-channel inventory or ERP sync? Request a fixed-price custom quote.
FAQ
Do I need a paid inventory app for Shopify low-stock alerts in n8n?
Not for basic reorder alerts. n8n, the Shopify API and a Google Sheet cover it. Larger operations may still benefit from dedicated inventory software.
How often should a Shopify inventory automation in n8n run?
Once a day suits most stores. High-volume stores can run it every few hours.
Can Shopify inventory automation in n8n handle variants and bundles?
Variants yes. Bundles that draw from component SKUs need extra logic, which is a good candidate for a custom quote.