Skip to content
中文

Douyin store operations hub

Industry: ecommerce · jewellery Scenario: operating data from many back offices, with a daily report Solution: Business operations hub

  • Six data sources in one database: Douyin store products, orders and after-sales, Feige customer service conversations, Qianchuan ads, Feishu inventory, and competitor video data from a third-party platform.
  • Zero differences, cell for cell: ten days of Qianchuan ad data matched the agency’s export cell for cell; 159 orders, with order count and sales amount both matching.
  • About one day for the store: from the first sign-in to the daily sync going live took about one day; Qianchuan, linking conversations to orders, and Feishu inventory took about half a day each.
  • People only sign in and decide: the daily sync and the report run on their own; when a sign-in expires, the system sends an approval task asking for the verification code.

Where the business was stuck

The brand sells on Douyin. Its store, ads, customer service and inventory sit in different back offices and spreadsheets. The ad agency exported ad data to Excel once a week, inventory was kept by hand in a Feishu base, and customer conversations could only be read one by one in Feige. To learn what was spent, what was sold, what was refunded and why, the owner waited for someone to combine several sheets, and each person combined them differently.

Platform capabilities used

CapabilityWhat it does here
Cloud browserOne saved sign-in context per back office; the store owner completes the first sign-in with a phone code or a QR scan
Automation: scripts, workflows, triggers, approvalsRead back-office data from the signed-in page and write it to the database; run on schedule; send an approval task for the code when a sign-in expires
VaultHolds the third-party data platform’s API key, released only to its own domain
DatabaseRaw tables (products, orders, after-sales, conversations, daily ads, inventory), summary tables (stock, conversation-to-order links), a run table
AgentsThe analyst writes the report at 08:30 every day and answers questions, read-only; the data steward checks the syncs at 07:30

How it fits together

SourceHow it connectsTablesFrequency
Douyin store: products, orders, after-salesCloud browser sign-in (phone code), data read from the signed-in pageProducts, orders, after-salesDaily 01:00
Feige conversationsThe same sign-in contextConversations, messagesDaily 01:00
Qianchuan adsSame account with single sign-on, synced after the store, never in parallelDaily ads (net sales, overall ROI)Daily 01:00
Conversations to ordersNo browser; a script derives it from existing dataConversation-order links (exact / inferred by buyer)Daily 01:00
Feishu inventoryQR sign-inProducts, sales, purchases → computed stockHourly 08:00–23:00
Competitor videos and commentsThird-party data API, key in the vaultCandidate accounts, videos, commentsOn demand

The store’s daily workflow: open the sign-in context → check the sign-in → if expired, send an approval task for the code → sync products, orders, after-sales, conversations and ads in turn (each step retried twice; a failed non-core step does not stop the run) → read back, check and write the run record.

How it went live

  1. Answer key first: the agency’s Qianchuan export was the baseline for every metric.
  2. Store and ads: after the store owner’s first sign-in, one day was run by hand and checked cell by cell against the export, then history was backfilled and the schedule turned on.
  3. Conversation links and Feishu inventory: about half a day each.
  4. Two agents: the analyst’s prompt states every table and the unit of every field (Qianchuan’s raw amounts are in 1/100000 yuan and are stored in yuan) and how the refund rate and ROI are defined.

What was learned

  • Copy the page’s metric definitions: use the names and formulas the back-office page itself uses, so the check against exports agrees.
  • No parallel runs on a single-sign-on account: the store and Qianchuan share one sign-in, so their syncs run one after the other.
  • Do not render heavy pages: the Feishu base page crashed the browser, so data is read from a light page on the same domain.
  • Hand gaps in the source data back to the business: purchase and sales item codes in Feishu did not match. That is a problem in the sheet, so operations was asked to fix it instead of the sync code guessing.
  • Update the deployment after changing a prompt: a scheduled deployment stays on the agent version it was created with; change the prompt without updating the deployment and the old prompt keeps running.

Do the same

Follow the business operations hub solution: inventory the back offices, keep one hand-made report as the answer key, and connect one back office at a time; the steps for each layer are in the Cookbook’s operations hub recipes.