05 / Segmentation
SAP x WiDS Case Competition
SAP put $1.1 billion into business AI in July 2023. We were handed the user data and asked what that investment was doing to churn. I led the team. We found three distinct groups, and recommended SAP skip the one with the worst churn, because its churn had very little to do with the AI. First of forty teams.
Company
SAP
Role
Team lead
Tags
01 / Role & Scope
Scope
I led the team. I set the analytical approach, pushed for clustering instead of prediction, and owned the recommendation we took to the judges. First of forty teams.
Two things came with the brief: the question, and the dataset. Everything after that was ours. Nobody told us to segment, nobody told us to deprioritise the group with the worst churn, and nobody suggested the answer should be a piece of product design rather than a retention campaign. Those are the three decisions this case study is actually about, and from the outside they can look like they were in the prompt.
02 / The Brief
The Question We Got
SAP put $1.1 billion into business AI in July 2023. The question we were given: how is user churn being impacted by SAP's AI investments? We read that as a question about attribution. Which churn was the AI responsible for?
The dataset covered users across the SAP software ecosystem with churn, demographic and usage metrics. Churn meant the user stopped using the software altogether. A downgrade or a quiet drop in usage did not count. Nine variables: age, AI interaction level, satisfaction with AI services, AI personalisation effectiveness, AI response time, overall usage frequency, customer service interactions, change in usage patterns, and churn.
03 / Problem
The Biggest Number Was the Wrong Target
Put AI and churn in the same sentence and the obvious first move is to find whoever is leaving fastest, then work backwards to what the AI did to them. The trouble with that is it assumes the answer.
As one number, churn flattens groups that behave nothing alike. Someone using the AI every day and finding it shallow shows up the same way as someone who never opened it. Build for the average of those two and you miss both of them.
04 / Discovery
The Clustering
We clustered instead of building a churn predictor. A predictor ranks users by risk and says nothing about cause, and cause was the part SAP had asked about.
What changed our direction was how age and AI interaction level sat against each other. The oldest cohort was also the one barely touching the AI, and it had the highest churn rate in the data. Age and engagement were pulling opposite ways, so one retention story was never going to cover it.
The density plots show which variables did the work. Age, AI interaction level, satisfaction with AI services, personalisation effectiveness and churn each split into three clear shapes. Response time, overall usage frequency and change in usage patterns sit on top of each other across all three clusters. So the groups are not heavy users against light users. They use the product at much the same rate and differ in how they get on with the AI.

