Home / Insights / AI and Machine Learning
AI and Machine Learning
How We Built an AI Shopper Simulation App for Shopify: Synthetic Shopper Panels, Evaluation and Honest Verdicts
Merchants want to know how customers will react to a new price, photo or claim before they ship it. We built a Shopify app that runs proposed changes past simulated shopper panels drawn from a store’s own customer data. This is how we approached the design, how we think about evaluating synthetic shoppers, and where the method’s limits sit.
Key takeaways
- Simulated shoppers are a pre-screening tool, not a replacement for live tests: they help a merchant discard weak ideas cheaply and arrive at a live experiment with fewer, better candidates.
- The panel is only as good as its grounding. Building personas from a store’s own customer data, rather than generic demographics, is what makes a verdict specific to that store.
- A verdict without reasons is not useful. Every result should carry the shoppers’ stated reasons so the merchant can judge whether the logic is plausible.
- Research shows language models can reproduce many human response patterns but also distort them, for example by being more accurate than real crowds; evaluation has to look for those distortions explicitly.
- On Shopify, customer data access is tiered and reviewed; minimising fields, setting retention and separating test from production data are design inputs, not afterthoughts.
On this page
- What the app does and who it is for
- Grounding a simulated shopper panel in a store’s own data
- Running a test: from proposed change to verdict
- How to evaluate a tool whose output is a prediction about people
- Customer data, privacy and Shopify’s rules
- What merchants should take from a verdict, and what they should not
- A build checklist for a shopper simulation product
- Frequently asked questions
- Sources and methodology
This article is for e-commerce founders, heads of growth and product leads who are considering AI tools that predict customer reactions, and for CTOs asked to build one. It describes how we approached the AI Shopper Simulation app, a Shopify app we delivered end to end for an international client. The app tests product changes on simulated shoppers built from a store’s own customer data before those changes go live.
The problem it addresses is familiar. A merchant has an idea: a lower price, a new hero photo, a stronger claim, a rewritten description, a bundle offer. The honest way to find out whether it works is a live A/B test, but many stores do not have enough traffic for a test to reach a clear answer quickly, and every losing variant costs real revenue and real customer attention. Store owners told our client they wanted a way to predict reactions without running live tests or contacting real customers.
We will cover what the app does, how a simulated shopper panel is grounded in store data, how changes are tested and verdicts produced, how we think about evaluating something whose output is a prediction about people, the Shopify data-protection constraints that shaped the design, and what merchants should and should not take from a verdict. We do not publish client metrics, and we have not invented any here; where we give an example it is labelled as illustrative. If you are exploring AI for your own store’s customer journeys, our e-commerce support solutions page shows the wider work we do with Shopify and other platforms.
What the app does and who it is for
The app’s job can be stated in one sentence: take a proposed change, show it to a panel of simulated shoppers that resemble the store’s real customers, and return a verdict with the reasons behind it. Around that core sit the features a merchant needs to use it in practice.
The feature set
- Connection to store and customer data. The app installs as a Shopify app and reads the store and customer information it needs to build panels.
- Simulated shopper panels per test. Each test gets its own panel rather than reusing a fixed set of personas, so the panel can reflect the customers relevant to that product or offer.
- Tests across the levers merchants actually pull. Prices, photos, claims, descriptions and offers.
- Verdicts with reasons. The result explains why the panel leaned one way, not only which variant won.
- One-click apply and undo. A winning change can be pushed to the store, and reverted just as easily.
- Subscription plans with trial onboarding. Merchants can try the app before paying.
The technology on the project included a Shopify app, React Native, Astro and PostHog for product analytics. The rest of this article focuses on the parts that are specific to simulation, because those are where the interesting engineering and the interesting risks sit.
Who benefits most
The tool is most useful to stores that change their catalogue often and cannot afford to test every idea live: small and mid-sized merchants with modest traffic, stores launching new products without history, and teams that want to narrow ten ideas to two before spending traffic on an experiment. It is less useful for very high-traffic stores that can run statistically clean A/B tests in days, although even they can use it to screen ideas before a test.
Action: if you are scoping a similar product, write down the decision it supports (ship, test live, or discard) before you design anything else. That decision determines what a good verdict looks like.
Grounding a simulated shopper panel in a store’s own data
The idea that a language model can stand in for a group of people is not new. Lisa Argyle and colleagues showed in Out of One, Many (Argyle et al., 2022) that when GPT-3 was conditioned on thousands of sociodemographic backstories from real survey participants, its responses mirrored the patterns of many human subgroups, a property they called algorithmic fidelity. The important word is conditioned: the fidelity came from grounding each simulated respondent in a real profile, not from asking the model what people in general think.
That principle drove our design. A generic persona (“a 35-year-old urban professional”) tells the model very little about a particular store’s buyers. A persona assembled from patterns in the store’s own customer base, such as what kinds of products they buy, how price-sensitive their purchase history suggests they are, and how often they return, gives the model something specific to reason from.
Design principles for panel construction
- Aggregate before you personalise. Panels should be built from patterns across customers, not from copying an individual customer’s record into a prompt. That is better for privacy and usually better for the simulation, because a persona represents a segment.
- Match the panel to the test. A test on a premium skincare product should draw on the customers who buy in that category, not on the whole store.
- Keep diversity deliberate. Language models drift towards the average answer. A panel needs explicit variation in budget, motivation and scepticism, or every simulated shopper will sound like the same reasonable person.
- Record the panel. Store which segments and attributes made up each panel so a verdict can be explained and reproduced later.
What a persona needs to contain
| Element | Why it matters | Risk if missing |
|---|---|---|
| Purchase context (categories, typical basket) | Lets the shopper judge relevance and fit | Reactions to products the persona would never buy |
| Price sensitivity signal | Needed for any price or offer test | Unrealistic indifference to price changes |
| Motivation and objections | Drives reactions to claims and descriptions | Uniformly positive responses |
| Scepticism level | Counters the model’s tendency to be agreeable | Inflated approval for bold claims |
| No direct identifiers | Privacy and Shopify data rules | Personal data in prompts and logs |
We discuss the broader trade-offs of synthetic records in our article on synthetic data for AI training and testing; the same tension between realism and privacy applies to synthetic shoppers.
Running a test: from proposed change to verdict
From the merchant’s side, a test is simple: choose a product, describe or upload the change, and wait for a result. Underneath, a test has four stages.
1. Frame the comparison
The current version and the proposed version are presented in the same format, as a shopper would see them on a product page. A test is a comparison, not an absolute rating: asking a simulated shopper whether a page is good invites flattery, while asking which of two options they would buy, and why, produces more useful signal.
2. Collect reactions from the panel
Each simulated shopper reacts in character: whether they would buy, what attracted or put them off, and what they would want to know. Park and colleagues’ Generative Agents work (2023) showed that richer agent architectures, with memory, reflection and planning, produced more believable behaviour in simulation, and that removing any of those components reduced believability. A shopping panel does not need a full simulated town, but the lesson carries: the more context a shopper has about who they are, the less generic their reaction.
3. Aggregate into a verdict
Individual reactions are combined into an overall lean (current version, proposed version, or no clear difference) and a set of grouped reasons. Showing “no clear difference” as a legitimate outcome matters: it stops merchants from treating noise as a win.
4. Act, and keep the way back
If the merchant accepts the verdict, one click applies the change in the store, and one click undoes it. Undo is not a convenience feature; it is what makes it safe to act on a prediction.
An illustrative example
For example, a small homeware store might test replacing “handmade ceramic mug” with “artisan-crafted, dishwasher-safe stoneware mug” and lowering the price slightly. A useful verdict would not just say “proposed wins”; it would show that price-sensitive segments responded to the lower price, that practical shoppers valued “dishwasher-safe”, and that a sceptical segment found “artisan-crafted” vague. The merchant can then decide to keep the practical claim, drop the vague one and take the refined version into a live test.
Action: design your result screen around the reasons first and the winner second. Merchants act on reasons they find plausible; they ignore verdicts they cannot understand.
How to evaluate a tool whose output is a prediction about people
Evaluation is the hardest part of a simulation product, because there is no single right answer for a simulated shopper. We approach it with the same discipline we apply to other generative AI features, described in our article on combining offline test sets, user feedback and A/B tests, with some additions specific to simulation.
Known failure modes to test for
- Too agreeable. Models tend to be positive about whatever they are shown. Panels need sceptical personas and prompts that permit rejection.
- Too accurate. In a study replicating classic human-subject experiments, Aher, Arriaga and Kalai found that several experiments were reproduced faithfully, but a wisdom-of-crowds task revealed a hyper-accuracy distortion: some models answered more accurately than human crowds. Real shoppers misread labels, skim descriptions and act on impulse; a simulated shopper that reads every word carefully will overrate detailed copy.
- Too uniform. If every shopper in a panel gives the same reason, the panel is not representing a population.
- Too sensitive to wording. If rephrasing the test instructions flips the verdict, the verdict is not robust.
An evaluation programme in practice
- Sanity tests. Changes with an obvious expected direction (a large price increase with nothing else changed, a blurry photo replacing a sharp one) should produce the expected lean. These catch broken prompts and pipelines.
- Stability tests. Run the same test several times and with paraphrased instructions; measure how often the verdict holds.
- Diversity checks. Measure the spread of reasons and reactions across a panel, and flag panels where variety collapses.
- Comparison with real outcomes where available. When a merchant later runs a live test or changes a price and sees the result in their analytics, compare it with the simulated verdict. Over time this is the only evidence that really counts.
- Human review of reasons. Read samples of shopper reasoning for plausibility. Implausible reasons are an early warning even when the verdict looks right.
Economists John Horton, Apostolos Filippas and Benjamin Manning describe language models as simulated economic agents that, given endowments, information and preferences, reproduce results qualitatively similar to classic experiments, while noting that divergences are informative. Qualitatively similar is the right expectation for a shopper simulation: it can tell you the direction and the reasons more reliably than it can tell you the size of an effect.
Product analytics close the loop. Tracking which verdicts merchants accept, apply and later undo shows where trust is earned and where it is not, which is one reason the project used PostHog.
Customer data, privacy and Shopify’s rules
A simulation built from customer data is a customer-data product, and Shopify treats it as one. Shopify’s protected customer data requirements define levels of access. Level 1 covers customer data without the name, address, phone and email fields; level 2 adds those identifying fields, each requested separately, and brings additional requirements and possible data protection reviews.
Requirements that shape the design
| Shopify requirement | What it means for a simulation app |
|---|---|
| Process only the data needed for app functionality | Build panels from behavioural and purchase patterns; avoid identifying fields unless a feature genuinely needs them |
| Tell merchants what data you process and why | Explain in plain language how panels are built and what is sent to AI models |
| Apply retention periods | Delete raw extracts once panels are built; keep only what is needed to explain verdicts |
| Encrypt data at rest and in transit | Applies to stores, caches and logs, including prompt logs |
| Level 2: separate test and production data, limit staff access, keep access logs | Engineers debug with synthetic stores, not real customer data |
Shopify approves access only for the minimum data an app needs, and redacts fields that have not been approved. The practical consequence is that data minimisation is easier to design in from the start than to retrofit after an app review. Our default for this class of product is to aim for level 1 access and justify every additional field.
AI providers and prompts
Persona descriptions and test content are sent to a language model. Check your AI provider’s data retention and training terms, keep identifiers out of prompts, and make sure prompt logs inherit the same retention and encryption rules as the data they came from.
Action: list every customer field your simulation would read, and next to each write the feature that needs it. Remove any field without an entry before you request access.
What merchants should take from a verdict, and what they should not
The most important design decision in a product like this is how honestly it frames its own output. A simulated verdict is a structured, store-specific opinion, not a measurement.
Simulation versus live testing
| Question | Simulated panel | Live A/B test |
|---|---|---|
| Speed to an answer | Minutes | Days to weeks, depending on traffic |
| Cost of a losing variant | None to customers | Real lost sales during the test |
| Explains why | Yes, through stated reasons | Rarely, without extra research |
| Measures real behaviour | No | Yes |
| Reliable on effect size | No; direction and reasons only | Yes, with enough traffic |
| Best use | Screening and refining ideas | Confirming the shortlisted idea |
Good uses
- Screening many ideas to find the few worth testing live.
- Finding objections in copy or claims before customers see them.
- Testing on new products that have no traffic history.
- Building a shared vocabulary in the team about why customers buy.
Poor uses
- Setting a final price for a high-volume product without a live check.
- Treating a narrow lean as a guaranteed uplift.
- Making claims you cannot substantiate because the panel liked them; consumer protection rules still apply to what you publish.
We think tools in this space earn trust by saying “no clear difference” often enough, by showing their reasoning, and by encouraging live confirmation for decisions that matter. Our client’s product was designed around verdicts with reasons and easy undo for exactly that reason.
A build checklist for a shopper simulation product
If you are planning a similar product, for Shopify or another platform, these are the steps we would follow, in order.
- Define the decision the verdict supports and the three possible outcomes (proposed, current, no clear difference).
- Map the customer fields you need to features, and design for the lowest data-access level that works.
- Design panel construction from aggregated segments, with deliberate diversity and recorded composition.
- Frame every test as a comparison in the shopper’s own view of the page.
- Build the evaluation harness before the result screen: sanity, stability and diversity tests on a set of reference stores.
- Put reasons at the centre of the result screen, with the winner as a summary.
- Make apply and undo one click each, and log every change.
- Instrument the product to see which verdicts are accepted, applied and undone.
- Compare simulated verdicts with any live outcomes merchants share, and feed the gaps back into panel and prompt design.
- Write the merchant-facing explanation of how simulation works and where it does not, and keep it visible in the app.
Return flows are another area where AI recommendations meet store policy and real money; our article on controls for AI-automated returns covers the guardrails we apply there, and many carry over to any feature that changes a live store.
Frequently asked questions
Can simulated shoppers replace A/B testing?
No. They are best used to screen and refine ideas so that fewer, better candidates go into a live test. Research on language-model simulations finds results that are qualitatively similar to human studies, with known distortions, so they are more reliable on direction and reasons than on the size of an effect.
Does the app need access to customers’ names and emails?
A simulation can generally be built from purchase and behavioural patterns without identifying fields. Shopify separates access into levels, with names, addresses, phone numbers and emails requiring separate approval and extra controls, so minimising fields is both safer and simpler.
How do you know the verdicts are any good?
Through layered evaluation: sanity tests with obvious expected outcomes, repeated and paraphrased runs to check stability, checks on the diversity of reactions, human review of reasoning, and comparison with real outcomes when merchants run live tests or see results in their analytics.
What kinds of changes can be tested?
The app supports tests on prices, photos, claims, descriptions and offers, which are the levers merchants change most often on product pages.
Would this work for a store with very little customer history?
Panels are weaker when there is little store data to ground them, because the personas fall back on generic assumptions. A new store can still use the tool to find objections in copy and claims, but should treat verdicts as more tentative until history builds up.
Sources and methodology
Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.
- arXiv: Argyle et al., Out of One, Many: Using Language Models to Simulate Human Samples (2022) — accessed 10 November 2026. Algorithmic fidelity when GPT-3 is conditioned on real sociodemographic backstories; grounding personas in real profiles
- arXiv: Aher, Arriaga and Kalai, Using Large Language Models to Simulate Multiple Humans and Replicate Human Subject Studies (2022, revised 2023) — accessed 10 November 2026. Replication of classic studies and the hyper-accuracy distortion found in some models
- arXiv: Park et al., Generative Agents: Interactive Simulacra of Human Behavior (2023) — accessed 10 November 2026. Memory, reflection and planning improving believability of simulated agents
- arXiv: Horton, Filippas and Manning, Large Language Models as Simulated Economic Agents (2023) — accessed 10 November 2026. LLMs as simulated economic agents producing qualitatively similar results to classic experiments
- Shopify.dev: Protected customer data requirements — accessed 10 November 2026. Level 1 and level 2 access, protected fields, minimisation, retention, encryption and review requirements
Related reading
Continue your research
Which store decision would you want to test on simulated shoppers first?
We design and build AI features for Shopify and custom stores, with evaluation and data-protection controls planned from the start.
