01Chapter 1 of 7
Free course8 min read

Map the work.

Before you touch Zapier, n8n, Make, or an AI agent, learn how to spot repeatable work, identify where AI fits, and turn a messy process into a buildable automation blueprint.


01.0

What you are actually building

An automation is a piece of work you have already done by hand, written down so a computer can do it the next time. Everything in this chapter is about finding the right piece of work, not the right tool.

The simple kind of automation looks like this
"When a form is submitted, add a row to a spreadsheet."
The kind we are building toward looks like this
"Every weekday at 9 AM, find the invoices that have been unpaid for more than a week, draft a follow-up email for each one in our voice, and put them in front of the account owner for approval."

The second one is not magic. It is the same loop someone does today, with AI doing the reading and drafting and a person still owning the send. The messy middle, interpreting what an email means, drafting a reply in the right tone, deciding what is risky, is where AI earns its keep. The plumbing on either side is plain old automation. The important implication: you do not need to replace the whole process, you only need to find the one step that currently requires a person to read something and decide something, and hand that step to AI. Everything else can stay exactly as it is.

A good automation has five parts
  1. Something starts it.
  2. It gathers the right information.
  3. It decides what needs to happen.
  4. It takes action in the right tool.
  5. It handles mistakes safely.

Those 5 parts repeat in every automation in this book. Read them top to bottom in the diagram and notice that only one of them, the third, is where AI lives. The other four are deterministic steps that need to be reliable, not clever. A common mistake is to ask AI to handle step 1 (deciding when something starts) or step 5 (recovering from errors). Both of those are rule problems, not judgment problems, and rule problems are better solved by code you can read and predict.

Workflow
Trigger
"Something happens"
01
Context
"What info do we need?"
02
AI Reasoning
"What does this mean?"
03
Action
"What should happen?"
04
Review
"Should a human approve?"
05

We will work through 1 example for the entire chapter: a small services business where someone spends most of Monday chasing unpaid invoices. The loop takes roughly 6 hours a week, the drafts are personalized but follow the same shape, and a missed follow-up delays cash by days. By the end you will have scored that loop, decided where AI fits, and written a blueprint an automation could be built from.

01.1

The automation trap

Most automation projects do not fail because the tools are bad. They fail because the team picks a tool before they have described the job. The conversation usually starts with one of these:

"We should use Zapier."
"We should build this in n8n."
"We need an AI agent."
"Can ChatGPT do this?"

Each of those may be the right answer eventually. None of them is the starting point. The reason is simple: a tool can only automate a process you have already described. If you cannot write down what happens, step by step, before the tool enters the picture, the tool will not know what to do either.

✱ Field note
The starting point is the work itself.

If you hired a new assistant and told them "please automate our invoice follow-ups," they would not know what to do on Monday morning. If you told them this instead, they would.

Tell them this
"Every weekday at 9 AM, pull the invoices that have been unpaid for more than 7 days, match each one to its account owner, draft a follow-up in our voice using the last thing we said to that customer, and put the drafts in front of the owner before anything goes out."

That paragraph is a blueprint. It is what a careful human could follow on day one, and it is what a tool needs before you go shopping for one. The text version of the same loop reads almost boringly, which is the point:

Plain-language blueprint
invoice-follow-up-loop.txtsh
1when: every weekday at 09:00
2 
3do:
4 1. fetch invoices with status "unpaid" and age >= 7 days
5 2. for each invoice:
6 - look up the account owner and prior follow-up history
7 - draft a reminder email in our voice, referencing the last contact
8 - leave the invoice flagged "follow-up drafted, awaiting review"
9 3. send the drafts to the account owner for approval
10 
11never:
12 - send a reminder without owner approval
13 - mention late fees before 14 days
14 - contact a customer marked "do not contact"
Trigger
Names exactly when the loop fires. A schedule, not an event, so the rest of the blueprint can assume a daily run.
Steps
The ordered work the assistant performs. Fetch, iterate, draft, hand off. No tool names yet, just the shape of the job.
Guardrails
The "never" block is the safety net. These are the rules a human would silently apply; writing them down makes them enforceable.

