Hanyu Liu

Production tooling / ops automation / threshold trigger

Order Node Reminder

A garment manufacturer tracked every outsourced order in one spreadsheet — dozens of schedule columns per order: costing sign-off, approvals, fabric and trim purchase, pre-production samples, bulk, delivery — across more than a dozen departments. Planners chased each node by memory and by shouting across departments. The whole follow-up SOP turned out to be three expressions.

StatusIn production since 2025
RoleProduct development and overseas business; built the tool myself
StackPython, pandas, SMTP through the company's existing mailbox; a config workbook is the only thing staff touch
Cost to runZero — no model, no platform, no server
01

The simulation

Each dot is a production node. Time flows left. Inside the look-ahead window a reminder fires; past zero it escalates; a backfilled completion date retires the dot. The sliders are the production tool's actual parameters.

Open the simulation full screen

02

The insight, the build, the result

Strip away the spreadsheet and the email

days    = (due − today).dt.days   # distance to now
warn    = days.between(0, AHEAD)  # inside the look-ahead window
overdue = days < 0                # crossed zero, escalate

It is a threshold trigger in a distance field. Every node is a point; time is the wave; the look-ahead window is the wave's radius. None of it needs a model — deadline arithmetic is deterministic.

What shipped

A local pipeline reads the tracking sheet every morning, applies the rule to every order, groups hits by owner, and sends one email per person: purchasing gets its fabric list, each sales rep gets their own orders, overdue rows pinned on top. Reminders stop the moment someone backfills a completion date — which quietly fixed the data-hygiene problem too.

What I would tell another team

The valuable move was noticing that the alert logic never needed a model. Language models earn their keep at the edges — drafting a customer-facing email — not in the trigger. Separating those two concerns made the tool free to run, trivially auditable, and deployable inside a company that could not use foreign AI services at all.

Scale
Every live outsourced order, every schedule column, every ownerVolumes are not stated on this page; the mechanism is shown as shipped.
Why the simulation exists
To explain the system to a non-technical CEO. Drag the response rate down and watch red pile up left of the "today" line; widen the window and watch issues surface before they cascade. The argument makes itself.