Market Move RadarSALES-2

Demo

Xem bản chạy thật trong khoảng 3 phút

Quay trực tiếp từ bản code đã viết theo đặc tả, chạy trên máy với dữ liệu mẫu. Không dựng lại, không chỉnh hình.

3 phút 23 giâyLồng tiếng ViệtPhụ đề Việt / AnhGiao diện tiếng Việt

  1. Radar buổi sángMove xếp theo doanh thu rủi ro, cơ hội tính riêng
  2. Mở một moveGiá 15 tuần, vì sao bị gắn cờ, công thức exposure
  3. Nhờ AI cải thiệnTrước khi duyệt: AI thêm kịch bản E1, E2, engine tính số
  4. Chọn kịch bản CTrưởng nhóm vượt quyền nên nút thành Gửi duyệt
  5. Quản lý ngành hàng duyệtQuyền kiểm bằng trigger trong cơ sở dữ liệu
  6. Ảnh kệAI đọc, người xác nhận, thẻ bị che để trống
  7. Bản tin ngàyKhông có mô hình thì viết theo mẫu

Dữ liệu mẫu do bản code tự sinh, nên tổng rủi ro trong video (khoảng 473 triệu đồng) khác số minh họa 514 triệu đồng của bản thiết kế phía trên.

Vấn đề

Tín hiệu nằm rải rác ở ba kênh. Gom xong thì cơ hội đã qua.

Tín hiệu thị trường đi qua nhiều tay theo nhịp tuần. Khi tới bàn họp, đối thủ đã chạy giá hoặc khuyến mãi được vài tuần.

  1. Ba kênhGT ghi giá bằng tay hoặc ảnh, MT có bảng giá chuỗi, eCom có giá trên sàn
  2. CMI gom fileGhép dữ liệu của ba kênh bằng tay
  3. Báo cáo giá tuầnLiệt kê giá, không xếp thứ tự ưu tiên
  4. HọpBranch Sales và BU bàn phương án
  5. Quyết địnhNằm trong email, không ai nhìn lại
Không biết cái nào quan trọng

Báo cáo cho thấy giá đổi, nhưng không nói thay đổi nào làm Nestlé mất nhiều doanh thu nhất.

Phương án bàn miệng, không có số

Giữ giá, khuyến mãi hay giảm giá đều được bàn mà không ai biết mỗi cách tốn bao nhiêu biên lợi nhuận.

Quyết định không để lại dấu vết

Không ai xem lại được ai đã quyết gì, vì sao, và kết quả sau 4 tuần ra sao.

Giả định cần đo lại: việc tổng hợp tín hiệu mất 30–40 giờ mỗi tuần cho một nhóm 3–4 người. Luồng trên dựng theo mô tả của đề bài. Tuần 1 của pilot sẽ đo con số thật.

Giải pháp

Mỗi sáng, một màn hình trả lời ba câu hỏi

1

Đối thủ vừa làm gì?

Năm loại move: giá, khuyến mãi, quy cách, chênh giá trên kệ và hết hàng. Mỗi move được so với lịch sử 8 tuần của chính nhà bán lẻ đó.

2

Nestlé mất bao nhiêu nếu đứng yên?

Exposure mỗi tuần, có khoảng ước lượng, xếp theo doanh thu bị ảnh hưởng. Cơ hội được tính riêng, không cộng vào rủi ro.

3

Có những cách đáp trả nào?

Tối đa bốn kịch bản, mỗi kịch bản có sản lượng, biên lợi nhuận, chi phí và độ tin cậy. Không kịch bản nào được chọn sẵn.

Bốn nhóm trong đề bài dùng chung một radar