Hold that blueprint in your head, every later section in this chapter is about getting from the messy real-life version of this loop to exactly that paragraph. Notice what the blueprint does not say: it does not name a tool, it does not mention Zapier or n8n or an AI vendor. That is deliberate. The tool you pick should be shaped by the work, not the other way around.

Tool-firstWork-first
Starts with Zapier / n8n / MakeStarts with the repeated task
Builds before mappingMaps before building
Misses edge casesFinds edge cases early
Creates brittle workflowsCreates maintainable systems
"Can the tool do this?""What exactly needs to happen?"
01.2

The loop: the basic unit of automation

The blueprint above is built around a loop. A loop is any task that repeats, every day, every week, every month, or every time something specific happens. Loops are how you find automation opportunities, because the shape of the work stays mostly the same even when the details change.

A lead comes in, and someone researches the company.
A customer asks a question, and someone writes a similar reply.
A new invoice arrives, and someone copies details into a tracker.
A meeting ends, and someone sends notes, tasks, and follow-ups.
A support ticket arrives, and someone decides which team should handle it.

Each line above is a loop because the pattern is what repeats, not the specifics. The company changes, the customer changes, the invoice amount changes, but the shape of the work stays the same. That stable shape is what we can automate. If the work is different every single time with no repeating structure, it is not a loop, and it is probably not worth automating.

✱ Field note
Loops hide in plain sight. If you can finish the sentence "every time X happens, somebody does Y," you've found one.

Every loop has the same 6 parts. The diagram below names them in the order they tend to come up when you describe the work, the trigger that starts it, the input it consumes, the steps and the decision in the middle, the output it produces, and the person who owns the result. Keep this shape in mind for the rest of the chapter; every later diagram is a different angle on it.

Loop anatomy

For the invoice loop, the trigger is the 9 AM clock, the input is the list of overdue invoices, the decision is whether each one is ready for a reminder, the output is a draft email, and the owner is the person whose customer it is. Those are the 6 nodes in the diagram, made concrete. Once you can label all 6 for your own loop, you have enough to write the blueprint in section 01.6. You do not need to understand the tech yet; you need to understand the work.

01.3

Where AI actually fits

Not every part of an automation needs AI. The best ones combine two kinds of work side by side: predictable steps a rules engine can run forever without surprise, and judgment steps where a person used to have to read, decide, or write. Mixing them up is one of the most common early mistakes: using AI to move a row from one column to another wastes money and adds fragility; using a rules engine to decide whether an email sounds angry wastes the human's time when the answer is just slightly wrong.

Predictable work
Move this file.
Add this row.
Send this message.
Create this task.
Update this CRM field.
Judgment work
Read this email and figure out what the customer wants.
Summarize this call.
Decide which category this ticket belongs to.
Extract the important details from a messy PDF.
Draft a response in the right tone.
Compare this request against our policy.

Traditional automation handles the first list well. The second list is where AI helps. For the invoice loop, "fetch overdue invoices" and "log status" are predictable work. "Draft a reminder in our voice using the prior thread" is judgment work, that is the sentence AI is actually for.

A useful rule
Normal automation for the steps.
AI for the parts that require interpretation.
Humans for approvals, exceptions, and high-risk decisions.

Compare a pure plumbing flow with an AI-shaped one and the difference shows up immediately. The left column moves data around. The right column reads something, decides something, and writes something, then hands it to a person.

What changes when AI joins the loop
Traditional automation
Form submitted
Add row to Sheet
Send Slack message
AI automation
Overdue invoice
Read prior thread
AI drafts reminder
Owner reviews
Send + log
01.4

How to choose your first automation

