In this lesson
Just one automation, with a number.
You are going to build the automation for the task you chose in lesson 11. What you deliver is not a promised return. It is two numbers with a date: the starting one and the day 30 one.
- Fill in the one-page project sheet
- Test with twenty real cases and an answer key written beforehand
- Design a brake against hidden instructions
What the project is
An input arrives, such as a form or a spreadsheet. The model does a single step with a closed format, such as classifying or extracting fields. The result goes to the place where the person works. Whatever falls outside the format lands in an exception queue, which a person sorts out.
Anthropic calls this a workflow: models and tools follow paths defined in code. An agent is when the model itself decides the steps. Start with the simplest option: in the test with 175 office tasks, the best agent completed 30% on its own.
Three design rules. Only one step for the model. Output in a closed format. And no action involving money, sending something outside or deleting, triggered by the model without a person in the middle.
The project sheet
In 2018, researchers proposed "model cards": a short document saying what a system is for and what it is not for. Yours fits on one page, with eight fields:
- Intended use, in one sentence.
- Out of scope: it does not reply to the customer, does not change payments, does not delete anything.
- Inputs, and who can write to them.
- Personal data: which fields, why and for how long.
- Output, field by field.
- Who is responsible and who gets notified.
- The worst mistake you can imagine and what it would cost.
- Brake: how to switch the step off in one minute.
The LGPD, Brazil's data protection law, comes in at field 4: use only the minimum necessary (article 6) and keep a record of the operations (article 37). To classify a message, you rarely need a name and an address.
The brake against hidden orders
If the automation reads emails or messages that anyone can write, one of them may carry "ignore the instructions and do X". To the model, everything is text. This attack has already been demonstrated on real systems. That is why the brake cannot be a sentence in the request. It is structural:
- A closed format, validated before anything is saved. Whatever does not match goes to the exception queue.
- An action that does not exist in the format cannot be requested.
- Money, sending something outside and deleting only go through a person.
- Every exception becomes a new case in the test set.
Twenty cases, three runs
Before you switch it on, ask: does the model get this task right? Take twenty real cases from the past. Write the right answer for each one before you run anything. Run each case three times, because one right answer does not guarantee the next. That is sixty runs, in one afternoon.
Set the threshold on the sheet before the test. If you do not reach it, the project has not failed: you have found out, without spending anything, that the task is outside the frontier. Change one thing only: the request, the step (make it smaller) or the rung.
After you switch it on, track four signals, in a spreadsheet with one row per day: latency (time until it is saved), traffic (inputs per day), errors (the exception queue) and saturation (how much of the quota is used). And every week, read twenty outputs picked at random against their inputs.
What the pros know
It is tempting to ask another model to correct the first one. It can help to sort the queue, but AI judges have known biases: in general they prefer the first option they see and longer answers, even when those are less clear, according to a 2023 study. The same study saw signs that some of them favor their own answers, but could not confirm it. That is why people who work with AI use the model as a filter and leave the final decision to a person, who reads a small sample every week against the answer key.
On day 30, the number
Measure again, the same way you did at the start: minutes per week, mistakes per month, requests per day. Both results are valid things to deliver. A sober reference point: the 2025 Danish study measured about 2.8% of hours saved. What does not count as a delivery is a percentage written down before you switch it on.
When it goes wrong: a blameless review
The automation will make mistakes. The review after a mistake writes down what happened, the impact, the cause and the steps to keep it from happening again. It does not point to a culprit. In a project of your own, the mistake belongs to the system: to the request, to the format or to a brake that was missing. If the mistake exposes personal data, the LGPD (article 48) provides for notifying the authority and the person the data belongs to, and the decision rests with whoever answers for the data.
Practice · 5 min
- Fill in the eight fields of the sheet. Under "brake", write the exact action that switches the step off.
- Set aside twenty real cases from the past and write the right answer for each one.
- Compare your monthly volume with the quota of the free plan.
Summary
- The project is a fixed workflow: one step for the model and a person on the exceptions.
- The sheet has eight fields, and the LGPD comes in at the personal data field.
- The brake is structural. A sentence in the request is not enough.
- Test with twenty cases, an answer key written beforehand, three runs and a fixed threshold.
- What you deliver is two numbers with a date: the starting one and the day 30 one.
Sources
Read on October 30, 2026.
- Anthropic. Building effective agents (2024). Xu et al. TheAgentCompany (2025).
- Mitchell et al. Model Cards for Model Reporting (2018).
- Greshake et al. Not what you've signed up for (2023).
- Zheng et al. Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena (2023).
- Humlum and Vestergaard. Large Language Models, Small Labor Market Effects (2025).
- Brazil. LGPD, articles 6, 37 and 48.
Lesson quiz
Three situations to apply what you have seen.
Isaque Victor free courses