Branch SalesBiết sáng nay ở chi nhánh mình có gì, quyết trong ngày. Dùng Radar, chi tiết move, ảnh kệ.
CDTTheo dõi từng chuỗi MT và sàn eCom, đàm phán khuyến mãi và trưng bày. Dùng Radar lọc theo kênh và hàng chờ duyệt.
BUQuyết giá và quy cách, duyệt mọi kịch bản đụng tới giá. Dùng chi tiết move và thiết lập.
CMIKiểm chứng phương pháp, chỉnh ngưỡng phát hiện. Dùng thiết lập, nhật ký, Hỏi radar.

Radar không làm

  • Tự đổi giá hay tự chạy khuyến mãi
  • Dự báo doanh số tuần tới
  • Đoán ý đồ của đối thủ
  • Đoán giá khi thẻ giá trên kệ bị che

Một buổi sáng

Sáu bước: code tính số, mô hình viết lời, người quyết định

Mô hình AI chỉ tham gia hai chỗ: đọc ảnh kệ và viết bản tin. Bốn bước tính toán là code thuần. Bước cuối luôn là con người.

  1. Thu thậpBốn nguồn: ảnh kệ GT, bảng giá MT, giá và khuyến mãi eCom, doanh số Nestlé. Feed CSV trước, API sau.Code · ảnh kệ có AI đọc
  2. Phát hiện moveSo với 8 tuần lịch sử của chính nhà bán lẻ đó bằng trung vị và độ lệch tuyệt đối, nên một tuần nhiễu không kéo lệch ngưỡng.Chỉ code
  3. Định cỡ exposureDoanh thu tuần × tỷ lệ chuyển dịch × |độ co giãn| × cỡ move × độ phủ, kèm khoảng ước lượng.Chỉ code
  4. Dựng kịch bảnA Giữ nguyên, B Khuyến mãi có mục tiêu, C Giảm giá, D Hành động tại kệ. Mỗi kịch bản có sản lượng, biên lợi nhuận, chi phí.Chỉ code
  5. Viết bản tinMô hình viết, code kiểm từng trích dẫn. Trích dẫn sai hoặc mô hình lỗi thì dùng bản tin theo mẫu.Có mô hình AI
  6. Quyết địnhChấp nhận, hoãn hoặc từ chối, bắt buộc có lý do. Ghi kèm tên người quyết, không sửa được về sau.Con người
Chỉ codeCó mô hình AICon người quyết định

Màn hình

Thiết kế bằng tiếng Việt cho người bán hàng, không cho người làm dữ liệu

Màn hình Radar: tổng rủi ro 514 triệu đồng, cơ hội 33 triệu đồng, bảng sáu move xếp theo exposure, bản tin, chỉ số giá và độ mới của nguồn dữ liệu

Radar tách rủi ro khỏi cơ hội

  • 514 tr đ rủi ro từ 5 move và 33 tr đ cơ hội từ 1 move nằm ở hai ô riêng.
  • Move xếp theo exposure. Công thức hiện ngay dưới tiêu đề bảng.
  • Mỗi nguồn hiện tuổi dữ liệu. Bảng giá MT và eCom đã cũ 53 giờ thì có dải cảnh báo.
  • Lọc theo kênh và chi nhánh.

Ảnh chụp bản thiết kế Figma. Mọi con số là dữ liệu mẫu.

Kịch bản

Mỗi cách đáp trả đều có giá. Radar cho thấy giá đó trước khi quyết.

Chọn một kịch bản để xem sản lượng giữ lại, biên lợi nhuận mất đi và ai có quyền quyết.

M-2002 · Đối thủ A giảm giá sữa UHT 1 L 11,3% tại MT

Exposure 171 triệu đồng / tuần, khoảng 146–196. Dữ liệu mẫu.

A → B11,4 trcho mỗi điểm % sản lượng giữ thêm
B → C13,9 trcho mỗi điểm % tiếp theo, đắt hơn 22%
DChưa đủphí trưng bày chưa tính nên D nằm dưới đường

Ai quyết định

Càng đụng tới giá, quyết định càng lên cao

Ba tầng quyền được chặn bằng trigger trong cơ sở dữ liệu. Người không đủ quyền chỉ gửi duyệt được, không chấp nhận được.

