All solutions
Run the BusinessIn production

What was broken

At a seed and garden retailer, purchasing ran off a spreadsheet one person understood, and it was hiding real shortages.

Purchasing ran off a planning spreadsheet covering thousands of products, rebuilt by hand from exports out of the ERP, the warehouse system and the online store. One person understood it. Its formulas quietly dropped some demand, and the purchase orders it counted as incoming included lines months overdue. The CEO's ask was simple: get rid of the spreadsheet.

Consumer & RetailProcurement & Supply Chain

What we built

An agent reads all three systems every morning and tells the buyers what to order. Each item gets a stockout date, an order-by date from that vendor's real lead time, the quantity to buy and its cost, sorted into buy now, buy soon or fine. Buyers work from an app, and nothing is written back to the ERP until they approve it.

What changed

100%

of 4,203 products matched the team's own planning spreadsheet, checked line by line before anyone relied on it.

341

open purchase-order lines more than 60 days late, found on the first run. They had been hiding real shortages.

249

bulk items marked buy-now on the first run, each with an order-by date and a cost.

The buyer view went live in November. Next: the same list becomes draft purchase orders in the ERP.

Company

Direct-to-consumer seed and garden retailer

Runs on

Odoo, ShipHero, Shopify

Trigger

Monthly planning cycle, or a planner asks what to buy now

Want this at your company? See it running and find out whether it fits, in 20 minutes.

Book a call

How it works

Demand Planning & Bulk Material Buying

A direct-to-consumer retailer that buys material in bulk and packs it into several finished sizes plans its purchasing in one large spreadsheet that one person understands. The math is real (demand by finished product, converted into bulk need, netted against what is on hand and on order), but it is refreshed by hand, hard-codes exceptions, and can quietly drop demand. The agent reproduces the planner's own logic exactly, then runs it on live inventory from the ERP and the fulfillment system and on current sales, producing the bulk buying list in an app the purchasing team works from. The goal is to replace the spreadsheet without changing how the team decides.

Trigger

Monthly planning cycle, or a planner asks what to buy now

Inputs

  • Weekly sales by finished product from the storefront
  • Bulk and finished on-hand from the ERP and fulfillment system
  • Open purchase-order lines and active bills of materials
  • The planner's workbook rules: conversion ratios, lost-sales adjustments, manual overrides

Outputs

  • Bulk-to-order list with quantities in each item's purchase unit
  • Projected demand by finished product
  • Side-by-side check against the planner's last workbook
  • Findings where the workbook's formulas drop or double-count demand

Under the hood

  • The workbook arrived as values only, with no formulas, so its logic was reverse-engineered from the numbers and then proved by reproducing the planner's own output row for row before any live data was used
  • Finished-goods surplus in one pack size is netted against need in another for the same bulk item, with on-hand counted once, and mixed purchase units (pounds, grams, counts, each) are normalized before anything is summed
  • Source systems stay read-only; live supply is a dated snapshot of on-hand, open purchase-order lines and active bills of materials, paced around the fulfillment system's API rate limit
  • Found a hard-coded day-count test that zeroed lost-sales demand for a 30-day month on 147 products (about 11,000 units); the live plan corrects it while the workbook comparison keeps the original logic
  • Checked kits before adding them and showed kit volume was already inside monthly actuals, which avoided a double count
  • Supplier lead times come from 24 months of actual order-to-receipt history by vendor, because the ERP's lead-time field was zero on 97% of supplier lines; each item's order-by date is its stockout date minus that vendor's 75th-percentile lead time
  • Demand is rebuilt weekly with stockout days counted, so a sold-out month does not read as no demand, and every daily load passes row-count and unit gates before it replaces the live snapshot
  • Open purchase orders more than 60 days past due are set aside and listed for the buyers instead of counted as incoming, because they were masking real shortages