Once you start seeing loops you will see them everywhere, and you should not automate all of them. The cost of a fragile workflow that nobody wants to maintain is higher than the manual process it replaced. A broken automation is not neutral — it generates incorrect outputs that look correct, it trains people to stop trusting the tool, and it creates a cleanup job that falls to whoever has the most context about what the workflow was supposed to do. That is usually you.

✱ Field note
A pile of fragile workflows that nobody wants to maintain is worse than the manual process you started with.

Pick the first one using 3 filters: frequency, time cost, and the cost of getting it wrong. Score each candidate loop 1 to 5 on each filter, multiply the three numbers together, and rank.

Three filters
  1. Does this happen often?
  2. Does it take meaningful time?
  3. Does it create errors, delays, or frustration?
Scoring criteria
Frequency
How often does this happen?
1 = monthly
3 = weekly
5 = daily or multiple times
Time Cost
How long does one cycle take?
1 = less than 2 minutes
3 = 10–20 minutes
5 = more than 30 minutes
Error Risk
How costly are mistakes?
1 = mistakes rarely matter
3 = mistakes create rework
5 = affects customers or money

Here is the invoice follow-up loop run through that scoring. The team checks for unpaid invoices twice a week, the process takes around 30 to 45 minutes each time, and when it slips, cash slips with it.

Worked example: invoice follow-up
Loop: Manually following up on unpaid invoices
4FrequencyRuns twice a week
5Time CostTakes 30–45 minutes
4Error RiskMissed follow-ups delay cash
Automation Score: 4 × 5 × 4
80Strong candidate

Score it next to the other candidates on the list and the right one to build first usually picks itself. A short scorecard for a small business might look like this:

Loop scorecard
LoopFreqTimeErrorScoreDecision
Invoice follow-ups45480Automate first
Lead enrichment54360Strong candidate
Weekly status summary33218Later
Quarterly report cleanup15315Not first

Invoice follow-ups score highest, so that is the loop we keep on the table. The lower rows are not bad ideas, they are just bad first ideas. Build the painful one first; the rest get easier once you have a pattern.

01.5

The AI fit check

A loop can be worth automating without being a good AI automation. Before you reach for a model, ask one question: does any step in this loop involve messy language, judgment, or interpretation? If the answer is no, you want plain rules, not AI. Adding a model to a mechanical process increases cost by 10 to 50 times per run and introduces a failure mode, the model occasionally gets it slightly wrong, that a rules engine would never have. Save the model for the work that actually needs one.

Good AI candidates
Reading emails
Summarizing calls
Classifying tickets
Extracting from documents
Drafting messages
Comparing against a policy
Turning notes into tasks
Poor AI candidates
Copying one field into another
Sending a fixed reminder
Moving files between folders
Updating with exact values
Running the same report every Friday

The steps on the right still belong in the automation, they just do not need a model. Plotting both axes together makes the trade-off easier to see: how often the loop runs, and how much judgment a single run takes.

AI fit matrix
Low judgment
High judgment
Low repeat
Do manually
Not worth automating
Use a template
Speed up the human path
High repeat
Automate with rules
Classic workflow tools
AI automation candidate
Build it here

The invoice loop lands squarely in the bottom-right cell. It runs constantly, and the draft-the-email step is judgment-shaped. That is the cell where AI is doing real work instead of decorating a rules engine.

01.6

Turn the loop into an automation blueprint

Now you take the loop you just scored and write it down formally. The point is not to describe the task perfectly, it is to describe it clearly enough that the 6 questions below all have answers before you open a tool. Most automations that fail in the first month fail because one of these 6 questions was left unanswered: the inputs were assumed rather than named, the edge cases were not listed, or nobody wrote down what success actually looked like.

What starts the automation
What information it needs
What the AI should decide or produce
What actions should happen afterward
Where a human should review
What could go wrong

