Skip to content

OtherIdeaEN

Small shop inventory forecast

Demo idea: weekly reorder suggestions for a fictional neighbourhood shop.

Esempi BestIAPublished on 24 November 2026
Maturity
Idea
Category
Other
Entry language
English
Published
24 November 2026

01The problem

The owner of a made-up shop reorders by gut feeling, running out of best sellers and overstocking slow items.

02The solution

A spreadsheet add-on reads past sales and suggests weekly quantities, explaining each suggestion in plain words.

The AI core of the project

03Role of AI

For ideas this describes the intended use.

Intended use: a classic forecasting model computes quantities; a language model only writes the plain-language explanation.

04Technical architecture

README.md

ShelfCast — small shop inventory forecast

Demo idea for a fictional shop.

Overview

A spreadsheet add-on that suggests weekly reorder quantities. A classic forecast computes the numbers; the language model only writes a plain-language explanation for each suggestion.

Architecture

text
[Sales sheet] --> [Apps Script add-on]
                      |
                      v
           [Forecast: weekly seasonal moving average]
                      |  safety stock = z * sigma * sqrt(lead time)
                      v
           [Reorder qty = forecast + safety - on hand]
                      |
                      v
           [LLM API] --> one-sentence explanation per product
                      |
                      v
           [New tab "Suggestions"] --> owner accepts or edits

Stack

PartTechnology
RuntimeGoogle Sheets, Apps Script
Forecastmoving average with weekly seasonality
AIintended: LLM via API (explanations only)

Formula

text
forecast_w = mean(sales[w-1..w-4]) * season_index[weekday mix]
safety     = 1.65 * stdev(sales[w-1..w-8]) * sqrt(lead_time_weeks)
reorder    = max(0, forecast_w + safety - on_hand)

Data handling

  • Sales stay inside the spreadsheet; only product names (anonymised codes optional) and the computed numbers are sent for explanations.
  • Script quotas respected with batched requests (20 products per call).

Roadmap

  1. Promotions calendar as a forecast feature.
  2. Supplier lead times per product.
  3. Weekly email summary to the owner.

05Results and lessons

Goals (not verified yet)

Goal: fewer stock-outs on the top 20 products.

—Images

  • Illustration: shop shelves with boxes and a forecast chart suggesting weekly reorder quantities