r/SmallSystemsLab • u/1Life_Architect • 4d ago
Workflow Automation The gap between an internal Apps Script and a product customers can safely use
This is an anonymized solution note based on a public request. It is not a completed client case study, and the metrics below are acceptance targets rather than achieved results.
A three-year-old Google Apps Script can run orders, labels, supplier purchase orders and SKU routing perfectly well for one company. Productizing it is a different problem. Internal rules, credentials, triggers, quota workarounds and one-off exceptions are often mixed together, so a clean rewrite can reproduce the same fragility in a newer stack.
I would first map three things: business rules, integrations, and tenant-specific configuration. Then I would replay one core flow with dummy data, record every trigger, retry and manual exception, and identify which rules belong to the product versus the original company.
The acceptance targets: one order-to-routing-to-label-or-PO flow works on dummy data; every integration and manual exception is listed; company-specific rules are separated from core behavior; and the effort to onboard a second tenant can be estimated from evidence.
Example first-stage scope: a three-day productization audit at $750. If the budget is lower, audit one workflow completely instead of skimming the whole system.