The AgentivUse cases

Customer service · A project · Thailand

Order status and store stock answered at once

A supermarket customer service chatbot that answers the common questions, tracks order status, checks whether a product is in stock at the nearest store, and hands the customer to a person through a callback when it cannot help

The problem

A grocery retailer with many branches gets the same questions all day: where is my order, does the branch near me have this product, how do I return something. Agents spend their time on lookups while customers with a real problem wait in the same queue.

Architecture

  1. Channel
    • Customer service chat
  2. Agent
    • Conversational Agents bot
    • Gemini
  3. Tools
    • BigQuery orders and stock
    • FAQ list
  4. Human
    • Staff call the customer back

Where the data stays: Orders and stock stay in your own BigQuery table; a callback keeps only name, number and topic.

Design flow

  1. Customer asks in plain language
  2. Bot answers the frequent questions
  3. Order status shown after the customer is verified
  4. Stock checked at nearby branches, with data age
  5. Outside its jobs or asks for a person: staff call backHuman checkpoint

Setup

Total time: 8 h 50 min our estimate

  1. 4 h

    Done when: One query by order number returns the status, and one query by product and branch returns the stock and when it was last updated.

  2. 1 h

    Done when: Ten questions customers ask most, each with the answer your team would give, in Thai and English.

  3. 2 h

    Done when: In a test chat the bot answers an FAQ, gives an order status only when the order number matches the phone or email on the order, and names the nearby branches that stock a product.

  4. 20 min

    Done when: A stock answer for a store branch says when the stock data was last updated, since store data can be a day behind.

  5. 1 h

    Done when: A test chat outside the three jobs, or one that asks for a person, ends with name, phone number and a one line summary in the place staff check, and the customer is told when to expect the call.

  6. 30 min

    Done when: Each week you see how many chats the bot closed, how many became callbacks, and which questions caused them.

Ticks are saved on this browser.

Download the kit (zip)

Starter prompt

Written from how the use case works and its sources. Replace the parts in square brackets.

You are the customer service assistant for [store name], a grocery retailer with branches in [area]. You can do three things: (1) answer frequent questions from this list: [paste your FAQ]; (2) tell a customer the status of an order when they give the order number and the phone number or email used on the order, using the order data I provide: [connect or paste]; (3) say whether a product is in stock at the branches near the customer's location, using the stock list I provide: [connect or paste], and say how old that stock data is. If the question is outside these three, or the customer is upset or asks for a person, do not improvise: collect their name, phone number and a one line summary and tell them a staff member will call back within [time]. Answer in the customer's language, Thai or English, briefly and politely.

Risks and data

Data

Order status reveals a customer's name, address and purchases. Show details only after the order number and the phone or email on the order match, log every lookup, and keep a callback to name, number and topic.

How it goes wrong

Store stock can be a day old, so the bot may send a customer to a branch that has sold out; it must say how old the data is. A bot that improvises outside its three jobs gives wrong answers, so those go to a callback, and the weekly count shows which questions keep failing.

Data protection. This use case touches personal data, so check the rules where you operate (for example GDPR, PDPA). Order status reveals a customer's name, address and purchases. Verify the customer (order number plus the phone or email on the order) before showing details, log the lookups, and keep the callback request to the minimum: name, number and topic.

How the agent works

  1. It starts

    The chatbot is built with Google's Conversational Agents on Gemini, on top of a single BigQuery source of truth where online sales data arrives in real time and store data is processed with a one day lag.

  2. The agent works

    A customer asks in plain language; the bot answers frequent questions, looks up the status of an order, and checks product availability at the stores near the customer. When the question is outside what it can answer, or the customer asks for a person, it offers an agent callback so a human takes over with the conversation in hand.

  3. The result

    Central Retail Food had to build the clean data layer first; the team is now working to cut the store data lag to 30 minutes so its agents can answer with fresher stock.

Worked example

Central Retail Food, the Central Retail subsidiary behind more than 784 TOPS, TOPS FOOD HALL, TOPS DAILY, TOPS ONLINE, TOPS CARE, Matsukiyo and GO WHOLESALE stores in Thailand, runs this. Google Cloud reports the chatbot now manages 50% to 60% of incoming customer queries, with shorter wait times and lower support costs; no absolute numbers are given. Ashish Arora, Head of Data Analytics and AI: 'We are not building technology for the sake of technology; we are building solutions that actively solve real user friction.'

The bot only works once order status and store stock sit in one place it can query; Central Retail Food built that on BigQuery first. Any model and automation tool can run the same three steps on LINE OA or your web chat, with the callback handoff built as a ticket or a message to staff.

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 Club

Building this for an organization? Learn more at theagentiv.com

Sources

Published: 2026-10-31

Related use cases

Members pick Video

A second agent checks every support answer

One support agent instead of one per topic: it works out the issue from hundreds of topics, loads the team's playbooks from a repository, drafts the answer, a peer review agent checks it is grounded in approved sources before the customer sees it, and anything that fails goes to an engineer with notes

Customer serviceEffort: A project
Copilot StudioDynamics 365 Customer ServiceAzure DevOps

A support team that builds one bot per topic ends up with a dozen narrow agents, each needing its own build and update, and a customer whose problem sits between two topics gets routed badly. The same team cannot afford a person to read every automated answer before it goes out, so either the bot answers unchecked or it answers almost nothing.

Ask which LINE chats are waiting

An MCP server that lets Claude work your LINE OA Manager inbox the way an admin does: which chats are waiting, what the customer wrote, what the payment slip shows, and a drafted reply that goes out only after the staff member says OK

Customer serviceEffort: An afternoonThailand
ClaudeClaude CodeLINE

LINE's Messaging API is built for bots: it cannot see the chats already in LINE OA Manager, their history, or search them, so most AI add ons replace the admin with an auto reply instead of helping the admin. Meanwhile the admin scrolls the chat list to find who is still waiting, opens chats one by one to see whether anyone else reported the same problem, and opens every payment slip by hand.

Members pick

Three chats at once, nothing dropped

An assistant inside a text support line that suggests vetted resources mid conversation and writes the handoff summary when a counselor's shift ends, with the counselor sending every message

Customer serviceEffort: A project
OpenAIAlso works with:ClaudeGemini

On a text line, a support desk or a member chat, each person needs the right resource for their situation and a clean handover when the shift changes. Staff lose minutes hunting for the link they know exists and writing notes for the next person, so they handle fewer conversations at once and new teammates take longer to get up to speed.