Operations · n8n

Auto-Draft a Purchase Order to Your Supplier When Shopify Stock Runs Low

Knowing you're low on stock is only half the job — you still have to reorder. This workflow watches inventory, calculates a smart reorder quantity from recent sales velocity, and drafts a ready-to-send purchase order email to the right supplier for each low SKU.

difficulty Intermediatesetup 40 minresult Reorders that draft themselves at the right quantity — never scramble to restock a bestseller again
  1. 1

    Check stock daily

    A Schedule Trigger and Shopify node pull inventory levels each morning.

  2. 2

    Find low SKUs and velocity

    A Code node flags variants below their reorder point and estimates a reorder quantity from recent sales pace.

  3. 3

    Look up the supplier

    A Google Sheets node maps each SKU to its supplier, email and lead time.

  4. 4

    Draft the PO

    Claude writes a clean, professional purchase-order email with SKUs, quantities and requested ship date.

  5. 5

    Queue it to send

    A Gmail node creates the PO as a draft to your supplier for one-click approval.

Frequently asked questions

How is the reorder quantity chosen?

It uses recent daily sales velocity times your lead time plus a safety buffer, so you order enough to cover the wait without over-ordering. All tunable in the Code node.

Can it send automatically?

It drafts by default so you keep control of spend. Flip the Gmail node to 'send' once you trust the quantities.

About this recipe. Recipes on FlowRecipesHub are written for business owners, not developers, and are tested before publishing — how recipes get made. Some ingredient links are affiliate links that cost you nothing — full disclosure.