Tầng 1Trưởng nhóm bán hàng chi nhánh

Giữ nguyên, bổ sung hàng, hành động tại kệ. Kịch bản A và D.

Tầng 2CDT

Khuyến mãi có mục tiêu sâu tối đa 5% và dài tối đa 2 tuần, trong ngân sách trade đã duyệt. Kịch bản B.

Tầng 3BU · quản lý ngành hàng

Mọi thay đổi giá và mọi việc vượt hạn mức trên, có hỏi Finance. Kịch bản C.

Giả định: phân quyền ba tầng dựa trên thông lệ ngành FMCG, chưa được Nestlé xác nhận. Mức 5% và 2 tuần là số đặt tạm của đội.

Kiểm soát AI

Năm chốt chặn nằm ngoài mô hình, nên mô hình sai cũng không sửa được con số

Kiểm soát nằm ở code và cơ sở dữ liệu, không nằm ở lời nhắc cho mô hình.

Chốt chặnCách làmHiện trạng
Số do code tínhEngine TypeScript thuần. Cùng đầu vào cho cùng kết quả, có test tự động.Đã có
Trích dẫn kiểm bằng codeTrích dẫn không có trong dữ liệu bị đánh dấu. Bản tin sai được thay bằng bản theo mẫu.Đã có · chưa thử API thật
Luật nằm trong cơ sở dữ liệuTrigger chặn sửa lịch sử, chặn quyết định thiếu lý do, chặn chấp nhận kịch bản vượt quyền.Đã có
Nhật ký chỉ thêm, không sửaMọi con số lần về được dòng dữ liệu gốc. Quyết định mới ghi thêm, bản cũ vẫn giữ.Đã có
Mô hình tắt, radar vẫn chạyKhông có mô hình thì bản tin viết theo mẫu, ảnh kệ nằm chờ người đọc.Đã có

Kiến trúc

Chạy trong Azure của Nestlé, dữ liệu không rời tenant

Bản đang chạy hôm nay là web app và PostgreSQL. Phần còn lại đã có đặc tả, chưa triển khai.

Trình duyệt và điện thoạiSales, CDT, BU, CMI, nhân viên thị trường
Microsoft TeamsBản tin 06:00 gửi vào kênh
Entra IDĐăng nhập một lần, vai trò theo nhóm
Subscription Azure của Nestlé
Radar web appTrang, API, engine. Next.jsĐang chạy
PostgreSQLDữ liệu, luật, nhật kýĐang chạy
Job 06:00 hằng ngàyThu thập, phát hiện, định cỡ, bản tinCó lệnh chạy tay, chưa đặt lịch
Blob StorageẢnh kệMới thiết kế
Microsoft FoundryCổng mô hình, chọn mô hình theo tác vụ. Hôm nay gọi thẳng Claude API.Mới thiết kế
Nguồn dữ liệuẢnh kệ GT, bảng giá MT, giá và khuyến mãi eCom trên Shopee, Lazada, TikTok Shop, Tiki, doanh số Nestlé. CSV trước, API sau.
Đang chạy trong bản hiện tạiĐã có đặc tả, chưa triển khai

Đã xây

Không chỉ là bản vẽ: một bản chạy được, có test

Đội đã viết bản chạy được theo đặc tả, kèm dữ liệu thị trường mẫu để demo. Bảng dưới đối chiếu thẳng với 12 yêu cầu của đề bài.

8màn hình tiếng Việt
5loại move được phát hiện
7vai trò, phân quyền trong cơ sở dữ liệu
22trigger giữ luật nghiệp vụ trong PostgreSQL
18API có kiểm quyền
67/67test tự động đạt
Đối chiếu 12 yêu cầu của đề bài4 đã có · 3 một phần · 1 mới thiết kế · 4 chưa có

