EEcommerce Coffee Break
← All frameworks
StrategyFabricio Miranda

Normalize-Forecast-Consume Inventory Planning Pipeline

Turn connected commerce data into forecasts and future inventory visibility

Difficulty
Advanced
Time to result
~weeks to results
Steps
7
Confidence
93%

The Normalize-Forecast-Consume Pipeline transforms fragmented commerce records into an actionable inventory projection. It begins by connecting sales, inventory, fulfillment, and supply data from every relevant channel. Historical observations are then normalized to remove distortions caused by stockouts, pricing changes, promotions, suspensions, and other anomalies. Multiple forecasting algorithms can be evaluated against the cleaned history rather than relying on a single moving average. The chosen demand forecast becomes a future time series. Current stock and expected purchase orders or transfers are added to that timeline, while projected sales consume inventory over time. The resulting inventory forecast reveals when and where stock will become insufficient or excessive, allowing planners to replenish, transfer, or adjust demand before the risk becomes an operational problem.

Origin

Fabricio Miranda described this connected-data pipeline while explaining how Flieber handles the inventory intricacies of modern multichannel commerce. Extracted from Ecommerce Coffee Break.

Core principles

  • 01Connect every material source before making inventory decisions
  • 02Normalize historical demand before forecasting it
  • 03Compare forecasting methods instead of trusting one model blindly
  • 04Model future inventory as a time series, not a spreadsheet cell
  • 05Include incoming orders and channel consumption in the same projection

How to run it

  1. 1

    Connect Commerce Sources

    Bring together sales, inventory, fulfillment, warehouse, and incoming supply data from native integrations or controlled middleware. Establish which inventory locations serve each sales channel.

    Pro tip Create a visual supply-chain map to verify relationships before forecasting.

    Watch out A missing warehouse or channel can invalidate the combined inventory picture.

  2. 2

    Map Product Identities

    Match channel-specific listings to a consistent internal product identifier. Resolve differences among SKUs, ASINs, bundles, and component products.

    Pro tip Use a stable internal SKU across channels whenever possible.

    Watch out Incorrect mappings can make one product appear overstocked while another appears unavailable.

  3. 3

    Normalize Historical Demand

    Correct or flag observations distorted by stockouts, price changes, campaigns, suspensions, and outliers. Produce a cleaner baseline representing unconstrained demand.

    Pro tip Keep the normalized series linked to event annotations and original observations.

    Watch out Forecast sophistication cannot compensate for misleading historical inputs.

  4. 4

    Generate Competing Forecasts

    Run several appropriate forecasting methods against the normalized history and compare their performance. Permit human adjustments for known promotions or strategic changes.

    Pro tip Benchmark advanced models against simple moving averages and prior-year sales.

    Watch out Do not select a complex model merely because it uses machine learning.

  5. 5

    Add Inventory and Supply

    Place current inventory, purchase orders, transfers, and expected arrivals onto the same future timeline as forecast demand. Include lead times and location constraints.

    Pro tip Model bundles and kits through their underlying component consumption.

    Watch out Optimistic arrival dates can conceal imminent stockout risk.

  6. 6

    Simulate Consumption

    Subtract forecast demand from available and arriving inventory across each channel and location. Generate a time-phased view of future stock levels.

    Pro tip Split demand among warehouses according to the fulfillment routes that will actually serve it.

    Watch out A total-company stock figure can hide shortages at individual fulfillment locations.

  7. 7

    Act on Exceptions

    Identify expected stockouts, replenishment dates, and overstock conditions. Respond through purchasing, transfers, pricing, promotion, or advertising changes.

    Pro tip Prioritize exceptions by financial exposure and the time remaining to intervene.

    Watch out Visibility has no value unless alerts lead to timely operational decisions.

In the wild

Multichannel Supplement Replenishment

A supplement brand combines Amazon, Shopify, FBA, and third-party warehouse data. After normalizing a promotion spike and a brief Amazon stockout, it compares several forecasts, adds an inbound production order, and projects consumption separately by fulfillment location. The model shows that total inventory is sufficient but the FBA allocation will run short first.

→ The planner transfers stock to FBA before the local shortage affects Amazon availability.

Bundle Component Constraint

A homeware company sells one item individually and inside two bundles. The pipeline maps each bundle to its component requirements and projects all three demand streams against the shared component stock. It detects that bundle sales will exhaust the component even though every finished-product forecast looks safe in isolation.

→ The company replenishes the shared component before multiple listings become unavailable.

Common mistakes

Forecasting Before Normalizing

Applying better algorithms to distorted history can produce confidently wrong forecasts. Data preparation must precede model selection.

Ignoring Location-Level Constraints

Inventory may exist somewhere in the network while remaining unavailable to the channel that needs it. Forecast consumption at the actual fulfillment-location level.

Reducing Demand to One Average

A flat recent-sales average suppresses seasonality, campaigns, and channel-specific behavior. Use time-based forecasts that preserve meaningful patterns.

Is it for you?

Best for

It is best for established multichannel brands whose inventory decisions depend on several sales channels, fulfillment locations, and incoming orders.

Not ideal for

It is excessive for very small catalogs with one channel, stable demand, and inventory decisions that remain easy to manage manually.

From the transcript

“The first thing that we do is we normalize that data, as I was saying before.”

Fabricio Miranda

“And then after that, we generate forecasts.”

Fabricio Miranda

“We start plugging inventory today. We start plugging peels and seals that we will arrive in the future and we build a future inventory forecast.”

Fabricio Miranda

From the episode

Never Run Out of Stock Again: The AI Secret of Successful Ecommerce — Fabricio Miranda

Fabricio Miranda

→