Module 7 · Connect and automate
When not to automate
In short
Automation suits tasks that are frequent, cheap when wrong and reversible. For the rest: AI prepares, a person decides. Put checkpoints before effects that cannot be pulled back, and check the end result. A success report proves nothing yet.
After this lesson you can
- Judge a task by how often it runs, the cost of an error, and whether it can be undone
- Place human checkpoints in an automated flow
- Recognise the signs of automation that fails silently
Terms in this lesson
Understand
Automation means a step runs by itself without you pressing a button each time: each incoming e-mail is categorised, each form is summarised, a report is made every morning. With AI the temptation is strong, because almost everything feels automatable. Before starting, judge the task with three questions:
- How often? A task that happens dozens of times a day saves a lot of time when automated. A task that happens twice a year is rarely worth building and maintaining automation for.
- How costly if wrong? Mislabelling an e-mail folder is cheap. Sending the wrong warning letter, wrongly rejecting a claim or paying a vendor wrongly is expensive, and often involves people.
- Can it be undone? A wrong label can be changed. An e-mail already sent, money already paid and data already deleted cannot be pulled back.
Tasks that are frequent, cheap when wrong and reversible are good candidates for automation. As soon as one answer is bad, change the pattern to AI prepares, a person decides: AI makes a draft, category or proposal; a person checks and presses the button. For decisions with significant effects on people, their legal rights also come into play; that is covered in the lesson on automated decisions and people's rights.
One more sign: if the rules are full of exceptions ("usually like this, except for long-standing clients, except in December, except when there is a letter from the board"), automation will often be wrong where it is least visible. Start with only the part whose rules are clear.
If a flow is automated anyway, place people at a few right points. A checkpoint at every step wears people out until they approve without reading. The most important checkpoint is right before an effect that cannot be pulled back: before an outside e-mail is sent, before a payment is approved, before data is deleted, before a decision about a person is recorded. Other useful points are an exceptions queue, where cases that do not fit the rules or that make the AI unsure go to a person, and sample checks, such as reading ten random results every week.
Loud failure gets noticed quickly, because there is an error message or someone complains. The dangerous kind is silent failure: the automation keeps running, but its results do not arrive. Its signs:
- Reports always say "success", but nobody checks the end result.
- The number processed suddenly drops to zero, or does not change for days.
- There are no complaints, because the people who should receive the result receive nothing.
- The output is exactly the same every day, though the data changes.
Check the end state: did the e-mail arrive in the recipient's inbox, did the figure in the target system change. The process report may well say success. Record every automated step in an audit log so you can trace what happened, and set an alert for days when nothing is processed.
All of this matters even more when what is automated is an AI agent, an AI that may use tools and decide its next step by itself. An agent can run dozens of steps in a few minutes, so one misunderstanding early on can multiply before anyone notices. The human-in-the-loop principle here means three concrete things: the agent stops and asks for approval before actions that cannot be undone, every step is logged so it can be traced, and the person approving reads what is about to happen before pressing approve. Approval given without reading is the same as having no checkpoint.
Before
The prompt
Build an automated flow: every incoming customer complaint e-mail is read by AI, the AI replies with a solution, then the ticket is closed.
What came back
Flow built. Sample automatic reply: "We apologise for the inconvenience. We will refund you in full within 3 working days." Ticket closed.
After
The prompt
I want to design a customer complaint flow that uses AI, with people still deciding. Goal: the service team replies faster without promising what must not be promised. The flow I want: AI reads complaint e-mails, assigns a category and writes a reply draft based on the service guide I paste. Drafts go into a queue; an officer reads, edits if needed, then sends. Limits: drafts must not promise refunds, compensation or dates. Complaints mentioning refunds, legal matters or health go to a special queue with no draft. Check: every day there is a report of e-mails in, drafts made and replies sent by officers. Write the flow step by step and mark each human checkpoint.
What came back
1. E-mail arrives, AI assigns a category (delivery, product, billing, other). 2. If it mentions a refund, legal matters or health: special queue, no draft. [CHECKPOINT: senior officer] 3. Otherwise: AI writes a draft from the service guide, with no promise of money or dates. 4. Draft goes to the queue. [CHECKPOINT: an officer reads, edits, sends] 5. The officer closes the ticket after the customer replies or after seven days without reply. 6. Daily report: in, drafts, sent. Alert if drafts exist but zero are sent.
What changed
- The first version promised a full refund on the company's behalf, sent unread, and cannot be taken back.
- The better flow automates the parts that are cheap when wrong (category, draft) and puts a person before the effect that cannot be undone (sending).
- The daily report and the "zero sent" alert catch silent failure.
Common mistake
- Mistake
- Assuming automation works because its status always says "success".
- Why it hurts
- A status only means the process finished without a detected error, not that the result is right or arrived. Steps can be skipped, data can be empty and messages can go unsent while the status stays green, as in this lesson's case, for weeks before anyone noticed.
- Do this instead
- Add one end-state check at the end of every automation: count what was really sent or changed, compare it with what came in, and read a few random results every week.
Try
Sorting card
For each task, which pattern fits best?
Making meeting-minute summaries for review
Sending a reprimand letter to an employee
Entering a diagnosis into a patient's medical record
Reminding the team of task deadlines every Monday
Approving vendor invoice payments
Labelling incoming e-mails by category
6 cards left
This is an automated monthly invoicing flow. Read each step and think about where the checkpoints go.
Step 1 of 5
AI drafts invoices from usage data
Cheap when wrong while unsent. No checkpoint yet.
Take home
Before automating a step
- This task is frequent, cheap when wrong, and reversible
- Its rules are clear, without many exceptions
- There is a human checkpoint before every effect that cannot be pulled back
- There is an exceptions queue for cases that do not fit
- The end state is checked and logged; a "success" status alone is not enough
What went wrong for us
A green pipeline that replaced nothing
- Context
- Our deploy pipeline backs up the database, then swaps the app containers for the new version.
- What happened
- The backup step read its input wrongly and swallowed the rest of the script. The container swap never ran, yet the pipeline still reported success.
- Impact
- Several releases we thought were live had never been installed.
- Root cause
- The script did not stop when a step failed, and nothing checked which version was really running after the deploy.
- What we did
- The backup step was fixed so it no longer reads the script's input, and the pending releases were reinstalled. One app was left for its owner to redeploy.
- The guard we keep now
- Every step checks its exit code, and the pipeline ends by checking the version of the image that is running.
The lessonGreen means the script finished; check for yourself that the change is live.
What it means for your workA "success" report from automation does not mean the result arrived. Check the end result yourself, such as whether the e-mail was really received.
