my-appengineer Courses

Automating operations: orders, products and reports

Agents, approvals and automated workflowsLesson20 min13 / 20

Operations is the work that keeps the business running when nobody is watching: orders going out, products staying correct, numbers being known. In this lesson you build three operational workflows with Claude and the platform: the Monday report, the product pipeline and fulfilment prep. Each is designed at autonomy level 1 or 2 from the lesson Agents and approvals.

Workflow 1: the Monday report (level 1, read only)

The Monday report answers one question: "What happened last week, and what needs my attention?" It is the safest automation there is, because it only reads.

What goes in

  • Shop analytics: visits and sales summaries from get_shop_analytics.
  • Orders: count, revenue, orders still to fulfil (list_orders, list_orders_to_fulfil).
  • Returns: count and reasons (list_returns).
  • Product readiness: drafts that cannot be published and why (get_product_readiness).
  • For apps you built: health, plus visits, sign-ups and activations from Pulse.
  • Money: if you use Till, its ledger summary, VAT position and runway.
  • Your own numbers: ad spend from your ad accounts (copied in, or read through Ghost Browser).

The calculation that matters

Revenue is not the number to watch; contribution margin is. Paws & Co's week:

Revenue incl. VAT: €2,964 → excl. 21% VAT: €2,964 ÷ 1.21 = €2,449.59
Product cost and shipping: €862.40
Payment costs and return reserve: €148.00
Ad spend: €610.00
Contribution margin: €2,449.59 − €862.40 − €148.00 − €610.00 = €829.19

Let Claude do the reading and structuring, but have the arithmetic done by a spreadsheet or by code in your workspace, and check one line yourself.

Ask Claude
Use my shop connector (read only) and my workspace. Build my Monday report for [shop] for last week (Monday to Sunday): orders and revenue incl. and excl. VAT at [rate]%, orders still to fulfil, returns with reasons, draft products blocked from publication and why, and the top 5 products by units. My ad spend last week was [amount]; my product and shipping costs are in [file]. Calculate contribution margin with a script in my workspace, not in your head, and show the formula. End with max three things that need my attention, each with the evidence. Do not change anything.
How it works in your country

The VAT rate in the example (21%) is the standard rate in the Netherlands. Rates differ per country and sometimes per product, for example 23% in Poland, 19% in Germany, 20% in France and the UK. Within the EU, cross-border sales to consumers above the EU-wide threshold use the customer's country rate via OSS. Check the rates that apply to you with your tax authority, and remember that in your shop, prices including VAT and tax categories are set in the dashboard.

Once the report is stable, you can run it on a schedule, for example with a scheduled task in Claude or a small script in your workspace, if your setup supports that (check what your Claude plan and workspace offer), and let it land in your mailbox or a file in your workspace. A read-only report is a good candidate for running unattended, because the worst outcome is a wrong report, which you will notice.

Workflow 2: the product pipeline (level 2, drafts)

Adding products by hand is slow: research, facts, photos, copy, price, tax category. A pipeline turns it into a repeatable flow where AI does the legwork and you approve.

  1. Find and read (Ghost Browser): open the supplier's product page, use browser_extract_product to get the title, description, images and any price or SKU. The extract is read-only and returns warnings for missing facts. It is a starting point, not the truth.
  2. Verify: you check price, variants, shipping time and availability separately, and you write a short fact sheet. This step is human. No AI output replaces asking the supplier.
  3. Images: import_image puts a picture into your shop's media library, from a public URL or from a picture saved in the browser, so the shop holds its own copy.
  4. Draft: create_product_draft with your copy (from the fact sheet), a real retail price in your shop currency, a unique SKU, and the supplier URL as originalUrl.
  5. Readiness: get_product_readiness shows what still blocks publication, typically the tax category, which you set in the dashboard.
  6. Approve: you request publication and approve it. Nothing goes live before that.
Watch out

Never let AI copy claims from a supplier page into your shop unchecked. "Non-toxic", "CE certified" or "safe for puppies" are claims you must be able to prove. For cosmetics and other regulated products, the platform explicitly does not verify compliance from photos or text. See the course Legal and compliance for online business for product safety (GPSR, CE).

Worked example: Sam adds a collapsible travel bowl.

Supplier price €2.10, shipping to customer €2.40, retail €12.95 incl. 21% VAT
Price excl. VAT: €12.95 ÷ 1.21 = €10.70
Gross margin: €10.70 − €2.10 − €2.40 = €6.20 (58% of the price excl. VAT)

By hand, a product took Sam about 40 minutes. With the pipeline: 12 minutes of Claude work in the background and 15 minutes of Sam verifying and approving. The saving is real, but the 15 minutes do not go away, and they should not.

Workflow 3: fulfilment prep (level 2 to 3)

Fulfilment touches suppliers, money and customers, so every step that commits to something is gated.

StepToolGate
List what needs fulfillinglist_orders_to_fulfilNone (read)
Check readiness per orderget_fulfilment_readinessNone (read)
Start a fulfilmentstart_fulfilmentYour OK per batch
Record supplier options and checkoutrecord_supplier_options, record_supplier_checkoutRecords what was done; you check
Confirm the supplier orderconfirm_supplier_orderYour explicit OK per order
Track and trace to the customerpropose_order_trackingReviewed before it reaches the customer

Two facts to remember: the connector does not place paid supplier orders for you (it records what was done), and it never sets up auto-fulfilment. The detailed order flow is in the course Orders, fulfilment and customer service.

Supplier watch: a small automation with a big payoff

A weekly read-only check of your top ten products' supplier pages, comparing price and stock with your last known values, catches margin leaks early. If a supplier raises the price of a product that sells 80 times a month by €1.20, you lose €96 of margin per month until you notice. Ghost Browser reads the pages; Claude compares with your fact sheets and lists differences. You decide what to change.

Some supplier sites refuse servers. In that case Ghost Browser can run the session on your own linked phone or desktop; if none is connected, the check waits rather than finding a workaround. That is by design.

Document every workflow

For each workflow, keep one page in your workflow library: goal, runbook, autonomy level, gates, connectors and scopes, schedule, owner, stopping rule, last review date. This is what lets you hand it to a freelancer later, or find out why it broke.

Your task

Build the Monday report for your business and run it for the last two weeks. Check the contribution margin line by line against your own figures. If you add products regularly, run the product pipeline for one product and time each step.

This course is general information, not personal legal, tax or financial advice. Rules, amounts and dates change: check the official source for your country before you act.