Inventory AI & Logistics
In fast-paced supply chains, perishable inventory is a ticking clock. Our client was losing thousands of pounds monthly due to minor misalignments between supply deliveries and restaurant demand. We designed an AI-driven automation engine that ingests real-time point-of-sale data, predicts localized demand spikes, and automatically routes surplus inventory to secondary markets or higher-demand locations before it perishes.
Timeline
6 Months
Services
Tech Stack
The Logistics Bottleneck
In the restaurant industry, forecasting is traditionally done manually at the end of the week. By the time a manager realizes they have a surplus of perishables, the window to reroute that inventory has often closed.
The client's operations team was spending roughly 40 hours a week attempting to manually coordinate surplus transfers between 50+ locations, leading to immense human error and inevitable food waste.
Event-Driven Predictions
We moved the client from a batch-processing model to an event-driven architecture using Kafka. Every time an item was sold at any POS terminal, the central brain updated its localized demand curve.
We trained a lightweight XGBoost model that runs inference every 15 minutes, predicting end-of-day surplus with 92% accuracy based on historical sales, localized weather data, and active foot traffic patterns.
Automated Routing
Prediction is useless without action. Once a surplus was flagged, our Node.js orchestrator automatically fired off API requests to secondary markets (like Too Good To Go) or arranged internal logistics transfers, completely removing the human manager from the loop.
The result was a 35% reduction in physical waste and a massive reclamation of managerial hours.
Waste Reduction
Minimized food disposal by automating surplus inventory releases.
Manual Overhead
Reduced human coordination time for inventory transfers.
Revenue Boost
Turned potential waste into secondary market revenue streams.
“The automated scheduling system has completely transformed how we handle surplus. We no longer manually coordinate; the system just knows and acts. It's saved us thousands of pounds monthly.”
Automating the supply chain requires systems that can think in cycles and adapt to sudden physical disruptions.
Efficiency isn't just about speed; it's about algorithmic predictability.
API reliability is a major bottleneck in logistics that requires aggressive retry policies and resilient design.