Business case and benefits
- Operations director
- A · Accountable
- Responsible Person
- C · Consulted
- Solutions architect
- C · Consulted
- Technical PM
- R · Responsible
- Engineers
- I · Informed
- QA & validation
- C · Consulted
- Security
- I · Informed
Excursions caught early, many prevented, and every one that happens arrives at the Responsible Person's desk as a complete evidence pack. The AI never decides whether stock can be used.
At a glance
An illustrative scenario. Linked to a real, anonymised case study below; the numbers here are still typical examples. The cloud services and UK rules were checked on 9 November 2026.
A large wholesaler moves fridge lines every day: insulin, vaccines, biologics and eye drops, packed into totes with cool packs and carried in refrigerated vans to community pharmacies, dispensing doctors and hospitals. Temperature data comes from everywhere. Cold rooms and fridges feed a monitoring system, van fridge units report through telematics, and tote data loggers are downloaded when they come back, sometimes days later.
When something goes wrong, such as a cold room alarm at 3am, a van unit that cycles badly on a hot afternoon or a tote logger that shows 9.4°C for forty minutes, someone in quality has to rebuild the story. Which stock was there, for how long, at what temperature, what the product's label allows, what the manufacturer's stability data says, whether that probe was in calibration, and which customers have already received affected batches. In a typical operation this takes a day or two per excursion, and the stock sits in quarantine meanwhile.
The Responsible Person named on the wholesale dealer's licence carries the decision, and MHRA inspectors look closely at how excursions are investigated and recorded. A slow, manual evidence trail means more stock written off on caution, longer quarantine for lines that may be short, and records that are harder to defend at inspection.
Agree these, and measure the baseline, before anything is built. Example targets are typical, not promises.
How long affected stock stays pickable after an alarm starts.
ExampleUnder 10 minutes, every time
From the excursion ending to the Responsible Person having everything needed to decide.
ExampleFrom 1–2 days to under 2 hours
Whether prediction and route changes are preventing excursions, not just reporting them.
ExampleDown by a third in the first year
Value of stock destroyed because evidence was missing or late, rather than because the product was affected.
ExampleMeasured against last year
How often the Responsible Person can't decide from the pack alone. Near zero means the pack is complete; high means it's not helping.
ExampleBelow 1 in 10, reviewed monthly
Observations from MHRA inspections and self-inspections about excursion handling and records.
ExampleNone open
Cross-sector rules are on the UK regulation map.
Medicines must stay within their labelled storage conditions in the warehouse and in transit, storage areas must be temperature mapped, and monitoring equipment must be calibrated. The design ties every reading to a mapped location and a calibrated probe, so the evidence for any excursion is already joined up.
The Responsible Person must be told about temperature deviations and decides what happens to affected stock. The AI prepares the evidence pack and a plain-English summary. It never recommends release. The disposition, and the reason for it, is recorded by the Responsible Person in the quality system.
MHRA inspectors have warned against using Mean Kinetic Temperature in wholesale without robust supporting data, and against routinely relying on stability data where shipment conditions weren't controlled. The pack shows the raw trace, time out of range and peak temperature first, and quotes the manufacturer's own excursion data where it exists.
Temperature records are GDP records, so the new platform is validated before use and records stay attributable, complete and unaltered, with full audit trails. The existing validated monitoring system stays the system of record. The AI reads a copy and never edits a reading.
Returned cold-chain stock can only go back to saleable stock with documented evidence that it stayed within its storage conditions throughout, including transport. Many wholesalers don't accept fridge returns for resale at all. The design treats any returned fridge line as quarantined until a person decides.
Van telematics and location data identify drivers. That means a DPIA, telling drivers what is collected and why, using location for cold chain and routing only, and keeping it no longer than needed. Temperature records themselves are kept for the GDP retention period, typically five years.
Showing AWSAzuresovereign / on-prem services. Switch with the toggle; every diagram and table on this page follows it.
01Channels
02Intake
03Intelligence
04Orchestration
05Systems of record
06People
| Layer | AWS | Azure | Sovereign / on-prem |
|---|---|---|---|
| Device connectionGateways and loggers buffer readings locally, so a network drop delays data but doesn't lose it. | AWS IoT Core | Azure IoT Hub | An MQTT broker (Eclipse Mosquitto or EMQX) at each depot |
| Streaming and detection rulesExcursion thresholds are plain rules owned by quality, not something a model learns. | Kinesis Data Streams, Lambda | Event Hubs, Azure Functions | Apache Kafka, with rules in Kafka Streams or Apache Flink |
| Time-series historyTimestream for LiveAnalytics is closed to new customers; new builds use the InfluxDB option. | Amazon Timestream for InfluxDB | Fabric Real-Time Intelligence (Eventhouse) or Azure Data Explorer | PostgreSQL with TimescaleDB, or InfluxDB |
| Excursion risk predictionTrained on your own logger history, weather and route data. | Amazon SageMaker AI | Azure Machine Learning | MLflow and Kubeflow on Kubernetes |
| Routes and timingsAzure Maps Route v1.0 retires on 31 March 2028; build on the current version. | Amazon Location Service (Routes) | Azure Maps (Route 2025-01-01) | Open-source routing on OpenStreetMap data (e.g. OSRM or Valhalla) |
| Reasoning and summariesEach offers a choice of models. | Amazon Bedrock | Microsoft Foundry | Open-weight models served with vLLM on your own GPUs, or IONOS AI Model Hub |
| SOPs, labels and stability data (retrieval)So the pack quotes your SOP and the manufacturer's data, not general knowledge. | Bedrock Knowledge Bases | Foundry IQ, built on Azure AI Search | OpenSearch, or PostgreSQL with pgvector |
| Agent runtimeThe original Bedrock Agents closed to new customers on 30 July 2026; new builds use AgentCore. | Amazon Bedrock AgentCore | Foundry Agent Service | An open-source agent framework (e.g. LangGraph) on Kubernetes |
| Workflow and events | Step Functions, EventBridge, SQS | Logic Apps or Durable Functions, Event Grid, Service Bus | Temporal or n8n; Apache Kafka or RabbitMQ |
| Link to WMS, TMS and quality systemReuse the integration layer you have. | API Gateway, plus your existing integration platform if you have one | API Management, plus your existing integration platform if you have one | Kong, or your existing API gateway |
| Platform | Managed AWS services, Amazon EKS where containers are needed | Managed Azure services, AKS where containers are needed | Kubernetes on-prem (e.g. OpenShift, Rancher), or IONOS Managed Kubernetes |
| Guardrails | Bedrock Guardrails | Foundry guardrails (Azure AI Content Safety) | Open-source guardrails (e.g. NeMo Guardrails, Llama Guard) |
| Identity, keys, data protection | IAM Identity Center, KMS, Macie | Entra ID, Key Vault, Purview | Keycloak or your existing Active Directory; OpenBao or HashiCorp Vault; an HSM |
| Monitoring and auditEvery alert, hold, pack and decision logged with time, person and reason. | CloudWatch, CloudTrail | Azure Monitor, Log Analytics | Prometheus, Grafana, OpenTelemetry |
| UK data residencyAWS IoT SiteWise isn't offered in London, which is one reason this design doesn't use it. | eu-west-2 (London) | UK South / UK West | Your own UK data centre, or a UK/EU provider (IONOS AI Model Hub runs in Germany) |
On a phone, the table shows the platform you pick. Sovereign / on-prem means open, portable components you can run in your own data centre or with a UK or European provider; IONOS is shown as one example, and others exist. What sovereign cloud means →
Many organisations keep core systems and sensitive data on their own servers. This is how the same design works across both.
Stays on-prem
The validated temperature monitoring system, the cold-room sensors and their alarm call-outs, and the WMS stay in each depot, as they are today. A small edge gateway at each depot collects sensor readings and returning tote logger downloads, and runs the precautionary hold rule locally.
Uses cloud AI
The excursion risk model, the evidence agent, route and pack-out suggestions and the long-term history run in the cloud, or on your own sovereign stack. Van telematics usually reach it directly over the mobile network rather than through a depot.
How they connect
Depot gateways publish readings over MQTT with TLS across a private link, such as AWS Direct Connect, Azure ExpressRoute or a site-to-site VPN. Where a depot needs local compute, the gateway and rules can run on AWS Outposts, on Azure Local managed through Azure Arc, or on a small Kubernetes cluster.
If the link drops
Nothing that protects stock depends on the link: the monitoring system keeps alarming and calling out, and the depot gateway still places holds in the WMS. Readings buffer at the gateway and in the loggers, then send on reconnect with their original timestamps, and the evidence pack shows any gap as a gap rather than filling it.
What each agent may do through its tools, what it may not, and where a person signs off. The limits are enforced by the platform, not the prompt.
Evidence agent
Where a person signs offThe Responsible Person decides every disposition and records the reason. Customer notifications and any recall decisions go through the existing quality process. The agent's permissions are enforced by the platform's identity and policy controls, so it can read the systems of record but has no write access to stock status.
Route and pack-out advisor
Where a person signs offA transport planner accepts or rejects every suggestion, and the reason is captured. Only routes, vans and pack-outs on quality's validated list can be offered.
The validated temperature monitoring system stays the GDP record. The new platform takes a copy of every reading through its export or API, so a fault in the AI layer can never change or lose a record an inspector will ask for.
The precautionary hold is a rule, not the agent. When a reading crosses quality's threshold, the workflow asks the WMS, through the API layer, to put the affected locations or totes on hold. Holding stock is always the safe direction, and only a person can lift it.
Loggers and vans lose signal. Gateways buffer readings and send them on reconnect, every reading carries the device's own timestamp and a sequence number, and gaps are shown as gaps in the pack, never filled in.
If the cloud platform is down, alarms still work. The existing monitoring system keeps its own alarms and call-out, and the duty team works exactly as it does today.
Map today's excursion process, measure the baseline, list every sensor and logger, and check how their data can be reached.
Gate · must be true to passBaseline agreed, data access confirmed, validation approach agreed with quality, DPIA started.
One depot and its vans, in shadow mode: evidence packs are built alongside the manual process, and the Responsible Person compares them.
Gate · must be true to passPacks complete and correct on real excursions, no reading altered or lost, and quality sign-off.
Holds and evidence packs go live at the first depot, with the validation file, monitoring, support and a rollback plan.
Gate · must be true to passValidation complete, SOPs updated, duty team trained, Responsible Person approval.
Add depots one at a time, then turn on route and pack-out suggestions once a season of data is in.
Gate · must be true to passEach depot passes the same gate, and route advice runs in shadow mode for a month first.
| Activity | Operations director | Responsible Person | Solutions architectI can fill this | Technical PMI can fill this | EngineersI can fill this | QA & validation | SecurityI can fill this |
|---|---|---|---|---|---|---|---|
| Business case and benefits | Accountable | Consulted | Consulted | Responsible | Informed | Consulted | Informed |
| Target architecture | Informed | Consulted | Accountable and Responsible | Consulted | Consulted | Consulted | Consulted |
| Excursion SOP and hold rules | Consulted | Accountable | Consulted | Informed | Informed | Responsible | Informed |
| Validation and data integrity | Informed | Consulted | Consulted | Consulted | Responsible | Accountable | Consulted |
| Build and integration | Informed | Informed | Accountable | Responsible | Responsible | Consulted | Consulted |
| Shadow-mode comparison | Informed | Accountable | Responsible | Consulted | Responsible | Consulted | Informed |
| Go-live decision | Accountable | Responsible | Consulted | Responsible | Informed | Responsible | Consulted |
| Run, monitor and improve | Accountable | Consulted | Consulted | Informed | Responsible | Consulted | Consulted |
R ResponsibleA AccountableC ConsultedI Informed· not involved
Option A
If there's no architect on the programme, I'd own the design end to end: the sensor and event architecture, the link to your monitoring system, WMS and quality system, and the validation approach agreed with your QA team. I'd report to your programme board and keep the Responsible Person close to every gate.
Option B
If your partner or your own team already has an architect, I'd take on the parts that tend to be hardest: getting reliable data out of loggers, vans and the monitoring system, the evidence agent, and the integration with the WMS. I'd work under their lead and give them a second senior opinion on the rest.
Goes wrong
The new platform quietly becomes the temperature record, and nobody validated it.
How the design avoids it
The existing validated system stays the record. The new platform reads a copy, and anything it adds is validated before use.
Goes wrong
Readings can't be matched to stock, because sensor IDs, locations and the WMS don't line up.
How the design avoids it
Map every sensor to a location and every location to the WMS in discovery. It's dull work, and it's most of the value.
Goes wrong
The pack reads like a recommendation, and the Responsible Person starts to lean on it.
How the design avoids it
The pack states facts and sources only, with no verdict, and a monthly review checks the decisions were made independently.
Goes wrong
Too many alerts, so the duty team starts ignoring them.
How the design avoids it
Thresholds and delays set with quality from the mapping data, alert volumes tracked weekly, and every dismissed alert given a reason.
Goes wrong
Route advice suggests a pack-out that was never validated, and a planner uses it.
How the design avoids it
The advisor can only choose from quality's validated list, and that's enforced in the data, not the prompt.
Changes already announced or under way that affect this design. More in the UK horizon scan.
The national analogue phone (PSTN) switch-off has no further extension. Cold-room alarm diallers and some older monitoring kit still call out over analogue lines. List every alarm path that depends on one, move it to IP or mobile, and test the backup.
Under the existing GB F-gas rules, HFC supply falls from 31% to 24% of the baseline. DEFRA's tighter reform is paused but still planned. Use the sensor data to see which cold rooms and van units are struggling, and replace those first.
Zero-emission van targets rise each year, to 70% of new van sales in 2030 under current rules; the government consulted on the 2030 figure in autumn 2026. Electric vans power fridge units differently and change route range. Log temperatures on any electric vans you trial now, so routes and pack-outs can be validated before the fleet changes.
EE plans to start in 2029, Vodafone during 2030, and all networks by 2033. Many tote loggers and van telematics units use 2G modules. Ask suppliers which units are 2G-only and plan replacements into the normal hardware cycle.
AWS IoT Events ended in May 2026, Timestream for LiveAnalytics and SiteWise Monitor are closed to new customers, and Azure IoT Central retires in September 2029. Keep thresholds, hold rules and excursion logic in your own code and data, so changing a service doesn't mean re-validating everything.
Good answers are specific. Vague answers to any of these are worth following up.
Whether you need someone to lead the design or to support the architect you already have, let's talk it through.