AI & automation consulting · logistics · Copilot Studio · Power Automate · TMS API

"Where is my delivery?"
Answered in minutes, never to the wrong person.

A fictional Belgian pallet distributor gets 640 customer emails a day, and half of them ask something the transport system already knows. This case takes it from a mailbox analysis to a tested design. A Copilot Studio agent reads each email, a Power Automate flow checks the TMS and 18 policy rules, and the business case says honestly where the money comes from.

Independent portfolio case study based on a fictional organisation (Corlaan Logistics). It contains no confidential information from any real employer. All figures are illustrative assumptions — not real company data.

The problem

38% + 11%

of the mailbox asks "where is it?" or "send the proof of delivery"

4,973 h

of agent time a year, mostly spent finding the shipment, not writing

2.9 h

median first response; 5.2 h for French-speaking customers

+1 FTE

requested for 2027. The sponsor's answer: "show me what can be automated first"

The design in one picture

The cloud flow orchestrates: a Copilot Studio agent without tools reads the email, a read-only connector looks up the TMS, policy rules decide between automatic reply, draft and routing, and every outcome is audited.
The model reads. The rules decide. Only the flow can send, only templates, only to the original sender.

Five decisions that shape it

DecisionInstead ofWhy
The model reads; rules decidean agent with send and TMS toolsOn the test set, the naive design harms in 23 of 48 emails
Agent without tools, called from a flowan autonomous agent with tools, or custom codeTestable reading, supportable by a 3-person IT team, ready for a phase 2 conversation
Templates, not generated textfriendly free textEvery sentence approved once, every fact from the TMS
Authorise every shipmenttrusting a plausible senderOne generic reply for "not found" and "not yours" — the mailbox cannot be probed
Shadow → draft-only → graduatedswitching it onThe team sees every proposed reply first; trust is measured, not assumed

Proof, not promises

48/48

emails in the evaluation set get the outcome a careful colleague would choose: 21 automatic, 12 drafts, 11 routed, 4 ignored

0 vs 23

harmful outcomes, guarded vs naive: data leaks, stale answers, wrong tone, reply loops, obeyed instructions

CI

every commit runs the evaluation set, reply scans, the API contract against a mock server, and checks that every number in the docs still matches the model

Replay the test set

The value, honestly

The solution frees 3,832 h a year (2.4 FTE). Nobody is let go, so only part of that is cash: no Q4 temps, and no extra hire in 2027. That gives a 3-year NPV of €144,672 and a payback of 13 months.

If the hire happens anyway, the NPV is €13,595. So the case rests on a management decision, not on the technology, and that decision is on the go/no-go list. Draft-only mode alone already covers the cash. Automatic replies are what make customers wait minutes instead of hours.

Change the assumptions Read the business case

What is real and what is simulated

  • Real, tested code: the policy rules, the reply templates in three languages, the business case model, the TMS API contract and its mock server. The demo runs the same modules as CI.
  • Simulated: the language-understanding step. A deterministic stand-in returns the same JSON as the specified Copilot Studio agent.
  • Design and build guide, not built in a tenant: the Copilot Studio agent and the Power Automate flow.
  • Fictional: the company, customers, emails, interviews and figures.