The problem
In peak season most customer emails ask the same thing, where is my order, yet each one needs a person to open the order system, the carrier portal and the payment platform before replying. Smyths Toys saw waits of up to 48 hours and a January backlog of thousands of unanswered emails every year.
Architecture
- Channel
- Website chat
- Social media
- Agent
- Classifier
- Supervisor and sub agents
- Tools
- Order system
- Carrier tracking
- Payment platform
- Human
- Service team takes the rest
- Approves refunds at first
Where the data stays: Orders, tracking and payments stay in your own systems; the agent reads the one order in question.
Design flow
- Customer asks where the order is
- Message classified, plan made
- Order, carrier and payment checked
- Refund or missing data: to the teamHuman checkpoint
- Reply with status and delivery date
Setup
Total time: 12 h our estimate
- 30 min
Done when: You have written down where orders, carrier tracking and payments live, and how each is reached (API or export).
- 1 h
Done when: On fifty real past messages the classifier labels order status, refund request, product question or other, and you agree with the labels.
Starter prompt
Written from how the use case works and its sources. Replace the parts in square brackets.
The starter prompt opens with the members steps above.
Risks and data
Data
Order, tracking and payment records carry names, addresses and partial card data. Scope the agent's read access to the one order in question, log every refund and every reply it sends, and keep conversation logs under your retention policy.
How it goes wrong
A wrong delivery date, an answer from stale tracking, or a refund that should not have gone out. The agent hands over when data is missing or contradictory, refunds wait for approval until a full peak week of answers has been checked, and the refund log shows anything unusual.
How the agent works
It starts
Every incoming message, on the website, by email or on social media, first goes through a classification stage on Gemini.
The agent works
A supervisor agent then plans how to resolve the enquiry and hands tasks to specialised sub agents, which can call retrieval agents for company knowledge or make function calls against live systems. Through Gemini function calling, Codie pulls the order from SAP S/4HANA, the shipment status from Royal Mail, DPD or DHL and the payment from Stripe or Worldpay, and can issue a refund or report the shipment status on its own before writing the reply. Codie Web answers on the site before a question becomes an email, Codie Email resolves most of the remaining email volume and the permanent customer service team handles what is left. Business users, not developers, update prompts and agent behaviour in an SAP Fiori app called Bot Manager.
The result
Smyths routes simple steps to Gemini Flash and harder ones to Gemini Pro, with the AI workloads running on Kubernetes with Google's Agent Development Kit.
Worked example
Smyths Toys, Europe's largest specialty toy retailer with more than 300 shops, launched Codie in January 2025 to answer 'where is my order' questions. By the end of 2025 it handled about 60% of the customer service workload in peak periods with customer satisfaction above 90%: Codie Web intercepts about 60% of enquiries before they become emails and Codie Email resolves about 90% of the remaining emails. Smyths entered 2026 with zero email backlog while a market without Codie had about 5,000 open messages, processed 10,000 emails for about USD 1 over six months and saved more than USD 1.3 million in temporary staffing over 12 months. Adam Sexton, Head of AI at Smyths Toys: 'Our ambition was never simply to automate customer service.' The Google Cloud case study gives no publication date.
Smyths built Codie on Gemini function calling and Google's Agent Development Kit, with the Google Cloud ABAP SDK to reach SAP. The pattern, classify, plan, call the order, carrier and payment systems, then answer, works with any model that supports tool calls or with a low code agent builder; what you lose outside Google Cloud is the ready made SAP connection, so a small shop connects its own shop system and carrier accounts instead.
Join the Agent OS Club
Get hours back with a team of AI agents for every department, set up step by step for the tools you use, with a person answering your questions. Founding member price: USD 14.95 a month or USD 150 a year, locked for as long as you stay. Cancel any time.
Founding offer, ends 31 December 2026 or at member 100
Join the Agent OS ClubBuilding this for an organization? Learn more at theagentiv.com
Sources
- https://cloud.google.com/customers/smyths-toys-ge
- https://cloud.google.com/blog/topics/customers/ireland-innovation-companies-startups-governments-scale-with-gemini
Published: 2026-11-02