DEV Community

Pang Jun Han
Pang Jun Han

Posted on Originally published at pangjunhan.vercel.app on

Why my AI is read-only: designing automation that staff trust

Whenever I show an office manager what AI can do with their paperwork, the first question is the same: "What if it gets it wrong?"

It's the right question. A tool that's right 95% of the time but quietly wrong the other 5% is worse than no tool, because nobody knows which 5% to check. So every system I build follows the same six rules. They come from two real setups: the AI back office at the piling and foundation contractor where I work, and a procurement system for an electrical and ELV contractor in Penang.

1. Read, don't write

The AI reads the accounting system. It never posts to it.

  • Accounting access is read-only. The AI never signs in to it or types a password.
  • Where an assistant does key in a purchase order, it stops before the end: it never clicks Approve on its own.
  • Nothing gets deleted, and files are never overwritten. Every output is a new, versioned copy.

If the AI can't change the books, the worst it can do is produce a wrong report, and a person will catch that before anyone acts on it.

2. A person approves every record

The AI does the reading and matching. A person makes the decision.

  • Every delivery order the AI reads is approved by a person before it counts.
  • When the delivery order is approved, the system checks the PO balance again, so two part deliveries can never add up to more than was ordered.
  • In the warehouse app, the AI reads delivery notes into an inbox, and a person checks each one against the paper before saving it. The AI never changes stock directly.
  • In the bore log check app I'm testing now, the AI advises a pile length but engineers decide. No concrete goes in until every flag is cleared, the length is confirmed and the site engineer signs.

3. Flag it, never guess

If a field is unclear, the AI says so. It doesn't fill in its best guess.

This matters more than it sounds. In one batch of 76 delivery order scans, the AI held back 8. Seven of them had already been keyed by staff months earlier, with a digit added or swapped in the DO number. A system that guessed would have keyed them again and created seven duplicates. A system that flags gave purchasing a short list to check.

4. Stop when the numbers don't add up

Every scheduled job checks its own counts. If anything doesn't match, it stops and reports the problem instead of carrying on.

Every Monday, a health check reports OK or PROBLEM for each scheduled task, so a job that has quietly stopped running gets noticed within a week.

5. Measure it on your own documents

"The AI is accurate" means nothing until it's measured. On a hand-checked test set of 50 delivery order pages, the AI read the DO number correctly 98% of the time, and dates, PO numbers, items and units 100%. Every change to the system has to pass the same test again.

Cost gets the same treatment. Every paid AI read gets a free check first and a fixed budget, so there are no surprise bills.

6. Keep sensitive data out

  • RM amounts and personal data are masked in apps and emails.
  • Worker data is reported as counts only, never with personal details.
  • Everything is logged: every report has an owner and a record of whether it was sent.

What the rules buy you

Staff don't trust a black box, and they shouldn't. These rules turn the AI into something they can check: it shows its work, it asks when it's unsure, and it can't change anything without them.

That's also when it starts catching real problems. In the Penang system, 34 of 40 delivery orders staff uploaded turned out to be already recorded or duplicates. Every one was stopped before anyone approved it.

Where to start

  1. Pick one document type, usually delivery orders.
  2. Write down the rules first: what the AI may read, what it may never touch, and who approves.
  3. Run it alongside your current process for two weeks, and measure it on your own documents before switching over.

If you want to see this on your own paperwork, the free DO check is a good start. Send me 10 recent DOs with their POs, and within 2 working days I'll show you, free, which ones don't match.

Originally published at pangjunhan.vercel.app.

Top comments (4)

Collapse
 
userxnom profile image
Abdullah Naseer •

Rule 3 is the one I'd steal — "flag it, never guess" is easy to say and hard to ship, because most systems would rather fill in a best guess than admit they don't know. The numbers make the case: in one batch of 76 delivery order scans the AI held back 8, and 7 of them were genuinely wrong. One question on the cost of that caution: who triages the held-back ones, and did the flag queue itself become a bottleneck early on, when 34 of 40 delivery orders in Penang still needed a human correction?

Collapse
 
useaifix profile image
AIFix •

The Monday health check reporting OK or PROBLEM for every scheduled task is a simple idea I like, since silent failures are the ones that hurt. A practical tip: have the check also report the last successful run time per job, so a task that is green but hasn't actually run in days stands out. Do you review the 50-page test set again whenever the delivery order layouts change?

Collapse
 
chong_newbee_c74302531d2e profile image
WorkflowStash •

Rule 4 is the one most small setups skip, and it's the cheapest to build. In n8n I'd implement the Monday health check as its own workflow, separate from the jobs it watches: a Schedule Trigger on Monday morning, then one read-only query per job — delivery orders read vs. approved, reports generated — compared against the previous week's counts. Anything outside the range you set (including zero, which is the silent-failure case) sends one message with 'PROBLEM' in the subject. The check workflow should never share credentials or state with the workflows it checks, so a broken job can't also break its own alarm.

For the approval gate in rule 2, n8n's Wait node with 'on form submission' works well for this: the AI prepares the record, the workflow pauses, and a person gets a simple approve/reject form. The record only counts once the form comes back approved — no approval, no write — and the wait times out after a day so nothing hangs forever.

The 8-of-76 holdback number is a good argument for the flag queue having its own owner and its own daily check, too — a held item nobody reviews is just a slower wrong answer.

Collapse
 
robertpaschal profile image
Odinaka Robert Nnamani •

8 held back out of 76 is the number that matters. A flag nobody checks is just a quieter guess.