This is the output of the clustering, one panel per variable, with the three clusters overlaid in red, green and blue. Reading it is a matter of asking which panels show three separate shapes and which show one.
Age separates hardest. The green cluster sits almost entirely to the right of zero, while red and blue occupy the left. AI interaction level separates the other way: green spikes at the far left, meaning low interaction, while red and blue peak to the right of centre.
Satisfaction with AI services and AI personalisation effectiveness both split red from blue. Red concentrates at the low end of each, blue spreads across the high end, and green sits between them.
Customer churn confirms the ranking. Blue spikes at the low end, meaning the cluster mostly did not churn. Green rises at the high end, the highest churn of the three. Red sits in between.
Four panels show almost no separation: AI response time, overall usage frequency, customer service interactions and change in usage patterns. All three curves lie on top of each other. That matters, because it rules out the simple reading where the clusters are just heavy users against light users. They use the product at much the same rate and differ in how they get on with the AI.
05 / Segments
Three Personas
Three groups came out. They are easiest to read side by side.
Cluster 1, the unsatisfied customer-service seekers. Younger, high AI interaction, not satisfied with the personalisation or the services around it, and more customer service contact than either other group. Moderate churn.
Cluster 2, the aging churners. Older, the highest churn in the dataset, low AI interaction, moderately satisfied with the AI across the board, and less customer service contact.
Cluster 3, the high-satisfaction interactors. Younger, high AI interaction, highly satisfied, lowest churn. The AI investment was already working for this group, which made them useful to measure the others against.
Cluster 1, unsatisfied customer-service seekers, under a red header. Younger demographic, moderate churn levels, high AI interaction level, not satisfied with AI personalisation and services, more customer service interactions. The closing line reads: this is where we told SAP to spend.
Cluster 2, aging churners, under a green header. Older demographic, highest churn levels, low AI interaction level, moderately satisfied with AI personalisation and services, less customer service interactions. The closing line reads: worst churn, we still said leave it alone.
Cluster 3, high-satisfaction interactors, under a blue header. Younger demographic, lowest churn levels, high AI interaction level, highly satisfied with AI personalisation and services. The closing line reads: nothing to fix, useful as a comparison.
A note under the three panels records that the density plots barely separated the groups on customer service interactions, so that bullet carries less weight than the others.
06 / Decision
What We Ruled Out
The aging churners had the highest churn in the dataset and we told SAP not to start there. On every measure we had, they were moderately satisfied with the AI. Their churn was real. It also had little to do with the thing SAP had asked us about, so spending the AI budget on them would have been aimed at the wrong cause.
That was the uncomfortable half of it. Anyone looking at a churn dashboard wants to attack the biggest number, and we were telling them to leave it. Why that cohort was leaving is a real question. We said it sat outside what this data could answer instead of stretching to cover it.
We put Cluster 1 first. They were already using the AI, so they had found it fine. What they were not getting was depth. Their churn sat in the middle of the three groups, and it was the churn the AI could actually move. They also generated the most customer service contact, which costs SAP money on its own.
The trade is worth being honest about. Telling SAP to deprioritise its worst-churning group means accepting that the headline retention number moves slower, and whoever owns that number inside SAP has every reason to object. Our answer was that the brief asked about AI and churn, not churn in general, and that an AI budget spent on a group the AI was not failing would show up as money spent with nothing to show for it. That argument wins in a case competition. It is harder to win against someone whose bonus depends on the aggregate.
07 / Options
The Four Directions
The question for Cluster 1 was how people who are already reaching for the AI get a more personalised, better-supported experience without being sent somewhere else for it.
There are four honest directions you can take that question. The board below maps them on the two axes that decide it: how much personalisation each one actually delivers, which was Cluster 1's complaint, and what it costs to build inside a product that already exists. I drew it for this case study rather than photographing it off a wall, so read it as the option space and not as a record of one particular afternoon.
Three of the four die on things the clustering had already told us. Better documentation and onboarding assumes people cannot find the AI, and Cluster 1 had found it fine. Human support, whether a CSM or live chat, handles one account at a time and does not scale to SAP's install base. Retraining the model gets you better answers that are still generic, and generic was the complaint.
What survives is the group where every option is describing the same thing from a different angle: knows your role, reads your permissions, answers from your data, suggests the next action. That is one product, and it is the one we recommended.
This maps the option space rather than recording a particular meeting. The horizontal axis is complexity to build, low on the left. The vertical axis is personalisation delivered, low at the bottom.
Bottom left, low on both axes, the tell them more group: better docs and onboarding, an in-app feature tour, weekly tips by email.
Bottom right, high complexity and still low personalisation, the put a human on it group: a dedicated CSM per account, live chat with a support rep, consultant-led change management.
Centre, moderate on both, the tune the model group: retrain the recommender, thumbs up and down on AI output, a preference settings panel.
Top centre-left, highest personalisation at moderate complexity, the context-aware assistance group, marked chosen: it knows your role, reads your permissions, answers from your data, suggests the next action.
The right-hand panel names what the chosen group became, an in-product support assistant, and gives the one-line reason each other group lost.
08 / Design
Where It Sits
The recommendation was an internal AI support assistant sitting in the corner of the product, where someone could ask a question in their own words. The difference from a chatbot was what it read: the user's role, their permissions, the dashboards and data actually available to them. A generic assistant answers out of the documentation; this one would answer out of your own installation, so its suggestions were things you could act on.
That came straight from the cluster. These people were not failing to find the AI. They were finding it and getting answers that did not know who they were.
Where it sits matters more than what it says, and there are only three places to put it. Two of them break the thing that made this the recommendation. An assistant on its own page answers your question somewhere you can no longer see what you asked about. A modal sits on top of the exact numbers you are asking about. The sketches below work through all three, and like the mockups further down, I drew them for this case study.
We kept the docked panel. It leaves the work on screen, and because the work is on screen the panel can use it.
These were drawn for this case study, deliberately rough, which is why the boxes are wobbly and the content is pencil strokes rather than text.
v1, assistant on its own page, rejected. A browser window with two tabs, Dashboard inactive and Assistant active. The body is a conversation and a question field. A red note points at the inactive tab: the work is here.
v2, modal over the dashboard, rejected. The same launchpad grid with a dialog floating over the middle of it and the tiles behind dimmed. A red arrow points down from the dialog at the tiles it is covering: hides the data.
v3, docked in the corner, kept. The tile grid keeps its space on the left at two by two, and a narrow assistant panel runs down the right edge with a star mark, a short answer, an action button and an input at the bottom. An arrow curves from the grid into the panel: reads what is on screen.
09 / Extension
Designed Into the Product
The finished mockups put v3 on SAP's real Purchasing Analytics launchpad. The assistant is docked down the right edge, reading the screen it sits on: its answer cites the tiles next to it, and it states the role and permissions it is answering within. That last part is what a generic chatbot cannot do, and it is the whole reason this was the recommendation. I drew these for this case study; they were not in what we showed the judges.
Docking it costs the grid a column. Three tiles that fit before do not fit now, and in a real build they would reflow down the page. Worth saying plainly, because a panel that is always open is not free, and staying visible was the entire argument for it.
The tile patterns are the other half: the assistant answers when you ask it, and these let the screen say something first. Three of them, in order of how much they ask of the user. Ambient: a tile with something to say keeps its exact size and spends its subtitle on the cause instead of the date range, so nothing in the grid moves. Inline: the tile opens in place to show the reasoning, the evidence under it, and a decision, without taking the reader anywhere. Act: a recommendation occupies an ordinary grid cell, so it has to compete for attention like everything else on the page.
Two rules hold it together. The AI mark is indigo, kept outside the red-amber-green status palette, so nobody reads an AI signal as a performance signal. And every surface carries a "Why this?" next to the action, because otherwise you are asking people to take it on faith.
If it shipped, the panel goes first and the tile patterns follow. The panel is the thing the cluster actually asked for, and the patterns only pay off once people trust what the assistant tells them. The number to watch is not churn, which moves far too slowly to tell you anything inside a quarter. It is the share of Cluster 1 users who act on a suggestion instead of dismissing it. If that stays flat while satisfaction stays flat, the segmentation was wrong and these users wanted something other than context.
These are mockups drawn for this case study. They were not in the original competition deck. The top frame reproduces the launchpad as SAP ships it today, so the comparison is honest about what changed.
The largest change in the lower frame is the assistant docked down the right edge, which is v3 from the wireframes. It is headed Assistant with the current app name, Purchasing Analytics, underneath. It shows a question, Where is my money leaking?, and its answer: two places, off-contract spend is 63,45%, and 41 overdue POs sit with one supplier. Under the answer sits its provenance, From 1,284 POs and 6 tiles, a Show both button and a Why this? link. Below that, a block headed Scoped to your access reads Procurement Lead, 3 plants EMEA, Contracts read and edit. Two suggested follow-up questions and an Ask about this screen field close the panel.
The panel takes the width of the grid's sixth column, so the lower frame carries five columns where the upper one carries six, and three tiles no longer fit.
In the remaining grid, three tiles carry AI and the rest are untouched. Most tiles have nothing to say on a given day, and a system that comments on everything gets ignored.
The ambient pattern appears on Invoice Price Variance and Off-Contract Spend. The tile keeps its exact size and position; the only change is that the subtitle stops reading Last 365 Days and reads 3 suppliers drove 71% or 12 orders are coverable instead, with a small indigo star in the corner marking the line as generated.
The inline pattern appears on Overdue Purchase Order Items. The wide tile splits: the metric, 51, keeps its own column on the left, and the right half becomes a tinted panel headed Likely cause, reading 41 of the 51 sit with one supplier whose lead time went from 9 to 16 days in May. Under it, the provenance line From 1,284 POs, a primary button reading Open the 41, and a Why this? link.
The act pattern appears along the bottom row, in a cell the width of two ordinary tiles. It is headed Suggested next step and counted 2 of 3, and reads Move 12 open orders to the framework contract with HighTec Assembling Corp., with the reasoning below: off-contract spend is 63,45% and those 12 are already covered by an agreement expiring in 120 days. It offers Review, Not now, and Why this?. Immediately to its left sits the Off-Contract Spend tile it cites, carrying the ambient line 12 orders are coverable, so the recommendation sits next to the number that motivated it.
10 / What It Unlocked
The Insight
The biggest number in the data was the wrong thing to chase, and the only reason we could see that was that we split the population first. A churn dashboard would have pointed straight at the aging churners, and we would have spent the entire recommendation on a group whose churn had little to do with the question.
The other half of it is less comfortable. Being useful meant telling SAP that part of their problem sat outside the brief, and saying so instead of stretching the data to cover it.
Next Project
06 / Web Design