The blueprint canvas is the worksheet. 9 boxes, one prompt each. You fill them in before you touch any software. Filling them in forces you to surface the decisions that would otherwise get made silently inside a tool configuration, often incorrectly, and discovered later in production.

Automation blueprint
1
Trigger
What starts it
2
Inputs
What data flows in
3
Steps
What happens in order
4
AI Task
Where AI interprets
5
Rules
What must always be true
6
Human Review
Who approves exceptions
7
Output
What gets produced
8
Edge Cases
What could go wrong
9
Success Metric
How you know it worked
Fill in each section to create your blueprint →

Filled in for the invoice follow-up loop, it looks like this. Notice how the AI Task row is one sentence, the rest of the blueprint is plumbing, rules, and review. That ratio is intentional, and it holds across almost every well-designed automation. The AI does one narrow thing well; the structure around it keeps that one thing from going wrong.

Blueprint, filled in
Invoice follow-up assistant
Trigger
What starts the automation?
Every weekday at 9 AM, check for unpaid invoices older than 7 days.
Inputs
What information does the automation need?
Invoice tracker, customer name, due date, amount, account owner, previous follow-up history.
Steps
What happens in order?
1. Find overdue invoices. 2. Group by customer. 3. Check prior follow-up. 4. Draft reminder. 5. Send for review. 6. Log status.
AI Task
Where does AI help?
Draft a personalized follow-up using invoice details and prior communication history.
Rules
What should always be true?
No direct send without approval. No late fee mentions before 14 days. Respect "do not contact" flags.
Human Review
Who approves or handles exceptions?
The account owner reviews messages before they go out.
Output
What should exist when done?
Draft email created, Slack notification sent, tracker updated.
Edge Cases
What makes this fail?
Missing email address, disputed invoice, partial payment, VIP customer, duplicate invoice.
Success Metric
How do we know this worked?
Reduce manual follow-up from 6 hrs/week to under 1 hr/week.

Once the canvas is filled in, the same content drops into config almost mechanically. Here is the blueprint rewritten as YAML, the version you would hand to whichever tool you eventually pick:

Same blueprint, expressed as config
invoice-follow-up.yamlyaml
1name: invoice-follow-up-assistant
2trigger:
3 schedule: "0 9 * * 1-5" # weekdays at 09:00
4 filter:
5 status: "unpaid"
6 age_days: ">= 7"
7 
8inputs:
9 - source: invoices
10 fields: [customer, due_date, amount, account_owner]
11 - source: follow_ups
12 fields: [last_contacted, response]
13 
14ai_task:
15 draft_email:
16 model: claude-sonnet-4-7
17 style: "polite, professional, brief"
18 forbid_phrases: ["late fee"] # respect 14-day rule
19 
20rules:
21 - never_send_without_approval: true
22 - respect_flag: "do_not_contact"
23 
24review:
25 approver: account_owner
26 channel: slack
27 
28success_metric: "manual follow-up < 1 hr/week"
Trigger + filter
Cron schedule plus a filter narrows the loop to overdue unpaid invoices. The trigger row in the canvas drops in here.
Inputs
Two data sources the assistant can read. Listing fields explicitly avoids the model guessing what context it has.
AI task
The one judgment step, drafting the email. Model, voice, and forbidden phrases keep the AI inside a narrow lane.
Rules
Hard constraints the system enforces around the AI. These mirror the "never" block from the plain-language blueprint.
Review
Where the human stays in the loop. The account owner approves drafts in Slack before anything reaches a customer.
Success metric
The one number that tells you the automation is working. Without this row, "is it working?" stays a feeling.
01.7

Worked example: customer email triage

The invoice loop is a scheduled one, it fires on a clock. To show the same method on a different shape of loop, here is a second example that fires on every event: the same small services business also has a shared inbox that takes 40 to 60 customer emails a day, and someone is reading each one to figure out where it should go.

The team thinks the problem is
"We need a better inbox tool."

The actual problem is routing and classification, the kind of work AI handles well. The actual loop is:

