An in-house loyalty wallet for 12M customers
We replaced a third-party loyalty wallet with an in-house platform. We migrated 12M customers seamlessly, cut offer allocation from 4 days to 5 hours and moved data to near real time.
- 12Mcustomers migrated seamlessly
- 4 days → 5 hweekly offer allocation
- Near real timedata for analysis (was every 24 h)
Context
Nectar is Sainsbury's loyalty programme. The loyalty wallet is where each customer's offers live: they see them in the app and on the web, and they apply when they shop.
12M active supermarket customers used it, in a B2C market.
Problem
The wallet was a third-party product with several strategic limitations:
- Creating new offer types depended on external development.
- Allocating the weekly offers to the whole customer base took 4 days. It did not scale.
- It did not allow real-time interactions.
- It offered a fixed number of fields, which held back what we could build in the app and on the web.
- It did not allow connected games or gamified experiences.
- It could not hold offers from other business units (Argos, Tu Clothing, Habitat, Partners) in the same wallet.
- The cost model did not scale with the growth of the base.
It left no room for the innovation or the scale we were aiming for.
What I did
I took the project from scratch. I mapped every system the wallet connected to: what data we received, where it came from, where it went and in what format.
Then I defined how it had to work in the future: how the mechanics should work, what scale we were after and which projects we would build on top of this foundation.
Key decisions
- 01A modular architectureWe split the capabilities into independent, connected pieces, so each one can grow on its own.
- 02Technology chosen to scaleWe chose the stack based on our performance and scale goals.
- 03Real time where it mattersWe defined which data had to be available instantly and which could be processed later.
- 04Near real-time dataWe redesigned how data reaches reporting, moving from daily reports to near real time.
- 05Built for the peaksWe designed the integrations to handle the busiest moments of the day and the year.
- 06One wallet for every channelApp, web, online groceries, tills and reporting all connect to the same wallet.
What we left out
- Legacy features and connections, as part of the plan to decommission old technology.
- Flows we redesigned to simplify the overall infrastructure and architecture of the programme.
- Intermediate connection layers we dismantled to keep the system as lean as possible.
How I aligned the teams
I spent a lot of time interviewing every team: their needs, pain points, constraints and the things they could not do yet but would need in the future.
With that, I wrote a plan on a page and shared it with everyone.
- Roadmap and backlog always visible, so everyone knew where we were.
- Sprint meetings with the related teams to set priorities and work through problems, delays and next steps.
- Dailies with my team and frequent contact with stakeholders, so we could pivot in time.
- A review of every requirement and every agreement between teams.
- Whoever had to decide, or would be affected by a decision, always kept in the loop.
- When requirements clashed between areas, a round table to reach an agreement and realign.
Communication and transparency are the foundation of how I work. Honesty is what builds partnerships that go beyond teams.
The teams I worked with
- Loyalty wallet (my team)
- Data warehouse
- ML personalisation
- Finance
- Loyalty marketing
- Marketing operations
- Checkout
- Till system
- Online groceries
- Technology architecture
- Delivery
- UX/UI design
- Technology transformation
How I prioritised
- Skeleton and core functionality first (MVP). The decoration, later.
- Frequent, automated testing.
- Monitoring and alerts from day one, to avoid surprises.
- Both wallets running in parallel, with a weekly discrepancy analysis.
- A clear critical path from day one.
- Plan B and plan C always ready to pivot.
Outcome
- 12Mcustomers migrated seamlessly
- 4 days → 5 hweekly offer allocation
- 24 h → near real timedata for analysis (was once a day)
- 12M → 18Mactive users since launch, out of a total base that grew from 19M in 2022 to 27M
And something a number can't show: the flexibility for uses that used to be impossible.
What I learned
- A/B test solutions with traffic simulation before implementing them.
- Migrating the database in the middle of the project turned out to be a costly pain.
- Share more of the product vision, not just the technical side. Tell the engineers the story, even if it seems irrelevant, so they can understand, imagine and come up with the best solution.
- 1 engineering manager
- 2 senior engineers
- 5 engineers
- 1 architect
Nectar in action
Videos only load from YouTube when you play them.
Want the detail?
Some things don't fit on a public page. Happy to walk you through them on a call.