Case study · Food manufacturing
From supermarket order to delivered loaves, run by AI
Anonymous Bakery receives a supermarket order with a tight deadline. The AI checks stock and capacity, orders ingredients, works round a mill that can't deliver and a printer that's a day late, agrees a new date with the customer, then tracks production and delivery live through to payment.
The challenge
Anonymous Bakery supplies a supermarket chain. Orders arrive with short deadlines, and every order sets off a chain of admin: checking stock, checking the production diary, ordering ingredients from several suppliers, chasing replies, telling the customer, invoicing and booking the line.
Most of the time it's routine. The problem is the exceptions: a supplier who can't deliver in time, another who doesn't answer, a delivery date that has to move. Those land on one busy person's desk, often after the window to fix them has closed.
What the system does
1. Reads the order and checks what's needed
- Reads a purchase order of 12,000 loaves for four distribution centres and splits it into batches.
- Works out the ingredients from the recipe and checks them against live stock. Flour, yeast and printed bags are short.
- Checks the production diary to confirm there's room on the line for the delivery date.
2. Orders ingredients and handles the exceptions
- Emails each supplier and reads the replies.
- Flour: the usual mill can't deliver in time, so the AI compares the alternatives and picks an approved mill that can. The switch costs more than its approval limit, so it asks the operations manager first.
- Packaging: the printer can deliver only a day late, and a backup supplier doesn't reply within four hours. The AI weighs the options and recommends moving production and delivery by one day. It checks the line has room on the new day before asking the customer.
- Customer: it explains the problem, proposes the new date, reads the reply and confirms the order.
3. Runs the paperwork
- Sends the invoice, updates the CRM and accounts, and books the job into the production diary for the team to confirm.
- Updates stock as deliveries arrive, and tops it back up afterwards, returning to the usual suppliers.
4. Watches production and delivery live
- A live dashboard shows ingredient stock, the order's status and money, and sensor readings from every machine on the line: dough and oven temperatures, proving humidity, slice and bag counts, check-weights and metal detection.
- When the checkweigher's rejects creep up, the AI traces them to one divider head drifting low, so the team can fix the cause rather than keep binning loaves.
- Vans are tracked to each distribution centre, with proof of delivery captured, then the payment is matched to the invoice and the order is closed.
Where people stay in charge
The AI does the reading, checking, chasing and paperwork. People make the calls that matter:
- the operations manager approves spending above the AI's limit
- the customer agrees the new delivery date
- the production supervisor confirms the booking on the line
Every decision card shows the options the AI considered and why it chose one, so nothing happens in a black box.
How it's built
- AI and automation: n8n workflows with the Claude API to read emails and orders, and rules for limits and approvals.
- Integrations: EDI or email for orders, supplier email, the accounts package, the CRM and the production diary.
- Live dashboard: a web app reading stock, orders and line sensors, with a 3D view of the line and a delivery map.
- Delivery: vehicle tracking and proof of delivery from the drivers' app.
Watch the whole order play out in the live demo.
Customer, supplier and order details in this example are illustrative.
Tech stack
- n8n
- Claude API
- Three.js
- MapLibre
- Line sensors
- CRM and accounts integration
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.