AI Commerce & SaaS

From a messy supplier price list to a product page: AI listing and AI support in cross-border e-commerce

What we hand to AI and what we guard with code, from our own cross-border shopping platform — messy price lists become trilingual product pages, and an AI agent answers from facts.

·5 min read

In cross-border retail, the most labour-intensive work is usually not selling — it is listing products and answering questions. Those were the first two problems we tackled in our own cross-border shopping platform.

This isn’t a piece about how clever AI is. It is about a more practical question: which jobs you can safely hand to AI, and which ones must be guarded by code.

Where it starts: a messy price list

Every day, suppliers send prices through a chat app: one product per line, but names mix languages, units are written however, several variants are crammed into one line, some say “out of stock”, some have no price at all, and dates and greetings are mixed in.

Before, staff went line by line — searching the web, finding images, writing descriptions, working out prices. Ten-plus minutes per product.

AI listing: what a human assistant would do, in steps

  1. Split — the pasted text becomes individual products; variants on one line become variants of one product, and date lines and greetings are dropped. The result is shown immediately as a table, original text above parsed fields, editable on the spot.
  2. Research — official brand material is the source of truth. Every factual claim must have a source; AI only organises and rewrites, it never invents.
  3. Attributes and copy — specs, category and selling points are extracted from that material and written up as a product description, in Simplified Chinese, Traditional Chinese and English in one pass.
  4. Images — checked for whether they actually show this product, for watermarks and for a clean background.
  5. Pricing — cost, exchange rate, shipping and target margin are all calculated in code. The model never sets a price.
  6. Compliance — copy is scanned by code before publishing (more below).

There is also photo listing: snap the packaging, OCR reads the name, size, expiry date and so on, and the same pipeline takes over.

People only handle exceptions

Not every product needs a human. Each item carries the AI’s confidence plus the compliance result:

  • Confident, compliant, complete → goes straight to “ready” and can be published in bulk with one click.
  • Low confidence, missing required fields, no real product photo, or flagged wording → goes to “review” for a quick human look.

Staff no longer check every item — only the few exceptions that are flagged.

Three places where code keeps the model in line

1. A controlled vocabulary for categories and attributes

Models love inventing words: the same idea phrased one way today and another tomorrow, until filtering stops working. No amount of prompting fixes this, so before anything is saved, code checks it against an allow-list and rejects anything outside it.

2. Compliance checks happen before publishing

AI-written copy easily crosses lines — absolute claims (“best”, “No. 1”, “100%”), efficacy claims, promises. Our approach:

  • Banned terms come in two levels: block (cannot be published) and warn (can be published but is flagged for review), each with a suggested replacement.
  • The check runs before publishing, not after generation, so copy edited by hand or imported from elsewhere passes through the same gate.
  • Only terms with a suggested replacement are swapped automatically; sentences are never deleted on their own, because that can change the meaning.
  • Staff maintain the word list in the back office and can adjust words that misfire in certain contexts.

3. When unsure, flag — don’t block

The worst image problem is “the photo doesn’t match the product” (say, someone tapped the wrong row). But when the check isn’t sure, we let it through and flag it rather than rejecting. False rejections make people re-shoot perfectly good photos, and they quickly stop trusting the feature.

AI support: the model only turns facts into words

Support is riskier than copy: copy is reviewed before publishing, but a support reply goes straight to the customer — and may be screenshotted. So this part is deliberately conservative:

  1. Red-line topics are caught by code before any model is called — haggling, after-sales, asking about cost, medical questions, or asking for a specific staff member get a fixed response or become a message for staff.
  2. Facts are looked up by code, then handed to the model — the relevant products and prices, the customer’s own recent orders, store policies. The model only puts them into natural language. Cost and margin are never in that data, so the model couldn’t reveal them if it tried.
  3. Replies pass more gates before they go out:
    • Any price or number of days in the reply must appear verbatim in the supplied facts. A made-up price is a sale at the wrong price; a made-up “arrives in three days” is a broken promise.
    • Sentences that make promises on the store’s behalf (such as “I’ll hold it for you”) are removed.
    • Origin and sourcing claims and banned terms go through the same checks as product copy.
    • If any gate fails, the conversation becomes a message for staff.
  4. If it can’t answer, it leaves a message instead of guessing — staff reply from the back office and the customer sees it in their inbox. Meanwhile, if the customer asks something else, the AI still answers right away.

Many of these rules came from real testing: the model filling in a product name that wasn’t in the data, promising services the store doesn’t offer, or doing its own price arithmetic that the number check then treated as invented. Each time, the fix became a code check or a test — not just a better prompt.

What was delivered

One system delivered as a mini program, iOS, Android, Windows and H5/PWA, plus an operations back office: orders tracked from payment, purchasing and consolidation through cross-border shipping to delivery, with exceptions handled in one workspace and personal data stored encrypted. Products can be found by searching in Simplified Chinese, Traditional Chinese or English.

Three takeaways

  • AI handles organising and wording; code handles facts and promises. Prices, stock, delivery times and what the store can agree to should never be up to the model.
  • When unsure, flag instead of blocking, or people stop using it.
  • Turn every mistake into a check or a test, and the system gets steadier the more it is used.

For more features and screens, see AI Commerce & SaaS.