AI for Ecommerce
0/15 complete

Module 05 · Operations and Growth

Inventory Alerts and Reorder Automation

An inventory alert should create a reviewable recommendation, not an automatic purchase order. Reorder decisions depend on usable stock, open commitments, observed demand, lead time, variability, minimum order quantities, cash and product risk.

// concept

Define the Stock Equation

// prompt — copy me3 lines
available_to_promise = on_hand - reserved - damaged - safety_hold
inventory_position = available_to_promise + confirmed_inbound - backorders
reorder_point = expected_demand_during_lead_time + safety_stock

Label estimates and update them from actual history. Keep SKU-level timestamps and source systems. If Shopify, Daraz and a physical shop share stock, decide which system is authoritative and how conflicts are reconciled.

Alerts should include SKU, current position, reorder point, lead-time evidence, proposed quantity, cash required, reason and reviewer. Deduplicate alerts and use a cooldown so one condition does not create 50 messages.

// worked_example

Worked Example

A seller’s sheet says 12 units remain. Four are reserved, two damaged and ten confirmed inbound units are late. The naive automation sees 22 and sends no alert. The corrected rule sees six available-to-promise and treats delayed inbound separately until the supplier reconfirms.

The proposed reorder is reviewed against MOQ, cash and recent fulfilled demand. A seasonal spike is not projected indefinitely. The owner approves a smaller pilot quantity and records the decision.

// concept

Monitor the Rule Itself

Once a week, compare alerts with what happened. Record missed stockouts, premature alerts, excess stock and ignored alerts. Adjust one input at a time—lead time, demand window or safety stock—and save the old value. If staff routinely ignore an alert, investigate whether it is noisy, late or unactionable instead of adding more notifications.

Document who can change thresholds, approve reorders and close an alert. That separation keeps a formula mistake or compromised account from silently becoming a cash commitment.

// failure_cases

Failure Cases to Diagnose

6 cases to diagnose

  • Using channel stock without subtracting reservations and damage.

  • Counting unconfirmed inbound inventory.

  • Letting one anomalous sales day drive a large order.

  • Sending duplicate alerts with no acknowledgement state.

  • Automatically purchasing from an unverified supplier.

  • Hiding stockouts by manually changing history.

// pakistan_angle

Pakistan Angle

Lead time can change with imports, holidays, weather, transport disruption and load-shedding. Date the supplier confirmation. For cash-constrained sellers, rank reorders by contribution, service risk and evidence—not by the loudest supplier message.

// hands_on

Hands-On Exercise

5 steps

  1. Calculate available-to-promise for five SKUs.

  2. Choose and document a simple demand window.

  3. Add lead time, safety stock and cash fields.

  4. Configure a review-only alert with deduplication.

  5. Rehearse late inbound and damaged-stock cases.

// completion_rubric

Completion Rubric

5 checks — tick as you verify

0/5

// sources

Sources