Case study · Food tech · Health
Helping people with gut conditions shop with confidence
People living with IBS, Crohn’s, colitis, coeliac disease and similar conditions spend a lot of time reading labels. AisleMetric needed a site that does that work for them: it checks real UK supermarket products against their diet, then turns the results into recipes, meal plans and a shopping list they can actually use. It also had to be run by one person, so automation had to do the heavy lifting.
The challenge
Supermarket data is messy. Product names, ingredient lists and categories vary between retailers. Many products appear under several names, and an ingredient list that looks safe can hide onion powder, garlic or dairy derivatives. On top of that, the site needed:
- a large volume of useful, accurate content (recipes, guides, images) without a content team
- a way to reach people organically, with no ad budget
- trust: health-adjacent information that's honest about what it can and can't promise, accessible to everyone and compliant with UK privacy law
AisleMetric helps people find products that fit their diet. It doesn't diagnose or treat anything, and the site says so.
What we did
1. Data wrangling: from raw product data to diet answers
- Built a Python pipeline that pulls UK products from Open Food Facts into a working database. It cleans and de-duplicates them, then maps them to retailers and to a shared category tree.
- Wrote an ingredient rule engine that checks every product against each diet (flare-friendly, onion and garlic free, FODMAP, gluten free, dairy free). Uncertain results are flagged for human review rather than guessed.
- Linked recipes to real products at each supermarket. Each ingredient gets the best matching pick at each shop, and where a shop doesn't stock one, the pipeline suggests a checked swap. A coverage rule makes sure every recipe works in at least 6 of the 8 biggest supermarkets, or offers a swap. Store-cupboard basics are excluded from the count.
- Made the shopping list do real unit maths. It merges the same ingredient across recipes, converts units and rounds counted items up to whole packs, so the list reads like something you'd take to a shop.
- Served the data from Cloudflare's edge, with queries batched to stay inside database limits. That keeps pages fast while carrying tens of thousands of products.
2. Platform: a fast, accessible site built around planning
- Nuxt on Cloudflare Workers, with two D1 databases (products and app data), R2 for images and edge caching.
- A homepage diet wizard: pick a diet or condition, then a supermarket. The choice is remembered and applied across the site.
- A recipe library with per-supermarket product picks and swaps.
- A meal planner: a week grid, ready-made weekly plans, and one merged shopping list.
- An email and PDF meal-plan sign-up: plans are emailed with Resend, PDFs are generated on the fly, and consent is opt-in only (no pre-ticked boxes).
- Landing pages for every diet, condition, supermarket and diet-by-supermarket combination, structured for search.
- Built to WCAG 2.2 AA, with a privacy-first approach to analytics.



3. AI content and marketing automation
- AI imagery with a human check. Every recipe and blog image is generated with Cloudflare Workers AI. Each one is checked against its recipe or post before it's published: the right ingredients, and nothing that contradicts the diet. No stock photos.
- Content pipeline. Recipes and blog posts follow written house rules covering tone, diet accuracy, swaps and coverage. They're drafted with AI, then validated by the pipeline (diet checks, coverage report) and reviewed before going live.
- Social automation. The pipeline generates social graphics from the content. Instagram posts are queued in Buffer as drafts for approval, and Pinterest pins publish automatically. Account growth is handled in small, human-approved sessions; nothing is posted or messaged without sign-off.
- Monthly SEO loop. Search Console and Instagram data are pulled in through Windsor.ai. That shows which pages are gaining impressions, which queries are close to page one and what content to write next, and the plan feeds the next month's drafting.
- Scheduled check-ins. A weekly automated report covers search, social and site health, alongside a running operations handbook, so everything is documented and ready to hand over.
- Partnerships. A direct-sponsorship programme for food brands, AisleMetric Market, with paid placements clearly labelled Sponsored and editorial picks labelled separately.
The outcome
- A live site with about 48,000 UK supermarket products checked against 5 diets, across 11 retailers.
- 56 recipes and 5 ready-made meal plans that work in most major supermarkets.
- About 1,900 pages indexed. In the first full week of real search traffic, impressions rose from 161 to about 21,300, with 92 clicks, from organic search alone and no ad spend.
- A content and social engine that one person can run in a few hours a week, because the AI drafts, the pipeline checks and a human approves.
- Everything documented in a living operations handbook, so the site can be handed over or scaled without depending on any one person.
The supermarkets are data sources, not clients or partners of AisleMetric.
Tech stack
- Nuxt 4
- Cloudflare Workers
- Cloudflare D1
- Cloudflare R2
- Workers AI (image generation)
- Python data pipeline
- Open Food Facts
- Resend (email)
- pdf-lib (PDF generation)
- Buffer
- Windsor.ai
- Google Search Console
- Cloudflare Web Analytics
Let's find the hours you're losing.
Book a free 30-minute call. We'll talk through how your business runs and where AI, automation, a better website or a live dashboard could make a real difference. No pitch, no obligation.