
Case study · Production AI
A production AI sales assistant for a UK water treatment supplier.
Ultra Soft sells water softeners, filters and spares online. Before buying, customers ask technical questions: which softener suits their home, which cartridge fits their unit. We built an AI assistant that answers in their website chat by looking up the catalogue and applying the client’s own sizing rules, and hands over to staff when it shouldn’t answer alone.
- Client
- Ultra Soft Water Softeners, UK
- Status
- Live in the client’s website chat since July 2026
- Our role
- Design, build, testing, deployment and support
- Stack
- Python, Flask, PostgreSQL, OpenAI models, Zoho SalesIQ
The problem
Technical questions, a changing catalogue, and no room for invented answers.
A general-purpose chatbot can sound confident about prices and specifications it has made up. Here that would mean wrong products sold and promises the client would have to honour.
Constraints
- Answers depend on engineering rules: household size, water hardness, flow rate and pipe size decide which softener or filter fits.
- Prices, stock and offers change in WooCommerce, so nothing about a product can be written into the prompt in advance.
- A wrong price or an invented product costs a sale and the client’s trust, so the system has to prefer a person over a guess.
- Replies have to fit inside the chat tool’s window of roughly ten seconds.
- Staff must be able to take over inside the chat tool they already use, Zoho SalesIQ.
Architecture
The model is one part. Facts, rules and checks live in code.
What we built
What the assistant is made of.
- Signed webhook into Zoho SalesIQ
- A Python and Flask application receives customer messages from SalesIQ through a signed webhook and replies in the same conversation.
- 11 catalogue tools
- The language model gets product facts only by calling tools. It never sees the whole catalogue and cannot state a product fact it hasn’t fetched.
- 27 rule modules in code
- Product selection, occupancy and capacity sizing, flow sizing, install kits and compatibility are deterministic Python, covered by unit tests, rather than instructions in a prompt.
- Modular catalogue adapters
- Catalogue data in PostgreSQL, built from WooCommerce, sits behind adapters, so softeners and other categories can use different backends behind one interface.
- Hand-over to staff
- When a check fails or a customer asks for a person, the conversation is handed to the client’s team inside SalesIQ.
- Latency work
- Connection pooling and careful tool use keep replies inside the chat tool’s reply window.
Testing and safeguards
How it avoids confident wrong answers.
- Deterministic check on every reply
- Before a reply is sent, product codes and prices in it are checked against the catalogue data. An invented product code or a price attributed to the wrong product blocks the reply and hands the chat to a person.
- 1,618 automated tests
- 1,319 tests run anywhere, and 299 check the rules against the real catalogue data (suite count as of August 2026).
- Replays of real conversations
- Real customer conversations are re-run against new versions to catch regressions before they reach customers.
- Advisory review by a second model
- After a reply is sent, a separate model reviews its wording and flags anything worth a closer look. It is a check for follow-up, not a gate.
Deployment status
Live with real customers since July 2026.
The assistant serves real customer conversations in Ultra Soft’s Zoho SalesIQ chat. Sending captured leads into Zoho CRM is not built yet. We don’t publish accuracy or sales figures we haven’t measured with the client.
We also built Ultra Soft’s order middleware, a separate system. Read the order middleware case study →
Need AI that has to be right?
Tell us what the AI needs to do, which data it should use and who will rely on it. We’ll tell you honestly what a dependable version involves.
Discuss a project