Customer email arrives
Someone reads it
Decides what type of request it is
Checks customer history
Routes it to the right person
Drafts or sends a response
Logs the status

Run the same predictable-vs-judgment split we used in 01.3 and the 7 steps fall into 3 columns: plumbing the rules engine has done for years, interpretation the model is good at, and the cases that still need a person.

Plumbing, AI, and human review
Traditional automation
Watch inbox for new messages
Look up customer in CRM
Create a task
Send a Slack notification
Update ticket status
AI can
Summarize the email
Classify the request
Detect urgency
Draft a response
Explain routing decision
Human should review
Angry customers
Refund requests
Legal threats
High-value accounts
AI marks as uncertain

Wired together, the loop looks like this. The branch at the end is the same idea as the owner-approval step in the invoice loop, every AI automation needs a place where the risky cases peel off to a human.

Messy inbox → AI triage flow
New email
Find customer record
AI summarizes email
AI classifies request
Urgent or risky?
Yes
Human review
No
Create task + draft reply + update CRM

The AI step in the middle is one carefully written prompt. Here is the shape of it, notice the explicit instruction at the bottom that tells the model when to stop and escalate, which is what keeps the human-review branch honest:

The AI step, written down
triage-prompt.mdmd
1You are the support inbox triage for {{company}}.
2 
3For the incoming email:
4 
5 1. Summarize what the customer is asking for in one sentence.
6 2. Classify the request as one of:
7 billing · technical · feedback · sales · other
8 3. Decide urgency:
9 urgent → customer is blocked, angry, or refund-related
10 normal → everything else
11 4. Pull the customer's last 3 interactions from the CRM and note
12 anything that changes how we should respond.
13 5. Draft a reply in {{company.voice}}. Keep it under 120 words.
14 
15Return as JSON:
16 
17 {
18 "summary": "...",
19 "category": "...",
20 "urgency": "urgent" | "normal",
21 "context_notes": "...",
22 "draft_reply": "..."
23 }
24 
25If you are less than 80% confident in the category or urgency,
26flag it for human review instead.
Role
A one-line role that scopes the model to a specific job. Replacing {{company}} at render time keeps the prompt reusable.
Numbered tasks
Five small steps, ordered. Each one is a checkable subtask, easier to debug than a single "triage this email" instruction.
Output schema
Strict JSON shape so downstream code can parse the result without regex. Field names match what the rest of the workflow expects.
Escape hatch
The instruction that keeps the human-review branch honest. Without it, the model would force-fit every borderline email into a category.

Before moving on to the next chapter, which is about watching one of these loops long enough to see what your blueprint missed, you should have these on paper:

Chapter 1 exit checklist
A list of repeated loops from your week
A score for each loop
Your top 1–3 automation candidates
One completed automation blueprint
A list of edge cases that could break the workflow
Before you build
I know the loop
I know the trigger
I know the inputs
I know where AI helps
I know where humans review
I know the edge cases
KEY TAKEAWAYS
  1. A loop is a repeated sequence of work, that pattern is what we can automate.
  2. An automation starts with a loop, not a tool.
  3. Traditional automation is best for predictable actions.
  4. AI is best for messy interpretation, summarization, classification, extraction, and drafting.
  5. Humans should stay involved for approvals, exceptions, and risky decisions.
  6. Your first automation should be frequent, time-consuming, and painful enough to matter.

End · Chapter 1 of 7

Mark it complete and it’s ticked off on your route.

Rivet, the product security agent for software teams, free to start. Human-led pentests and design review when you need them. AI agents are our specialty.

or get a free Rivet scan

BASEDChicago, IL · remote

FIELD NOTES

ONE SHORT EMAIL A MONTH

© 2026 ROUTEWORK — ALL RIGHTS RESERVED

Claude and Mythos are trademarks of Anthropic. RouteWork is not affiliated with Anthropic.