The AgentivUse cases

Operations · About a week · Thailand

Shopee and Lazada in one morning sheet

An agent that pulls yesterday's Shopee and Lazada orders into one Google Sheet and flags what has not shipped

The problem

The owner opens two seller centres every morning, exports two spreadsheets and adds them up by hand to learn what sold, which SKUs are running low and which orders are still waiting to ship. On a busy day the check is skipped and a ready to ship order sits past the deadline.

Architecture

  1. Channel
    • 07:00 daily run
    • Shopee and Lazada APIs
  2. Agent
    • Read only order agent
    • Claude writes the summary
  3. Tools
    • Google Sheet with summary tab
    • Team LINE group
  4. Human
    • Owner ships and restocks

Where the data stays: Only order ID, SKU, quantity, amount and status go to your sheet; buyer details stay in the seller centres.

Design flow

  1. 07:00 pull the last 24 hours of orders
  2. One row per order line in Google Sheets
  3. List orders still Ready to Ship
  4. Flag SKUs whose 7 day sales exceed stockOnly sometimes
  5. Summary posted to the team's LINE group
  6. Owner ships and restocks in the seller centresHuman checkpoint

Setup

Total time: 7 h 25 min our estimate

  1. 3 h

    Shopee's route: developer authority, authentication, an app, testing, then seller authority. Lazada access tokens expire, so store the refresh token and renew it.

    Done when: You hold a Shopee partner ID and key, a Lazada app key and secret, and the shop has authorised both apps.

  2. 20 min

    Done when: One orders tab with marketplace, order ID, SKU, quantity, amount and status, a daily summary tab, and your stock count per SKU.

  3. 1 h 30 min

    The pyshopee client shows get_order_list with a create time window and get_order_by_status for READY_TO_SHIP.

    Done when: The last 24 hours of Shopee orders land one row per order line and the count matches the seller centre.

  4. 1 h 30 min

    The lazada-php SDK shows GetOrders with created_after and status filters, and GetOrderItems for the lines, in the th region.

    Done when: Lazada orders created after the same cut off appear in the same columns and match the Lazada seller centre.

  5. 45 min

    Done when: The team's LINE group or Slack gets one message listing orders still Ready to Ship and SKUs whose seven day sales exceed stock, with no buyer details.

  6. 20 min

    Done when: Seven mornings in a row the summary arrives and its totals match both seller centres.

Ticks are saved on this browser.

Download the kit (zip)

Risks and data

Data

Order data includes buyer names, phone numbers and addresses. Write only order ID, SKU, quantity, amount and status to the sheet, keep the API keys and tokens out of the sheet and the chat, and give the agent read access only.

How it goes wrong

An expired Lazada token or a changed API returns no orders, and a cut off in the wrong time zone drops or doubles a day. The summary then shows zero or totals that do not match the seller centres, so compare the counts for the first week, and treat a missing morning message as a failed run.

Data protection. This use case touches personal data, so check the rules where you operate (for example GDPR, PDPA). Order data includes buyer names, phone numbers and addresses. Write only order ID, SKU, quantity, amount and status to the sheet; leave buyer details in the seller centres.

How the agent works

  1. It starts

    At 07:00 the agent calls the Shopee Open Platform order list for the last 24 hours and the Lazada Open Platform orders created after the same cut off, using the shop's own API credentials.

  2. The agent works

    It normalises both into one row per order line (marketplace, order ID, SKU, quantity, amount, status) and appends them to a Google Sheet that has a daily summary tab. It then lists orders still in Ready to Ship on either platform and any SKU whose seven day sales exceed the stock count the owner keeps in the sheet, and posts that summary to the team's LINE group or Slack.

  3. The result

    The agent only reads from the marketplaces; stock and price changes stay with the owner in the seller centres.

Worked example

Both marketplaces have open source clients that show the calls: the pyshopee Python client exposes get_order_list with a create time window and get_order_by_status for READY_TO_SHIP, SHIPPED and COMPLETED, and the lazada-php SDK exposes GetOrders with created_after and status filters and supports the th and sg regions. A newer MCP server for Shopee sellers, sellabot-mcp, adds a read only mode and previews any high impact action for the seller's explicit approval. None of these publishes sales figures, so the numbers are yours to collect.

The sources cover the Shopee and Lazada APIs, not the model, so OpenAI or Gemini can write the messages as well as Claude.

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-16

Related use cases

Find the people your network misses

Prospective fellowship candidates found in public news and web sources, extracted, summarised, filtered by a quality threshold and sorted by the foundation's own assessment criteria by Claude into a reviewer app, so a team of 13 reviewed over 20,000 candidates in a year

OperationsEffort: A project
ClaudeAlso works with:OpenAIGemini

A foundation, an accelerator, an award or a recruiter finds candidates through whoever its network happens to recommend, and knows it is missing people who never cross that network. Widening the search by hand means someone reading thousands of articles, so it never happens.

Thai official letters right first time

Thai official letters and Word documents drafted, rendered and checked by an open source skill for Claude Code and claude.ai, with every fact the owner did not give marked for the signer to fill in and no emblem, number or signature added by the AI

OperationsEffort: An afternoonThailand
Claude CodeClaudeAlso works with:OpenAI Codex

A Thai SME writes to government offices, banks and large customers in the formal formats they expect: หนังสือภายนอก, บันทึกข้อความ, หนังสือรับรอง, รายงานการประชุม. Getting the margins, fonts, Thai digits and salutations right takes an admin hours, and Word still breaks Thai words in the middle at the end of a line, so a document that looks fine on screen prints badly.

Inventory dashboard, no developer needed

Inventory dashboard for more than a thousand miniatures built with ChatGPT by a two owner gift shop, fed by the inventory tools it already uses, so bestsellers stay in stock and the owners place every reorder

OperationsEffort: About a week
ChatGPTAlso works with:Claude

A gift shop that sells miniatures carries more than a thousand small products, and nobody can see at a glance which bestsellers are about to run out. A commissioned dashboard would have cost around USD 50,000 by one owner's estimate, and stock checks took hours.