The Initiative Behind a Production AI Discounts Engine for eComm

Boaz Becker, Itay Herskovits2 Sep 2026

Problem

Wix merchants discount less than they could. Stores that run discounts have higher GPV (the merchant's revenue) and more orders, yet only 16% of orders include a discount against an industry benchmark of 25%. Closing the gap was estimated at about $8 million of yearly GPV. A discount means three decisions (which products, how deep, for how long), so unsure merchants do nothing or discount randomly.

Example from the article: for the intent "increase average order value" and a store with an average order of $167, the model suggests 10% off orders above $195. After a free-text request, it proposes a Valentine's discount limited to the holiday dates.

Solution in brief

An LLM assistant turns a merchant's intent and optional free text into a ready discount. Agents get context prepared in the data warehouse: a key-value profile service for site metrics and a Vespa index for products, so fewer than 50 products reach the model. An LLM judge scores every recommendation, first on a test set and later on live output.

Questions this case answers
  • How to turn a decision users make by guesswork into data-grounded, one-click recommendations by an LLM agent without sending the full catalog into the model context
  • How to evaluate a multi-agent workflow on every change and then keep scoring it on live production outputs
  • How to recommend discounts (products, depth, timing) to merchants with an LLM agent grounded in warehouse data?
  • How to give an LLM agent fast product context when merchants have thousands of products?

Tools and methods

  • Multi-agent split — Context, Reasoner and Recommender agents.
  • Profile service (key-value store) — low-latency site context.
  • Vespa hybrid search — product retrieval.
  • LLM as a judge — scores the whole workflow.
  • n8n, then Apache Airflow — runs evaluation in development and in production.
  • Google ADK, GitHub, Cursor, Claude Code — tool access, one repository, cross-agent edits.
Continue reading — it's free

Google or a one-time email code. No password.