4 Đã có

  • So với lịch sử và doanh số Nestlé
  • Kịch bản có tác động và rủi ro
  • Năm loại move: giá, khuyến mãi, quy cách, kệ, hết hàng
  • Quyết định có lý do, không sửa được

3 Một phần

  • Thu thập tín hiệu ba kênh, hiện bằng feed tổng hợp
  • Đọc giá trên kệ, mới thử trên ảnh vẽ
  • Bốn nhóm người dùng, chưa có chiều chi nhánh đầy đủ

1 Mới thiết kế

  • Azure và Copilot, có đặc tả, chưa triển khai

4 Chưa có

  • Làm mới hằng ngày theo lịch
  • Đo độ chính xác ghi nhận giá
  • Innovation hit rate
  • Dữ liệu shopper, ngành hàng, thị trường

Innovation hit rate, đề xuất của đội (Nestlé chưa cung cấp định nghĩa): số lần ra mắt đạt cả hai điều kiện chia cho tổng số lần ra mắt trong kỳ. Điều kiện 1: doanh số 12 tháng đầu đạt mục tiêu trong business case. Điều kiện 2: doanh số năm thứ hai giữ ít nhất 90% năm đầu. Radar không tính hit rate. Radar cấp tín hiệu sớm: chênh giá với đối thủ, đối thủ đổi quy cách hoặc ra SKU mới trong 8 tuần đầu, tỷ lệ hết hàng.

Lộ trình

Sáu cổng tới tháng 4/2027, pilot 8 tuần từ 22/02/2027

Phạm vi pilot đặt tạm: sữa uống liền và đồ uống dinh dưỡng, tại TP.HCM và Hà Nội. Mọi ngày sau Matching Day là đề xuất, chờ Nestlé xác nhận.

  1. 22/11/2026Nộp bài
  2. 14/12/2026G1Gia cố để triển khai
  3. 15/12/2026Matching Day
  4. 15/01/2027G2Rà soát bảo mật và quyền dữ liệu
  5. 29/01/2027G3Triển khai trên Azure, backtest, chọn mô hình
  6. 05/03/2027G4 · pilot tuần 1–2Chạy bóng, đo baseline số giờ tổng hợp tín hiệu
  7. 26/03/2027G5 · pilot tuần 3–5Chạy song song với quy trình hiện tại
  8. 16/04/2027G6 · pilot tuần 6–8Đo kết quả và quyết định mở rộng

Demo

Watch the working build in about 3.5 minutes

Recorded straight from the code built to the specification, running locally on sample data. Nothing staged, nothing edited in.

3 min 28 sEnglish voice-overEnglish captionsEnglish interface

  1. Morning radarMoves ranked by revenue at risk, opportunity kept apart
  2. Open a move15 weeks of prices, why it was flagged, the exposure formula
  3. Ask the AI to improveBefore approving: the AI adds scenarios E1, E2; the engine computes
  4. Pick scenario CAbove the sales lead's authority, so it becomes Send for approval
  5. Category manager approvesAuthority checked by a database trigger
  6. Shelf photosAI reads, a person confirms, hidden tags stay blank
  7. Daily briefModel off, the brief falls back to a template

The build generates its own sample data, so total risk in the video (about 473 million VND) differs from the 514 million VND design sample above.

The problem

Signals are scattered across three channels. By the time they are pulled together, the window has closed.

Market signals pass through many hands on a weekly rhythm. By the time they reach the meeting table, a competitor's price or promotion has been running for weeks.

  1. Three channelsGT prices noted by hand or photo, MT chain price lists, eCom prices on marketplaces
  2. CMI collects filesThe three channels are merged by hand
  3. Weekly price reportPrices are listed, not ranked by priority
  4. MeetingBranch Sales and BU discuss options
  5. DecisionSits in email, nobody looks back
No way to tell what matters

The report shows that prices changed, but not which change costs Nestlé the most revenue.

Options are argued without numbers

Holding, promoting or cutting price is discussed without anyone knowing how much margin each costs.

