my-appengineer Courses

Agents and approvals: who presses publish

Agents, approvals and automated workflowsLesson18 min11 / 20

So far you have used Claude in a conversation: you ask, it calls a tool or two, you check. An agent goes further: you give it a goal, and it decides on its own which steps to take, calls tools, reads the results and continues until the goal is reached or it gets stuck. That is powerful, and it changes the question from "is this answer right?" to "what is this thing allowed to do while I am not looking?".

This lesson gives you a simple model for that question: autonomy levels and approval gates.

What makes something an agent

Three ingredients:

  1. A goal rather than a single instruction: "prepare this week's fulfilment" instead of "list orders to fulfil".
  2. Tools it can call, in a loop.
  3. Freedom to choose the next step based on what it found.

On the platform you meet agents in several places:

  • Claude with connectors working through a multi-step task.
  • The builder agents on my-app.engineer that plan and build an app.
  • Ghost Browser's on-board agent, which drives your browser and must ask before every writing action.
  • Herald, which runs a social desk for a brand, with approval steps for posts and replies.
  • Master, an autonomous business agent that researches demand and works products toward a sale through your Ghost Browser. It is an advanced, optional tool; treat it with the same approval discipline as everything else.

Five autonomy levels

Use these levels to describe, for every workflow, how much freedom the agent gets.

LevelThe agent…You…Example
0. AdviseAnswers questions, no toolsDo everything"How should I word our return policy?"
1. ReadReads data through toolsAct on the reportMonday report, readiness check
2. DraftPrepares drafts in your systemsApprove each itemProduct drafts, reply drafts, post drafts
3. Act with gateActs, but the system holds anything live until you approveApprove batchesShop changes held for review; browser writes behind the act-gate
4. Act aloneActs without approval within fixed limitsReview samples afterwardsArchiving spam, tagging tickets, internal notes

Most workflows in a small business belong at level 1 or 2. Level 3 is where the platform is designed to operate for anything that touches your live shop. Level 4 is only for actions that are reversible, internal and low-risk.

Watch out

Never put a workflow at level 4 if it can spend money, contact a customer, publish something, change a price or delete data. The shop connector already refuses paid actions, refunds and campaign sends; do not rebuild them elsewhere to get around that.

How approval works on the platform

The shop connector has two approval paths, and you should recognise both:

Page and design changes

  1. Claude prepares the change.
  2. A review creates before and after screenshots on desktop and mobile, plus a review id.
  3. Claude shows you the screenshots and waits.
  4. Only after your explicit "publish" does it publish that exact review.

Everything else that touches the live shop (publishing a product, editing a live product, page, article or coupon, categories, shop settings)

  1. The change is held. The reply is a preview: before and after lines plus pictures of the shop as it is and as it will be.
  2. Without trusted publishing, you approve in your dashboard under Review & publish.
  3. With trusted publishing on for that connection, Claude asks once for the whole batch and publishes only after you explicitly say so. A bulk approval covers up to 50 exact, selected changes at once.

In Ghost Browser, the on-board agent's writing actions (comment, join, follow, like, message) go through the act step, which shows the exact text and waits. Reading is free.

Background

A review id or an action id proves that a preview exists. It is not your consent. Your consent is you, reading the preview and saying yes. Design your workflows so that this moment always happens, and so that you have time for it.

Designing the gates in your own workflows

For every workflow, write down three gates:

  1. Input gate: what the agent may read. Which connectors, which scopes, which profiles in the browser.
  2. Action gate: which actions it may take on its own, and which only as a draft or held change.
  3. Output gate: who sees what before it leaves the business, and how (dashboard review, a preview in chat, a draft in the mailbox).

Paws & Co's weekly fulfilment workflow:

GateRule
InputShop: orders and fulfilment read. No customer-detail scope beyond what fulfilment needs.
ActionMay prepare fulfilment and propose track-and-trace; may not confirm supplier orders on its own.
OutputTrack-and-trace proposals are reviewed by Sam before they reach a customer.

Writing a runbook for an agent

An agent needs more than a prompt; it needs a runbook: the brief plus what to do when things go wrong.

GOAL: Prepare this week's fulfilment for Paws & Co.
READ FIRST: context/paws-and-co.md, context/fulfilment-rules.md
STEPS:
1. list_orders_to_fulfil. 2. For each: get_fulfilment_readiness.
3. Group: ready / blocked (with reason).
MAY DO WITHOUT ASKING: read tools only.
MUST ASK BEFORE: start_fulfilment, record_supplier_checkout,
  propose_order_tracking.
IF STUCK: stop, report what you tried and the exact error.
NEVER: contact customers, change prices, confirm a supplier
  order without my explicit OK for that order.
REPORT: table of orders, status, next action, open questions.

The "if stuck" and "never" lines matter most. An agent that hits an error and improvises is more dangerous than one that stops and reports.

Ask Claude
Here is a workflow I want an agent to run in my business: [describe]. Write a runbook for it with: goal, what to read first, numbered steps with the tool for each step, what it may do without asking, what it must ask before doing, what to do when stuck, what it must never do, and the format of the final report. Then assign the workflow an autonomy level from 0 to 4 and explain why it should not be higher.

When to raise or lower the level

Raise a level only after evidence: for example four weeks in which fewer than 1 in 50 approved items needed a real correction. Lower it immediately after a serious mistake, a policy change, a new tool or a new person in the loop. Write the change and the reason in your workflow library.

Your task

Take your first workflow and give it an autonomy level, the three gates and a runbook using the format above. Ask yourself for every step: "If this goes wrong at 3 a.m., who notices, and how bad is it?" Adjust the level until the answer is acceptable.

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.