Skip to main content

Automate Stockroom with Shopify Flow

Route stock and purchase order events anywhere with Shopify Flow - eight free triggers covering out of stock, low stock, reorder points, overstock, and the full purchase order lifecycle.

Shopify Flow is Shopify's free automation tool - it lets you build "when this happens, do that" workflows right in your admin. Stockroom provides eight Flow triggers, so your inventory and purchase order events can start any workflow you like: send an email, notify staff, tag a product, update a metafield, or hand off to another app - no custom code needed.

Before you start

  • Install Shopify Flow from the Shopify App Store - it is free on every Shopify plan.

  • That is the whole setup. Stockroom's triggers appear in Flow automatically under the Stockroom app name, and firing starts as soon as you turn on a workflow that uses one - there is nothing to enable inside Stockroom.

Stock triggers

Each stock trigger fires per item, per location, the moment Stockroom sees available stock cross into the condition:

  • Item went out of stock - available quantity reached zero at a location.

  • Item fell below low stock level - available dropped to or below the item's Low stock value.

  • Item crossed its reorder point - available dropped to or below the item's Reorder point.

  • Item hit its overstock level - available reached the item's Max level.

Every firing includes the product itself (so your workflow conditions can use any product field), plus the variant title, SKU, location name and id, the available quantity, and the threshold that was crossed. The three threshold triggers use the values saved in the product page's Costs & replenishment section; Item went out of stock needs no setup at all.

Purchase order triggers

These fire from the purchase order lifecycle - automation no other purchasing app can offer, because your POs live in Stockroom:

  • Purchase order ordered - a PO was marked as ordered, from Stockroom or from POS.

  • Purchase order receipt recorded - a shipment was received against a PO, partial receipts included. The payload carries Units received and a true/false Final receipt you can branch on.

  • Purchase order received - the PO became fully received (every line received or cancelled - closing an order short counts).

  • Purchase order overdue - the expected date passed and the PO is not fully received. Carries Days overdue and Outstanding units.

Every PO firing carries the PO number, supplier name, destination location, order total with its supplier currency, expected date, and a link that opens the purchase order in Stockroom - handy in staff notifications.

Build a workflow

  • In your Shopify admin, open Flow and click Create workflow.

  • Click Select trigger and search for Stockroom, then pick a trigger.

  • Add a condition if you want to narrow it down - stock triggers let you condition on anything about the product (vendor, tags, type, and so on).

  • Add one or more actions - send an internal email, tag the product, call another app - then turn the workflow on.

Workflow ideas

  • Email your buyer the moment a key item crosses its reorder point at any location.

  • Notify your receiving team when a purchase order is marked ordered, so they know what is on the way.

  • Escalate overdue purchase orders to a manager, with the days overdue and outstanding units in the message.

  • Tag products that went out of stock so your theme or marketing apps can react.

Good to know

  • Stock triggers fire within seconds of the stock change; Purchase order overdue is checked hourly.

  • Purchase order overdue fires once per PO. If you change the PO's expected date, the trigger re-arms and can fire again if the new date is also missed.

  • Triggers fire only when stock actually crosses into a condition. Catalog imports, resyncs, and installing the app never replay old events into your workflows.

  • The threshold triggers only fire for items with a saved Low stock, Reorder point, or Max level value. Stockroom's suggested thresholds do not trigger workflows until you apply them.

  • PO totals are reported in the purchase order's supplier currency, exactly as they appear on the PO.

  • Shopify Flow is free on every plan - and so is every Stockroom trigger.

Did this answer your question?