Decisions leave no trace

Nobody can look back at who decided what, why, and what happened four weeks later.

Assumption to be measured: compiling signals takes 30–40 hours a week for a team of 3–4 people. The flow above follows the brief's description. Week 1 of the pilot will measure the real figure.

The solution

Every morning, one screen answers three questions

1

What did competitors just do?

Five move types: price, promotion, pack size, shelf price gap and out-of-stock. Each move is compared with that retailer's own last 8 weeks.

2

What does Nestlé lose if it stands still?

Weekly exposure with an estimate range, ranked by revenue affected. Opportunities are counted separately, never added to risk.

3

Which responses are possible?

Up to four scenarios, each with volume, margin, cost and confidence. None is pre-selected.

The brief's four groups share one radar

Branch SalesSee what changed in their branch this morning and decide the same day. Use Radar, move detail and shelf photos.
CDTFollow each MT chain and eCom marketplace, negotiate promotions and displays. Use Radar filtered by channel and the approval queue.
BUDecide price and pack size, approve every scenario that touches price. Use move detail and settings.
CMIValidate the method and tune detection thresholds. Use settings, the audit log and Ask the radar.

The radar does not

  • Change prices or launch promotions on its own
  • Forecast next week's sales
  • Guess competitors' intentions
  • Guess a price when the shelf tag is hidden

One morning

Six steps: code does the maths, the model writes, people decide

The AI model takes part in only two places: reading shelf photos and writing the brief. The four calculation steps are plain code. The last step is always a person.

  1. CollectFour sources: GT shelf photos, MT price lists, eCom prices and promotions, Nestlé sales. CSV feeds first, APIs later.Code · AI reads shelf photos
  2. Detect movesCompared with the retailer's own 8-week history using the median and absolute deviation, so one noisy week does not shift the threshold.Code only
  3. Size the exposureWeekly revenue × diversion rate × |elasticity| × move size × coverage, with an estimate range.Code only
  4. Build scenariosA Hold, B Targeted promotion, C Price cut, D Shelf action. Each with volume, margin and cost.Code only
  5. Write the briefThe model writes, code checks every citation. A wrong citation or a model failure falls back to a template brief.AI model involved
  6. DecideAccept, defer or reject, always with a reason. Recorded with the decider's name and cannot be edited later.A person
Code onlyAI model involvedA person decides

Screens

Built for sales people, not for data people

Screenshots of the working build in its English interface, on sample data. The same screens run in Vietnamese.

Radar screen in English: 472.8 million VND revenue at risk per week, 31.7 million VND opportunity, where the risk sits, and moves ranked by exposure

The radar keeps risk and opportunity apart

  • ₫472.8M revenue at risk and ₫31.7M opportunity per week sit in separate tiles, never added together.
  • Moves are ranked by exposure, and a bar shows where the risk sits.
  • Each source shows its data age. A GT shelf survey past its refresh triggers a warning band.
  • Filter by channel and branch.

Captures of the Figma design. All figures are sample data.

Scenarios

Every response has a price. The radar shows it before anyone decides.

Pick a scenario to see the volume kept, the margin given up and who has the authority to decide.

M-2002 · Competitor A cuts UHT milk 1 L by 11.3% in MT

Exposure 171 million VND / week, range 146–196. Sample data.

A → B11.4 Mper extra point of volume kept
B → C13.9 Mper further point, 22% more expensive
DIncompletedisplay fee not costed yet, so D sits below the line

Who decides

The closer to price, the higher the decision goes

Three tiers of authority are enforced by triggers in the database. Users without authority can only send for approval, not accept.

Tier 1Branch sales lead

Hold, restock, act on the shelf. Scenarios A and D.

Tier 2CDT

Targeted promotions up to 5% deep and 2 weeks long, within the approved trade budget. Scenario B.

Tier 3BU · category manager

Every price change and anything beyond the limits above, consulting Finance. Scenario C.

