Order by 12:30pm Mon–Fri for same-day dispatch · Free UK delivery over £150 · Free part identification

PartMatch AI

Upload a photo, describe what's wrong, or chat with the AI assistant. Claude identifies the part and finds the matching spare. Staff get a triaged inbox with draft replies.

Connecting to Claude… Working prototype for Bathroom Spare Parts Saved: 0 Basket: 0 items (demo)

Independent application prototype, not affiliated with or endorsed by Bathroom Spare Parts. All products, SKUs, prices, orders and customers are fictional sample data.

Thermostatic cartridge · 86%Matched to SP-1001 for Mira Excel
Photo part ID in secondsClaude reads the photo and finds the spare
AI chat, day and nightParts, orders and returns answered
Same-day dispatchOrder by 12:30pm, Monday to Friday
Free UK deliveryOn orders over £150

What needs replacing?

Add photos of the old part from the top, side and base, ideally next to a ruler (as the Bathroom Spare Parts FAQ asks), and say what's going wrong.

Customer enquiry inbox

Six sample emails like the ones customer service handles every day. Claude sorts each one, pulls out the order reference, checks the (sample) order system and drafts a reply using the shop's published policies. A person reviews every reply before it is sent.

Built to clear the "which part do I need?" queue

Bathroom Spare Parts stocks parts for around 150 manufacturers and offers free part identification from customer photos. Each identification is a skilled, manual job, and the same is true of the enquiries that arrive by email and WhatsApp. PartMatch AI handles the first pass. It reads the photos and symptoms, searches the catalogue, gives the customer a likely match with the measurements to check, and only passes the hard cases to an expert, with everything that expert needs.

Customer

Photos (top, side, base), symptom, brand if known, measurements.

Claude vision

Reads the part type, spline, length and markings, and works out the fault.

Catalogue tool

Claude calls search_catalogue, a function in the page, as many times as it needs.

Structured answer

Ranked matches, a confidence score, checks before buying and fitting steps.

Expert hand-off

Below 70% confidence, a ready-written ticket goes to the parts team.

Plumber fixing pipework behind a bathroom wall panel, toolbox on the toilet

The business problem

  • Identification is the bottleneck. The site promises "Not sure which part? We identify it free", and the FAQ asks for three photos with a ruler. Every one of those requests needs a specialist to look at it.
  • The catalogue is huge. Around 150 brands, model-specific pages (Franke alone has dozens), and discontinued ranges such as Bathstore. Customers rarely know their model.
  • Wrong parts cost money. Return postage is paid by the shop when a part was "incorrectly recommended", so better first-time matching saves money directly.
  • Repeat enquiries. Where's my order, delivery to Ireland, returns, trade terms: answerable from policy and order data, yet each one is typed by hand today.

How I built it

  • Claude Code (Anthropic's AI coding agent, Opus 5.5 model). It researched the public website (home, tap spares and FAQ pages), then designed and wrote this app with me.
  • Claude vision and tool use, live in the page. The model looks at the uploaded photos and calls search_catalogue, a JavaScript function, to search the sample catalogue before answering. It never invents a SKU.
  • Structured JSON output drives the result cards, the confidence meter and the hand-off ticket. The inbox triage returns a category, urgency, order reference and a draft reply for each email.
  • Plain HTML, CSS and JavaScript, with no framework and no server. Photos are shrunk in the browser to about 1024px before upload, to save cost and time. Every drawing is hand-written SVG.
  • AI live chat. A chat bubble like the one on the current site, but answered by Claude straight away. It reads photos, searches the catalogue, looks up orders, and hands over to a person when unsure or when the customer is unhappy.
  • Retail touches borrowed from big DIY sites: a header search, a delivery promise strip, product cards with stock and dispatch cut-off, and a popular spares rail.
  • Graceful fallback. Without a Claude connection, a keyword matcher keeps the demo usable, and the page says clearly which mode it is in.

What I'd do next with access to internal systems

  1. Connect the real product database and supplier cross-references, with embeddings search, so matches cover every SKU, discontinued-to-replacement mappings included.
  2. Learn from past photo-ID tickets. Turn historic photo-and-answer pairs into a retrieval set and an evaluation set of about 200 cases, and measure accuracy before anything goes live.
  3. Live order and stock lookup through the ecommerce platform's API, so "where is my order?" replies carry real tracking and stock dates.
  4. Inbox automation in n8n: email, helpdesk and WhatsApp Business messages go to Claude, then to a draft in the helpdesk for a person to approve. Nothing is sent without review at first.
  5. Put the chat assistant in front of the existing live chat, handing over to staff with the full transcript and photos, plus a "send to our experts" button that creates the ticket shown here.
  6. Reporting: which symptoms and brands people ask about most, to guide stock, how-to videos and SEO content.

Time taken

StepMinutes

Built on 3 December 2026 in one focused session with Claude Code: about 11 minutes from opening the brief to a live link. The minutes are clock times from the session. The production setup would use the Claude API (Messages API with vision and tool use) behind a small PHP or Node endpoint, so it can sit on the existing site.

Product