The model is rarely what stops a retail AI project. Data silos, trust and governance stop it. Score a retailer on eight readiness dimensions, 1 to 6 each, and the total out of 48 picks its first move.
Pick a retailer, or tap any cell to set a score. Watch the total, the tier and the weakest dimension. Then we build, piece by piece, the people, the guardrails, the first pilot and the numbers that judge it.
You need a little Python and what a probability is. No business degree. We build the rest from zero.
Based on Anthropic’s The Enterprise AI Transformation Guide for Retail (PDF). The readiness matrix, the tiers and the three case studies come from the guide. The inventory, pricing and testing maths is standard operations and statistics; every number in a toy is illustrative.
The eight dimensions, the 1 to 6 scale and the tiers (8 to 15, 16 to 31, 32 to 48) come from the guide. The three example retailers and their scores are illustrative.
Chapter 0
See how a good model gives partial answers when the data it needs sits in five separate systems
You build a demand forecaster in an afternoon. It works on the sample file. A buyer asks: how many coats should store 12 order? Your forecaster sees last year’s till sales. It does not see the stock in the back room, the online orders or next week’s promotion.
The guide names the cause. A retailer keeps its data in five systems: the e-commerce platform, the point of sale (POS, the tills), inventory management, the CRM (the customer records) and marketing automation. A point solution is an AI tool wired to one of them. It answers with a fifth of the picture.
Warm rings mark the systems a question needs. Purple lines show what the AI tool can read. Pick a question, then connect the stack.
The five systems are the guide’s list. Which system each question needs is our illustration.
The guide puts the thesis in one line: technical solutions alone cannot drive transformation, because people, processes and workflows must change with the technology. Its plan has three steps.
Symptom: the demo impresses, and six months later nobody uses the tool.
Measure: list the systems each answer needs, and count how many the tool reads.
Fix: wire the data first, or pick a first task that needs only the systems you have.
Chapter 1
Start from the pain staff already named, and win the people who decide fifty times a day
Bad tools burned these staff before. The guide lists the scars. A platform migration broke sales in peak season. Personalization recommended the wrong products. Inventory showed stock that was not there, and marketing automation wrote off-brand copy. Each scar is a reason to fold arms.
So the guide starts with deep listening: you ask teams where manual work slows them before you show a demo. A category manager who sees the tool remove her spreadsheet nights becomes an advocate. A skeptic who asks “what if the bot quotes the wrong return policy?” has written your most important test case.
Each curve is the share of staff who use the tool each week. Drag the week and compare.
Both curves are an illustrative toy. The shape, a launch spike that fades against slow growth that holds, is the point; the guide gives no adoption numbers.
Listening is half of the foundation. The other half is a coalition: support from every function the system touches. The guide names two structures.
| Structure | Who | What they give you |
|---|---|---|
| Steering committee | A C-suite sponsor, functional leaders, technology, finance, legal | Removes blockers, tracks the return, sets governance |
| Champions | Respected managers, experts in old and new systems, early adopters, skeptics | Peer influence and honest test cases |
| Frontline | Store associates, service reps, category managers, digital marketers | The daily choice to use the tool |
The guide’s trust moves are all measurable. Admit past failures. Measure the effect on customers and sales, and open feedback channels. Promise to switch off tools that do not deliver, and show a quick win in 30 to 60 days.
Symptom: usage looks fine in the weekly report, but staff use the old way when nobody watches.
Measure: count active users per eligible user, per store, per week, not total logins.
Fix: go back to the frontline, find the friction, and recruit a champion in each store.
Chapter 2
Turn four legal and brand risks into one control, and count the errors it stops
A model writes 10,000 product descriptions overnight. Some invent a feature. Some sound like another brand. One calls a coat “waterproof” when the label says “water resistant”. Who stops that before a customer reads it?
The guide lists four governance domains, each a rule set with a control.
| Domain | Rules | Control |
|---|---|---|
| Customer data privacy | GDPR, CCPA/CPRA | Audit trails of consent when you personalize |
| Brand safety | Brand voice and quality | Approval workflows, voice guidelines, quality scores |
| Accessibility | ADA, WCAG | Screen reader and keyboard tests in the pilot |
| Advertising | FTC: true claims, disclosed endorsements | Human review before publishing; no invented claims or reviews |
Three of the four share one shape: the model drafts, and a person checks before a customer sees it. That check is a review gate. How many bad drafts still get through? Call the number of drafts N. Call the share of drafts that are wrong the draft error rate e. Call the share of wrong drafts the reviewer catches the catch rate h.
V equals N, times e, times one minus h.
Count the wrong drafts: N times e. Keep only the ones the reviewer misses: multiply by one minus h. That is V.
With made-up numbers: N = 10,000, e = 0.04 and h = 0.95. V = 10,000 × 0.04 × 0.05 = 20. With no gate, all 400 wrong drafts go live.
Purple is the model’s drafts, blue the reviewer, red the bad drafts that reach customers. Move both sliders.
10,000 drafts. The error and catch rates are illustrative knobs, not figures from the guide.
Symptom: reviewers approve everything after the first week.
Measure: plant known bad drafts in the queue and count how many they catch: that is h.
Fix: smaller batches, a checklist from the brand guide, and a rotation so reviewers stay fresh.
Chapter 3
Place each candidate on a map of risk and visibility, and see what a human approval does to it
The board wants an AI stylist on the home page. The guide disagrees. Consumer-facing AI wins headlines, but the fastest return often comes from “unglamorous” back-office work: demand forecasting, vendor management, compliance documents and inventory. These save money without risk to customers, and they earn the team trust for the visible work later.
A pilot is a small, time-boxed deployment with success criteria set in advance. Judge each candidate on two axes: risk, the harm a mistake does to customers or the brand, and visibility, how many people see it.
Pick a candidate. Then switch the human approval off and on, and watch its risk move.
The first three pilots and why each is safe come from the guide. Auto pricing and the stylist are our counterexamples. All positions are illustrative.
The guide’s three starter pilots each keep a person in the loop.
| Pilot | The AI does | Why it is safe |
|---|---|---|
| Demand forecasting | Forecasts by SKU, store and region; replenishment; markdowns | Buyers review each recommendation; checks against history; one category first |
| Customer service | Order status, sizing, store hours, returns, gift cards | Answers questions, never touches transactions, stock or prices; hard cases go to people |
| Content | Product copy, SEO pages, emails, social posts | Approved before going live; A/B tested against human copy; low-stakes categories first |
So the recipe for a safe first pilot has three parts: the AI drafts, a human approves, and the scope starts small. A SKU (stock keeping unit) is one sellable item, such as one coat in one size and colour.
Symptom: one public mistake by the first pilot, and the whole program loses its sponsor.
Measure: for each candidate, write the worst output and who would see it.
Fix: start where the worst output is caught by a reviewer before anyone outside sees it.
Chapter 4
Score a forecast with one number that weights each week by how much it sold
You run the forecasting pilot on one category. After eight weeks the buyer asks: is the new forecast better than the old spreadsheet? “It looks closer” does not keep a sponsor. You need one number.
A forecast is a predicted number of units sold in a period. The miss in one week is the gap between what sold and what you predicted. A miss of 20 units hurts more on a slow item than on a fast one, so you divide by what sold. Call the units sold in week t the actual A-t. Call the forecast for week t F-t.
WAPE equals the sum over t of the absolute value of A-t minus F-t, divided by the sum over t of A-t.
For each week, take the gap between A-t and F-t, without its sign. Add the gaps. Divide by the total of A-t.
With made-up numbers: sales A-t of 100, 140, 90 and 170 against forecasts F-t of 110, 120, 100 and 150. The gaps are 10, 20, 10 and 20, so 60 in total. WAPE = 60 / 500 = 12%.
Warm bars are weekly sales of one coat at one store. The purple line is the forecast. Pick a forecaster, then add noise.
An illustrative series: a base of 100 a week, a winter season, two promotion weeks and random noise. The model knows the season and the promotion calendar; it cannot know the noise. We score WAPE on weeks 5 to 26.
Look at the promotion weeks. The naive and average forecasts react a week late, so they miss twice: short in the promo week, long after it. The model reads the promotion calendar from marketing. That is Chapter 0 again: the forecast is only as good as the systems it reads.
Symptom: the pilot reports a low error, but stores still run out.
Measure: split WAPE by store and by fast and slow items. A good total can hide a bad tail.
Fix: score at the level where the buyer decides: SKU by store by week.
Chapter 5
Turn a smaller forecast error into less stock on the shelf and more profit
The guide promises fewer stockouts (an empty shelf when a customer wants the item) and fewer markdowns. Both come from one fact: you hold extra stock to cover the forecast’s miss. A better forecast needs less extra.
A store reorders a basic item and waits for delivery. How much extra stops it running out in more than 1 cycle in 20? Call the extra stock the safety stock SS. Call the typical daily forecast miss sigma, the standard deviation of the daily error. Call the delivery wait the lead time L, in days. Call the service factor z: how many sigmas of cover you want.
SS equals z, times sigma, times the square root of L.
Scale the daily miss sigma up to the whole wait: multiply by the square root of L. Then hold z of those.
With made-up numbers: sigma = 12 units a day, L = 4 days, z = 1.645. SS = 1.645 × 12 × 2 = 39.5, so about 40 units. Cut sigma to 8 and SS falls to 26 units.
A winter coat is different. You buy once, and leftovers go to clearance. Too few loses the margin on each missed sale; too many loses on each cleared coat. Call the price p, the unit cost c and the clearance (salvage) price s. The newsvendor rule sets the order by the critical ratio CR.
CR equals p minus c, divided by p minus s.
Compare the loss per missed sale, p minus c, with the total of both losses, p minus s. Order enough that demand stays at or below your stock CR of the time.
With made-up numbers: p = $80, c = $35, s = $20. CR = 45 / 60 = 0.75. The 75th percentile of a bell curve sits 0.674 standard deviations above the mean.
Call the season forecast mu and its error’s standard deviation sigma-season. The order is the forecast plus a cushion: Q* = μ + 0.674 × σseason. With mu = 500 and sigma-season = 120, Q* = 581 and expected profit is $20,212. With sigma-season = 80: 554 coats and $20,975, so $763 more.
The warm curve is likely demand. The teal line is the best order. Pink is leftover risk, red is stockout risk. Shrink the forecast error.
Illustrative: price $80, cost $35, forecast 500 coats, demand bell-shaped. Expected profit uses the exact normal formula, checked by numerical integration.
Symptom: stockouts on promoted items and piles of the rest.
Measure: compare the sigma the safety stock assumes with the error the forecast makes in practice.
Fix: set safety stock from the measured error of the forecast in use, per item.
Chapter 6
Find the discount that sells the last coat at the best total revenue
Four weeks of season are left. You hold 300 coats. At full price, $80, they sell 50 a week, so 100 will go to clearance at $20. Should you mark down now, and by how much? The guide lists markdown optimization as part of the forecasting pilot, with a buyer approving each price.
The answer needs one more number: how much demand rises when the price falls. Call the weekly sales at the new price q, and at full price q-zero. Call the new price p and the full price p-zero. Call the price elasticity epsilon: the percent change in demand for a 1% change in price.
q equals q-zero, times p over p-zero, to the power epsilon.
Divide the new price p by the full price p-zero. Raise that ratio to the power epsilon. Multiply q-zero by the result to get the new weekly sales q.
With made-up numbers: 15% off makes p = $68, so p / p-zero = 0.85. With epsilon = −2.5, 0.85 to that power is 1.50. q = 50 × 1.50 = 75 a week: 300 in four weeks, the whole stock.
The yellow curve is total revenue, clearance included. Below it, pink coats are sold and grey go to clearance. Find the peak, then change the elasticity.
Illustrative: 300 coats, 4 weeks, 50 a week at $80, clearance at $20, constant elasticity. Real teams estimate elasticity from past price tests, per item.
With epsilon = −2.5, no markdown earns $18,000: 200 sold at $80 and 100 cleared at $20. Fifteen percent off earns $20,400 and sells out. Twenty percent off sells out a few days early and earns only $19,200. The best markdown is the one that clears the stock right at the season’s end.
Symptom: the model marks down early and deep, and margin falls even as sell-through rises.
Measure: track total revenue per unit bought, clearance included, not sell-through alone.
Fix: refit elasticity from recent price tests, and keep the buyer’s approval on every price.
Chapter 7
Score a pilot on six dimensions, and test a conversion lift before you claim it
Before any pilot, the guide asks for success metrics that stakeholders accept, across six dimensions. One number always hides something: content written 5 times faster can lose the brand voice.
| Dimension | Example metrics from the guide |
|---|---|
| Adoption | Daily active users, feature use, session frequency |
| Efficiency | Time saved on descriptions or forecasts; inquiries per hour |
| Quality | 95% accuracy on product information; brand voice ratings |
| Customer impact | Conversion, cart abandonment, satisfaction, repeat purchases |
| Revenue and margin | Sales lift, fewer markdowns, order value, lifetime value |
| Satisfaction | Net Promoter Score, task difficulty, would recommend to colleagues |
Track weekly, review monthly. Now take one customer metric. A new recommendation block goes on product pages. Conversion rate is the share of visitors who buy. In an A/B test, half the visitors see the old page (A) and half the new one (B), at random. Is B’s higher rate real, or luck?
Call the conversion rates r-A and r-B, the visitors in each arm n, and the pooled rate of both arms together r-bar. The z-score says how many standard errors apart the two rates are.
z equals r-B minus r-A, divided by the square root of r-bar times one minus r-bar, times two over n.
Take the gap r-B minus r-A. Divide it by the noise you expect from luck, which shrinks as n grows. If z passes 1.96, call the lift real.
With made-up numbers: r-A = 3.0%, r-B = 3.3% (a 10% lift), n = 20,000. r-bar = 3.15%. The standard error is 0.175 points, so z = 0.30 / 0.175 = 1.72. Not yet significant.
Each tick is one test’s measured lift. Green ticks passed z = 1.96. The dashed line is the true lift. Set the visitors, then run.
Illustrative: base conversion 3.0%, simulated with the normal approximation. At 20,000 per arm, about 40% of tests detect a true 10% lift. About 53,000 per arm gives 80%.
Symptom: a pilot reports a 10% lift after three days, and it vanishes at rollout.
Measure: compute the visitors you need before the test starts, and do not peek and stop early.
Fix: fix n in advance; for a 10% lift on 3% conversion that is about 53,000 per arm.
Chapter 8
Put the pilot’s gains and costs on one line, and see adoption decide the return
The CFO on your steering committee asks one question: when do we get the money back? Start with the content pilot. A catalog has 10,000 SKUs. A writer takes 15 minutes per description; the AI draft plus a review takes 3. That saves 10,000 × 12 = 120,000 minutes, or 2,000 hours. At $40 an hour, that is $80,000 of writing time back.
Now compare gains with costs. Call the total benefit over a period B and the total cost over the same period C, build and running costs together. The return on investment is the net gain per dollar spent.
ROI equals B minus C, divided by C.
Add up the benefit B. Subtract the cost C. Divide by C.
With made-up numbers: a service pilot costs $60,000 to build and $4,000 a month to run, and returns $15,000 a month. Over 12 months B = $180,000 and C = $108,000. ROI = 72,000 / 108,000 = 67%.
The payback period is the months until the net gain covers the build. Call the upfront build cost U, the monthly benefit b and the monthly running cost R: payback = U / (b − R). Here 60,000 / 11,000 = 5.5 months. But staff earn b only when they use the tool. Multiply it by the adoption share, and Chapter 1 becomes a number.
The line is cumulative net cash; it starts at minus the build cost. Pick a pilot, then drag adoption and watch the payback month move.
All costs and benefits are illustrative. Monthly benefit at full adoption: forecast $24,000 (fewer markdowns and stockouts), service $15,000, copy $6,667 (the $80,000 a year above). Running costs: $5,000, $4,000 and $2,000.
At 60% adoption the forecasting pilot pays back in 9.6 months and returns 15% in a year. At 30% it needs 41 months and loses 42% in the first year. Below 52% adoption it does not break even within 12 months. The model did not change. People did.
Symptom: the business case promised payback in six months, and month nine is still negative.
Measure: log adoption weekly next to the benefit; check which one missed the plan.
Fix: if adoption missed, fix training and workflow before you touch the model.
Chapter 9
Train each role for its own job, keep a center of excellence close to the business, and read the results as error counts
The pilot paid back. Scaling is not more servers. The guide says each audience needs its own learning path.
| Audience | What they learn |
|---|---|
| Executives | Judge vendors and returns in retail terms: conversion, lifetime value, inventory |
| Middle managers | Find use cases, drive adoption, measure impact, feed errors back |
| Frontline | Use the tool daily, and know when human judgement must win |
| Champions | Advanced features, prompting for retail tasks, help for everyone else |
The guide adds hackathons, peer mentors and certification tied to promotion. It then names a center of excellence (CoE): architects, domain experts and data scientists in one team. The CoE writes best practices and tests new uses. Functional experts rotate in for 3 to 6 months, so the CoE stays tied to real business needs.
| Retailer | What Claude does | Reported result |
|---|---|---|
| Shopify | Powers Sidekick, the merchant assistant; turns plain questions into ShopifyQL queries | First sales in days instead of weeks; analytics without technical skill |
| L’Oréal | Orchestrates 15+ specialized agents over the Beauty Tech Data Platform | 99.9% accuracy on conversational analytics, up from 90%; 44,000 monthly users, 2.5 million messages a month |
| Lotte Homeshopping | Moni, via Sendbird: 24/7 support for partner suppliers on QA and KC certification | 30 to 40% fewer QA delays |
L’Oréal routes each query type to a purpose-built agent: calculations, product master data, geography master data. The guide says this routing reduces accuracy risk. Accuracy percentages hide the scale of the change, so count errors. Call the old accuracy a-old and the new one a-new. The error multiple M is how many times fewer wrong answers you get.
M equals one minus a-old, divided by one minus a-new.
Turn each accuracy into an error rate: one minus a. Divide the old error rate by the new one.
With L’Oréal’s reported accuracies: a-old = 0.90 and a-new = 0.999. M = 0.10 / 0.001 = 100 times fewer wrong answers.
Each cell is one answer out of 1,000. Red cells are wrong. Step the accuracy up.
90% and 99.9% are L’Oréal’s reported figures; the middle stops are for comparison. The monthly counts treat each of the 2.5 million messages as one answer, which is our simplification.
Symptom: staff stop trusting a tool that is “90% accurate”.
Measure: count wrong answers per user per week, not accuracy.
Fix: route each query type to a specialist and check it with its own tests, as L’Oréal did.
Chapter 10
Keep the terms, the tiers, the checklist and the code on one page
A retail AI program runs in three steps: lay the foundation, launch a pilot, scale what works. The model is one part; the data, the people and the review gate decide the return.
| Term | Meaning | Number on this page |
|---|---|---|
| Point solution | An AI tool wired to one system | Sees 1 of 5 systems |
| Review gate | A human check between draft and customer | V = N × e × (1 − h): 20 of 400 |
| WAPE | Total forecast miss over total sold | 60 / 500 = 12% |
| Safety stock | Extra units to cover forecast error over the lead time | 1.645 × 12 × 2 = 40 |
| Critical ratio | The sell-out chance a one-shot order aims for | 45 / 60 = 0.75 |
| Elasticity | Percent change in demand per 1% change in price | −2.5; best markdown 15% |
| z-score | Gap between arms in standard errors | 1.72 at 20,000; need 1.96 |
| ROI | Net gain per dollar spent | 72,000 / 108,000 = 67% |
| Error multiple | Old error rate over new | 0.10 / 0.001 = 100 |
| Score | Tier | First move, per the guide |
|---|---|---|
| 8 to 15 | Building readiness | Secure executive sponsorship and unify customer data before one controlled pilot |
| 16 to 31 | Moderate readiness | Two or three pilots in content or customer service while modernizing data |
| 32 to 48 | High readiness | Parallel pilots across customer experience, merchandising and operations |
pythonfrom statistics import NormalDist from math import sqrt N = NormalDist() def leaks(n, e, h): return n * e * (1 - h) # bad drafts that reach customers def wape(actual, fc): return sum(abs(a - f) for a, f in zip(actual, fc)) / sum(actual) def safety_stock(sigma, L, service=0.95): return N.inv_cdf(service) * sigma * sqrt(L) def newsvendor(mu, sigma, p, c, s): cr = (p - c) / (p - s) return mu + N.inv_cdf(cr) * sigma # units to order def weekly_sales(q0, p, p0, eps): return q0 * (p / p0) ** eps def ab_z(conv_a, conv_b, n): # conversion rates, visitors per arm r = (conv_a + conv_b) / 2 return (conv_b - conv_a) / sqrt(r * (1 - r) * 2 / n) def payback(upfront, benefit, run, adoption=1.0): net = benefit * adoption - run return upfront / net if net > 0 else float("inf") print(leaks(10_000, 0.04, 0.95)) # 20.0 print(wape([100, 140, 90, 170], [110, 120, 100, 150])) # 0.12 print(round(safety_stock(12, 4), 1)) # 39.5 print(round(newsvendor(500, 120, 80, 35, 20))) # 581 print(round(weekly_sales(50, 68, 80, -2.5), 1)) # 75.1 print(round(ab_z(0.030, 0.033, 20_000), 2)) # 1.72 print(round(payback(90_000, 24_000, 5_000, 0.6), 1)) # 9.6 months
Now press Present or Teach. Explain from memory the three steps, the review gate, WAPE, the newsvendor, the markdown, the A/B test and the payback. Then go back to the hero and say what a retailer at 22 points should do first.
The playbook, the readiness matrix, the metrics and the case studies come from Anthropic’s The Enterprise AI Transformation Guide for Retail (PDF). The forecast, inventory, pricing, testing and payback maths is standard; the toys and their numbers are our own and illustrative.