Assumption: the three tiers follow FMCG industry practice and are not yet confirmed by Nestlé. The 5% and 2-week limits are the team's placeholders.

AI controls

Five checkpoints sit outside the model, so a wrong model cannot change a number

Control lives in code and the database, not in the prompt.

CheckpointHow it worksStatus
Code computes every numberPure TypeScript engine. Same input, same result, with automated tests.Built
Citations checked by codeCitations not found in the data are flagged. A wrong brief is replaced by a template brief.Built · not yet run on live API
Rules live in the databaseTriggers block history edits, decisions without a reason, and accepting a scenario above one's authority.Built
Append-only audit logEvery number traces back to its source row. New decisions are appended; old ones are kept.Built
Model off, radar still runsWithout a model the brief uses a template and shelf photos wait for a person.Built

Architecture

Runs in Nestlé's Azure, data never leaves the tenant

What runs today is the web app and PostgreSQL. The rest is specified, not yet deployed.

Browser and phoneSales, CDT, BU, CMI, field reps
Microsoft Teams06:00 brief posted to the channel
Entra IDSingle sign-on, roles by group
Nestlé Azure subscription
Radar web appPages, API, engine. Next.jsRunning
PostgreSQLData, rules, audit logRunning
Daily 06:00 jobCollect, detect, size, briefManual command, not scheduled yet
Blob StorageShelf photosDesigned only
Microsoft FoundryModel gateway, model chosen per task. Today it calls the Claude API directly.Designed only
Data sourcesGT shelf photos, MT price lists, eCom prices and promotions on Shopee, Lazada, TikTok Shop and Tiki, Nestlé sales. CSV first, APIs later.
Running in the current buildSpecified, not yet deployed

Built

More than a drawing: a working build with tests

The team built a working version from the specification, with sample market data for the demo. Below, it is checked line by line against the brief's 12 requirements.

8screens in Vietnamese
5move types detected
7roles, permissions enforced in the database
22triggers holding business rules in PostgreSQL
18permission-checked API routes
67/67automated tests passing
Against the brief's 12 requirements4 built · 3 partial · 1 designed · 4 not yet

4 Built

  • Compared with history and Nestlé sales
  • Scenarios with impact and risk
  • Five move types: price, promotion, pack, shelf, out-of-stock
  • Decisions with reasons, not editable

3 Partial

  • Three-channel signal collection, via aggregated feeds for now
  • Reading shelf prices, tested on drawn photos only
  • Four user groups, branch dimension not complete

1 Designed

  • Azure and Copilot, specified, not deployed

4 Not yet

  • Scheduled daily refresh
  • Measured price-capture accuracy
  • Innovation hit rate
  • Shopper, category and market data

Innovation hit rate, team proposal (Nestlé has not provided a definition): launches meeting both conditions divided by all launches in the period. Condition 1: first-12-month sales reach the business-case target. Condition 2: year-2 sales hold at least 90% of year 1. The radar does not compute hit rate. It provides early signals: price gap to competitors, competitor pack changes or new SKUs in the first 8 weeks, and out-of-stock rate.

Roadmap

Six gates to April 2027, an 8-week pilot from 22 February 2027

Provisional pilot scope: ready-to-drink milk and nutrition drinks, in Ho Chi Minh City and Hanoi. Every date after Matching Day is a proposal awaiting Nestlé's confirmation.

  1. 22/11/2026Submission
  2. 14/12/2026G1Harden for deployment
  3. 15/12/2026Matching Day
  4. 15/01/2027G2Security and data-rights review
  5. 29/01/2027G3Deploy on Azure, backtest, choose models
  6. 05/03/2027G4 · pilot weeks 1–2Shadow run, measure baseline hours spent compiling signals
  7. 26/03/2027G5 · pilot weeks 3–5Run in parallel with the current process
  8. 16/04/2027G6 · pilot weeks 6–8Measure results and decide on scale-up