Promotions ran on spreadsheets
In 2017 I was a buyer for a UK supermarket group, negotiating with suppliers, agreeing contracts and launching own-label products. Promotions were one part of the job, and they ran on spreadsheets. Suppliers filled in a template. Buyers and their assistants tidied and checked each one, chased any that hadn't arrived, compiled the approved ones into a master spreadsheet and sent it round the regional wholesalers for comments. Any change started the loop again.
First I mapped the process I was part of. One three-week promotional period took 25 steps and 94 separate spreadsheets. Sixteen of those steps could be fully automated, and across the whole trading team they added up to about 162 hours of work. I built Dealio against that map.
Both sides of the deal
Dealio was one web portal that suppliers, buyers and wholesalers all signed in to, instead of files passed between them. I designed it around the two people the process cost most: the supplier filling in the sheets and the buyer checking them. What each person could see and do depended on their role. Suppliers saw only their own promotions, buyers saw their categories, and each regional wholesaler confirmed or commented on promotions directly. A buyer and a supplier could build a period's plan together, and every planned slot showed whether it had been submitted.
The aim was right first time. A supplier found a product by its barcode, and Dealio filled in the rest from the last time it ran, then checked each figure as it was typed. A cost that had changed since last time had to be confirmed, and a promotional price couldn't be higher than the normal one. Dealio chased missing promotions itself, 30, 14, 7 and 3 days before each deadline, by email and in the app. The master spreadsheet the rest of the business relied on became an export rather than a job someone did by hand.
What it replaced
- Planning
- Buyers chase suppliers for a plan, then move every reply into one folder.
- Buyer and supplier build one plan together, and every slot shows whether it's in.
- Submitting
- Suppliers fill in an Excel template with no checks. An assistant tidies each one and looks up by hand whether the product has run before.
- Find the product by barcode and it's filled in from its last run, then checked as it's typed.
- Chasing
- Someone chases every missing promotion, every period.
- Dealio chases 30, 14, 7 and 3 days before each deadline, by email and in the app.
- Approving
- The buyer works through the spreadsheets one by one and emails the approved ones back.
- Approve, or reject with a reason that goes straight to the supplier.
- Sign-off
- The master spreadsheet goes to each regional wholesaler, and their comments are copied back in.
- Each wholesaler confirms or comments on the promotion itself.
- Changes
- A change goes round the whole loop again, as another master spreadsheet.
- A change is a new version, approved on its own, with the old one kept.
The hard part was history
Promotions change after they're agreed, and everyone needs to know which version they signed off. So nothing was overwritten. Every edit became a new version that went live only once it was approved, with its author, date and comment kept, and the promotion pointed at whichever version was live. A product's details, like its barcode, case size and pallet layout, were stored once, separately from each run's prices, and every run linked back to the one before. That link made the checks against last time possible.
I learnt React, Redux, Node and MongoDB on Dealio, in the evenings and at weekends while still working as a buyer. I chose React because JSX made sense to me, and kept the server in JavaScript so I was only learning one language. I reworked the schema several times before the versions held together. It was the first software I'd built, and I'd do almost all of it differently now.
StackReact, Redux, Node, Express, MongoDB, Material UI
Nothing overwritten
A promotion keeps every version
v112 Feb
Submitted
Promo price £0.95
Approved
v22 Mar
Supplier edit
Promo price £0.89
Live
v39 Mar
Supplier edit
Promo price £0.85
Waiting for approval
An edit goes live only once it's approved. Every version keeps its author, date and comment.
A product remembers every run
Stored once
Milk chocolate bar, 42g
EAN 5012345678900
24 to a case, 12 cases to a layer
P3 2018
Cost £17.48
Promo price £0.80
P6 2018checked against P3
Cost £21.00
Promo price £0.89
Standard cost has changed since last run. Are you sure this is correct?
It changed my direction
Dealio took about a year, from the first map to a working app. I'd done courses before, but building a whole product around a problem I dealt with every day is where software clicked. It got me out of buying and into engineering, and it's still how I like to start: map the work as it really happens, then build the system around it.