The problem
Grocery shops, fresh markets and meal kit sellers in Thailand take orders over LINE, and the slowest part is the back and forth: the customer knows what they want to eat but not what to buy, and the staff member types out the list, checks what is in stock and confirms the price. Each order ties up a person for many minutes before anything is sold.
Architecture
- Channel
- LINE official account
- Agent
- Gemini recipe assistant
- Maps to your product list
- Tools
- Product sheet with SKUs
- LINE Messaging API
- Human
- Staff confirms price and stock
- Staff suggests add ons
- Owner reviews lists weekly
Where the data stays: Orders and addresses stay in your order system; the assistant sees only the message and the product list.
Design flow
- Customer asks for a dish on LINE
- Assistant drafts a recipe for the request
- Ingredients mapped to your products and prices
- Unmatched items flagged with a substitutionOnly sometimes
- Staff confirms stock, price and paymentHuman checkpoint
- Owner checks a sample of lists each week
Setup
Total time: 6 h 30 min our estimate
- 2 h
Done when: Every product you sell has a row with SKU, name, pack size, price and stock status in one sheet.
- 30 min
Done when: A test message to your LINE OA reaches your webhook code.
- 2 h
Done when: A test message such as 'green curry for four' returns products from your sheet with quantities in your pack sizes and a total.
- 30 min
Done when: An ingredient you do not stock comes back as 'not in list' with a marked substitution, never an invented product or price.
- 1 h
Done when: Each list reaches a named staff member, who confirms stock, price and payment with the customer before anything is charged.
- 30 min
Done when: Once a week you check a sample of lists, fix wrong mappings and add the missing products to the sheet.
Ticks are saved on this browser.
Starter prompt
Written from how the use case works and its sources. Replace the parts in square brackets.
You are the ordering assistant of [your shop], a grocery seller on LINE. The customer wrote: [paste the message]. Our product list with pack size and price: [paste or attach]. Do this: 1) propose one recipe for [number] people that matches what they asked; 2) list every ingredient with the matching product from our list, the quantity in our pack sizes, and the line price; 3) if an ingredient has no match in our list, write 'not in list' and suggest the closest product we do have, marked as a substitution; 4) give the total. Write in Thai in a friendly shop tone, keep it short, and end with 'A staff member will confirm stock, price and payment with you.' Do not confirm the order yourself and do not invent products or prices.
Risks and data
Data
LINE messages carry the customer's LINE user ID, display name and often an address and dietary details. Send the model only the message and the product list, keep order details in your order system, say in the LINE OA privacy notice that an AI assistant drafts replies, and check the AI vendor's data processing terms under the PDPA.
How it goes wrong
A wrong product, a wrong quantity for your pack size, or an old price from a sheet nobody updated. The assistant never confirms an order or a price, so the staff member catches it before payment; the weekly sample shows which mappings keep going wrong.
How the agent works
It starts
A customer messages the shop's LINE official account with a dish, a cuisine or a preference (vegetarian, for four people, under a budget).
The agent works
Gemini drafts a recipe and then maps every ingredient to the shop's own product list, held in a sheet or a product catalog with SKUs, pack sizes and prices, and replies with a shopping list in LINE: the items, quantities and the total, with substitutions where a product is out of stock. The list goes to a staff member, the personal shopper, who checks it, adjusts quantities, adds complementary products the customer may want, and confirms the order and payment with the customer. The assistant never confirms an order or a price on its own, and anything it cannot map to a real product is flagged for the staff member rather than guessed.
The result
The owner reviews a sample of lists each week for wrong mappings and adds the missing products to the catalog.
Worked example
Central Retail, which operates Tops, the largest supermarket chain in Thailand, runs a fleet of personal shoppers who pick and buy groceries for online customers. Google Cloud's customer story says Chefbot launched on the Tops LINE official account on 9 October 2024: a Gemini powered assistant that generates shoppable recipes from customer preferences and maps the ingredients to over 50,000 Tops product SKUs, creating a shopping list for the personal shopper, who then has time to cross sell and upsell complementary products. The story says the personal shoppers save time per order but gives no figure for Chefbot itself; its 94% search time reduction and 10% conversion uplift belong to a separate visual search tool, so do not quote them for this flow. A shop with 500 products instead of 50,000 can start with a sheet.
The recipe and the mapping to your catalog are model work, so Claude or OpenAI models do the same with your own code; LINE's Messaging API stays the channel either way. Central Retail ran it on Gemini on Google Cloud.
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
Published: 2026-10-30