Lesson 7 · Module 4: Agentic Systems: Manager and Worker Agents
Project: an agent team that turns a sales inquiry into a sent proposal
Why this matters
Small businesses often lose good deals because a request sits unanswered while someone checks it, prices it, writes a proposal and sends it. This lesson shows how to split that work across a manager agent and several worker agents that share one case file, with a checker and a human approval before anything reaches the client. The result is a proposal that goes out the same day instead of after a weekend.
Key ideas
- Manager and workers. The manager reads the inquiry, decides what is needed and hands each piece to a worker with one tool and one task, such as pricing or writing.
- One shared case file. Every agent reads and writes the same record instead of retelling the story. Each agent fills only its own field, so details like quantity or a logo file are not lost in a handoff.
- Numbers come from a sheet, not a model. A language model can slip on arithmetic, so the pricing worker uses a price sheet to do the sums. Here is a small worked example:
| Line | Calculation | Result |
|---|---|---|
| Products | 18.50 × 120 | 2220 |
| Engraving | 2 × 120 | 240 |
| Shipping | flat fee | 45 |
| Bulk discount | 10% of 2220 + 240 | −246 |
| Total | 2220 + 240 + 45 − 246 | 2259 |
- A checker that compares, not judges. The checker compares the draft with the case file using plain rules: same quantity, same total, ship date before the deadline. Failures go back to the writer with the exact reason.
- Human approval and limits. Nothing is sent until the owner says yes. Large totals also trigger a stop and a reminder to phone the client, and a log row records every step.
Try it before you watch
If the checker finds that a draft's total is different from the case file's total, where should the draft go next?
Show answerHide answer
Back to the writer, with the note "total differs", so it can be corrected and checked again. The checker never fixes the draft itself and never sends it to the client. This shows that the case file is the single source of truth.
Words to know
- Manager agent: the AI agent that reads the request, plans the steps and gives each step to a worker.
- Worker agent: an AI agent with one job and one tool, such as looking up prices or writing a draft.
- Case file: the single shared record that every agent reads and updates during one job.
- Checker: a step that compares a draft with the facts using simple rules and approves it or sends it back.
- Human in the loop: a design where a person must approve an action before the automation carries it out.
- Lead qualification: deciding whether an inquiry is worth pursuing, based on size, timing and completeness.
What to watch for
- Watch how the case file gains new fields at each handoff, and notice that the logo note survives all the way to the proposal.
- Notice the first checker run failing on quantity, then passing after the writer fixes it. Pay attention to why the checker only compares, never rewrites.
- Watch where the approval and the big-order limit sit in the flow, and why they come before anything is emailed.
Learn it with your tutor on the live board
Key points from the video
Slow proposals lose deals
- Corporate gift orders are big wins for a small shop
- Each one needs checking, pricing, writing and sending
- Two inquiries waited a weekend: both clients went elsewhere
layout: full
parts:
nadia: {chip: Nadia, sub: "Candle shop"}
inq: {chat: "Can you quote a gift order?"}
steps:
- at: "Meet Nadia"
highlight: nadia
- at: "corporate gift orders"
note: "Companies ask for gift orders"
- at: "every inquiry means checking"
spokes: {of: nadia, items: [Check, Price, Write, Send]}
- at: "sat in her inbox"
send: inq
- at: "both clients had ordered somewhere else"
note: "Both clients went elsewhere"
- at: "Slow proposals lose deals"
highlight: nadia
- at: "build an agent team"
vortex: {into: nadia, words: [Inquiry, Check, Price, Write, Send]}
- at: "approving every one before it leaves"
note: "Nadia approves every one" What you will build today
- Map inquiry to proposal onto a manager and workers
- Pass one shared case file so no detail gets lost
- Add a checker and your approval before anything is sent
tree:
Your team:
Manager: [Plan, Route, Delegate]
Workers: [Research, Write, Enter data]
Shared file: [Case file]
Safety: [Checker, Your approval, Log]
direction: down
steps:
- at: "Here's the plan"
grow: Your team
- at: "a manager agent"
grow: Manager
- at: "a few worker agents"
grow: Workers
- at: "a single shared case file"
grow: Shared file
- at: "a checker that approves"
grow: Safety
- at: "a blueprint you can rebuild"
highlight: Your team The team blueprint
- One manager, two workers, one checker
- The price sheet is the only source of prices
- You have the final say
layout: wide
direction: LR
components:
client: {kind: user, label: Client}
inbox: {kind: email, label: Inbox}
manager: {kind: llm, label: Manager agent}
pricer: {kind: worker, label: Pricing worker}
prices: {kind: database, label: Price sheet}
writer: {kind: worker, label: Writer worker}
checker: {kind: worker, label: Checker (rules)}
owner: {kind: user, label: You approve}
zones:
- {label: Your automation, contains: [manager, pricer, prices, writer, checker]}
links: [client->inbox, inbox->manager, manager->pricer, pricer->prices, manager->writer, writer->checker, checker->owner]
steps:
- at: "lands in your inbox"
show: [client, inbox]
- at: "add the whole team"
show: all
- at: "The manager agent reads the message"
show: [manager]
- at: "A pricing worker looks up costs"
show: [pricer, prices]
- at: "A writer worker turns the facts"
show: [writer]
- at: "A checker compares that proposal"
show: [checker]
- at: "you sit at the end with the final say"
show: [owner]
- at: "follow one inquiry"
flow: ["client>inbox: inquiry", "inbox>manager", "manager>pricer: qty 120", "pricer>prices: lookup", "prices>pricer: prices", "pricer>manager: total", "manager>writer: case file", "writer>checker: draft", "checker>owner: approved"]
- at: "the checked draft reaches you"
highlight: [owner] The inquiry we will run
- Leo, Brightway Dental: 120 gift boxes
- Logo engraved on each lid, file attached
- Deadline December 10: lead qualified
layout: full
parts:
leo: {chip: Leo, sub: "Brightway Dental"}
order: {chat: "Quote for 120 gift boxes?"}
steps:
- at: "the real inquiry"
note: "A real inquiry"
- at: "The client is Leo"
highlight: leo
- at: "a clinic with three branches"
note: "Three branches"
- at: "He asks for"
send: order
- at: "one hundred twenty gift boxes"
count: {to: 120, label: boxes}
- at: "logo engraved on the lid"
note: "Logo engraved on each lid"
- at: "attached the logo file"
note: "Logo file attached"
- at: "His deadline is December tenth"
note: "Deadline: December 10"
- at: "holiday party"
note: "Handed out at the holiday party"
- at: "should the manager agent do first"
note: "What should happen first?"
- at: "checking it's worth pursuing"
note: "Worth pursuing?"
- at: "marks Leo as qualified"
highlight: leo
- at: "opens a case file"
note: "Case file opened" One case file, passed along
{
"client": "Leo, Brightway Dental",
"email": "[email protected]",
"qty": 120,
"item": "Gift box, engraved logo",
"deadline": "2026-12-10",
"status": "qualified",
"total": null,
"draft": null,
"notes": ["logo file attached"]
} Pricing worker: the sheet does the maths
- The worker's tool is the price sheet
- The sheet does the arithmetic, never the model
- The total goes back into the case file
layout: side
objects:
head: {text: "Pricing worker", pos: top}
sheet: {text: "Nadia's price sheet", pos: [0, 2.7]}
m: {text: "The model: words, not sums", pos: [0, 1.9]}
e1: {tex: '18.5 \times 120 = 2220', pos: [0, 1.0]}
e2: {tex: '2 \times 120 = 240', pos: [0, 0.1]}
e3: {text: "Shipping 45", pos: [0, -0.7]}
e4: {tex: '-10\% \times (2220 + 240) = -246', pos: [0, -1.6]}
e5: {tex: '2220 + 240 + 45 - 246 = 2259', pos: [0, -2.7]}
steps:
- at: "Now the pricing worker"
show: head
- at: "Its tool is Nadia's price sheet"
show: sheet
- at: "does the arithmetic"
highlight: sheet
- at: "can slip on sums"
show: m
- at: "multiplies unit price times quantity"
show: e1
- at: "We fill it down for engraving"
show: [e2, e3]
- at: "Orders over one hundred units"
show: e4
- at: "a ten percent bulk discount"
highlight: e4
- at: "the grand total is"
show: e5
- at: "straight back into the case file"
highlight: e5 Writer and checker: send it back
case = {"qty": 120, "total": 2259,
"deadline": "2026-12-10"}
draft = {"qty": 100, "total": 2259,
"ship_by": "2026-12-08"}
def check(case, draft):
issues = []
if draft["qty"] != case["qty"]:
issues.append("quantity differs")
if draft["total"] != case["total"]:
issues.append("total differs")
if draft["ship_by"] > case["deadline"]:
issues.append("ships too late")
return issues
print(check(case, draft) or "APPROVED")
draft["qty"] = 120
print(check(case, draft) or "APPROVED") Your approval, limits and a log
- Every proposal waits for your yes
- Totals over $5,000 always need a phone call
- Each step writes one row to a log
layout: full
parts:
draft: {chip: Draft, sub: "Checker approved"}
tap: {chat: "Yes, send it"}
steps:
- at: "Even an approved draft"
highlight: draft
- at: "a short preview"
spokes: {of: draft, items: [Client, Quantity, Total, Proposal]}
- at: "One tap on yes"
send: tap
- at: "emailed to Leo and logged"
note: "Sent and logged"
- at: "If she says no"
note: "No: back to the writer"
- at: "over five thousand dollars"
note: "Over five thousand: a limit"
- at: "reminds her to phone"
note: "Stop and phone the client"
- at: "the log records every step"
note: "Every step gets a log row"
- at: "exactly where it happened"
note: "Find where it happened" Building it in n8n
- Trigger: new Gmail email with a label
- Manager: an AI Agent node, workers as tools
- Workers: small sub-workflows using Sheets and Docs
- Checker: a node that compares draft and case file
- Approval: send and wait for your answer
- Log: append a row to a Google Sheet
layout: side
direction: LR
components:
gmail: {kind: email, label: Gmail trigger}
mgr: {kind: llm, label: AI Agent manager}
sheets: {kind: database, label: Sheets worker}
docs: {kind: file, label: Docs worker}
check: {kind: service, label: Checker node}
appr: {kind: user, label: Your approval}
log: {kind: database, label: Log sheet}
links: [gmail->mgr, mgr->sheets, mgr->docs, mgr->check, check->appr, appr->log]
steps:
- at: "connect boxes called nodes"
note: "n8n: boxes called nodes"
- at: "A Gmail trigger starts the workflow"
show: [gmail, mgr]
flow: ["gmail>mgr: new email"]
- at: "The manager is an AI Agent node"
highlight: [mgr]
- at: "each worker is a small separate workflow"
show: [sheets, docs]
- at: "pricing reads and writes the Google Sheet"
highlight: [sheets]
- at: "writing fills a Google Docs template"
highlight: [docs]
- at: "The checker is a node with your rules"
show: [check]
- at: "use Gmail's send and wait option"
show: [appr]
- at: "which pauses until you answer"
note: "Waits for your answer"
- at: "And the log is just one more node"
show: [log]
- at: "appends a row to a Google Sheet"
flow: ["appr>log: row"] Common mistake: the writer invents numbers
- Writer asked to price it and write it in one prompt
- Prices look reasonable but are wrong
- Fix: numbers only from the sheet, via the case file
- The checker compares the draft with the file, not with itself
layout: full
parts:
writer: {chip: Writer, sub: "Drafts the proposal"}
steps:
- at: "letting the writer do the pricing"
highlight: writer
- at: "one agent, one prompt"
vortex: {into: writer, words: [One agent, One prompt, Price it, Write it]}
- at: "look reasonable and are wrong"
note: "Plausible, yet wrong"
- at: "last year's engraving price"
note: "An old price"
- at: "a discount you never offered"
note: "A discount never offered"
- at: "only reads the draft"
note: "Nothing true to compare with"
- at: "The fix is the design you just saw"
highlight: writer
- at: "come only from the price sheet"
note: "Numbers come from the sheet"
- at: "travel in the case file"
note: "Numbers travel in the case file"
- at: "never against itself"
note: "Checked against the file" Recap
- One manager delegates; each worker has one tool and one task
- A shared case file carries every detail between agents
- Checker plus your approval, limits and log keep it safe
layout: full
parts:
team: {chip: Your team, sub: "Manager, workers, checker"}
steps:
- at: "Let's recap"
highlight: team
- at: "a manager agent plans and delegates"
spokes: {of: team, items: [Manager, Workers]}
- at: "pricing with the sheet"
note: "Pricing: the sheet"
- at: "writing with the template"
note: "Writing: the template"
- at: "a single case file carries every detail"
vortex: {into: team, words: [Quantity, Deadline, Logo]}
- at: "reach the final proposal"
note: "Every detail reaches the proposal"
- at: "a checker sends weak drafts back"
note: "Weak drafts go back"
- at: "Nadia's approval"
note: "Nadia approves"
- at: "a limit on big orders"
note: "A limit on big orders"
- at: "a log keep the whole team safe"
note: "A log keeps it safe"
- at: "goes out the same evening"
note: "Same evening, not after the weekend"
- at: "Nadia still reads every one"
highlight: team Your exercise
- Rebuild this team for your own business or a client
- Run three test inquiries: normal, missing date, over the limit
- Save the log and note where each one stopped
layout: full
parts:
team: {chip: Your team, sub: "Rebuild it"}
steps:
- at: "Now it's your turn"
highlight: team
- at: "a pricing worker with a real price sheet"
spokes: {of: team, items: [Manager, Pricer, Writer, Checker]}
- at: "run three test inquiries"
count: {to: 3, label: tests}
- at: "One normal order"
note: "Normal order: to your approval"
- at: "One with no deadline"
note: "No deadline: a question"
- at: "big enough to hit your limit"
note: "Over the limit: a stop"
- at: "Save the log"
note: "Save the log"
- at: "note where each test stopped"
note: "Note where each test stopped"
- at: "Those three rows are your proof"
note: "Three rows: your proof"
- at: "a great demo for a client"
highlight: team Transcript
Slow proposals lose deals. Meet Nadia. She runs a small online candle shop, and more and more companies email her about corporate gift orders. One of those orders can be worth more than a week of normal sales. But every inquiry means checking the details, pricing it from her spreadsheet, writing a proposal and sending it. Last month two of them sat in her inbox over a busy weekend, and by Monday both clients had ordered somewhere else. Slow proposals lose deals. In this project lesson we'll combine everything from this module and build an agent team that turns an inquiry like hers into a sent proposal, with Nadia approving every one before it leaves.
What you will build today. Here's the plan for this lesson. First, you'll map the whole job, from an inquiry arriving to a proposal going out, onto a manager agent and a few worker agents, each with one clear task. Second, you'll pass a single shared case file between them, so details like the quantity or an attached logo never get lost in a handoff. Third, you'll add a checker that approves the draft or sends it back, and then your own approval, limits and a log, so the team is fast without being reckless. By the end you'll have a blueprint you can rebuild in a no-code tool.
The team blueprint. Here's the blueprint. Everything starts when a client's message lands in your inbox. Now let's add the whole team. The manager agent reads the message, decides what's needed and delegates. A pricing worker looks up costs in Nadia's price sheet, and that sheet is the only place prices may come from. A writer worker turns the facts into a proposal. A checker compares that proposal with the facts, using simple rules. And you sit at the end with the final say. Let's follow one inquiry through. The quantity goes to pricing, prices come back, the case file goes to the writer, and the checked draft reaches you.
The inquiry we will run. Here's the real inquiry we'll run. The client is Leo, office manager at Brightway Dental, a clinic with three branches. He asks for one hundred twenty gift boxes, each with one candle and the clinic's logo engraved on the lid, and he's attached the logo file. His deadline is December tenth, because the boxes are handed out at the clinic's holiday party. So what should the manager agent do first? It qualifies the lead, which means checking it's worth pursuing: is the order big enough, is the date possible, is anything missing? Here everything checks out, so the manager marks Leo as qualified and opens a case file.
One case file, passed along. This is the case file, the one record every agent reads and writes. Remember the handoff lesson: agents shouldn't retell the story to each other in their own words, because every retelling drops something. Instead, each agent reads the whole file and fills in only its own field. Right now total and draft are empty, written as null, which simply means nothing yet. The pricing worker will fill total, and the writer will fill draft. And look at the notes line. That logo file is exactly the kind of detail a quick summary forgets, and here it travels with the order all the way to the proposal.
Pricing worker: the sheet does the maths. Now the pricing worker. Its tool is Nadia's price sheet, and the sheet does the arithmetic, not the language model. A language model, the AI that writes text, is great with words but can slip on sums, like a friendly salesperson doing maths in their head. So the worker only writes in the quantity, and the sheet multiplies unit price times quantity. We fill it down for engraving and shipping. Orders over one hundred units get a ten percent bulk discount on the products, but not on shipping. And the grand total is two thousand two hundred fifty nine dollars, which goes straight back into the case file.
Writer and checker: send it back. The writer worker drafts the proposal from a template. But its template came from an old order, and it wrote one hundred boxes instead of one hundred twenty. This is why we have a checker. Notice that the checker doesn't need to be clever here. It compares the draft with the case file using plain rules: same quantity, same total, and a ship date before the deadline. On the first run it finds one issue, quantity differs, so the draft goes back to the writer with that exact note. The writer fixes it, the checker runs again, and this time it prints approved.
Your approval, limits and a log. Even an approved draft doesn't go out by itself yet. The team sends Nadia a short preview: client, quantity, total and the proposal itself. One tap on yes, and it's emailed to Leo and logged. If she says no, her note goes back to the writer, and the loop runs again. Every proposal waits for your yes, so nothing leaves without a human decision. Add one hard limit too. Any total over five thousand dollars stops the automation and reminds her to phone the client, because big deals deserve a human voice. Totals over $5,000 always need a phone call, and the limit applies every time. And the log records every step, with the time, the agent, what it did and the case, so when something looks odd you can see exactly where it happened. Each step writes one row to a log, so the trail is always complete.
Building it in n8n. You can build all of this without writing code in n8n, a visual automation tool where you connect boxes called nodes. A Gmail trigger starts the workflow whenever an email gets a sales inquiry label. The manager is an AI Agent node, and each worker is a small separate workflow it can call as a tool: pricing reads and writes the Google Sheet, writing fills a Google Docs template. The checker is a node with your rules. For approval, use Gmail's send and wait option, which pauses until you answer. And the log is just one more node that appends a row to a Google Sheet.
Common mistake: the writer invents numbers. The most common mistake in this project is letting the writer do the pricing too. It feels simpler: one agent, one prompt, price it and write it. But the model will happily produce numbers that look reasonable and are wrong, maybe last year's engraving price or a discount you never offered. And if the checker only reads the draft, it has nothing true to compare against. The fix is the design you just saw. Numbers come only from the price sheet, they travel in the case file, and the checker compares the draft against that file, never against itself.
Recap. Let's recap. First, a manager agent plans and delegates, while each worker does one task with one tool: pricing with the sheet, writing with the template. Second, a single case file carries every detail between them, so the quantity, the deadline and Leo's logo all reach the final proposal. Third, a checker sends weak drafts back, and Nadia's approval, a limit on big orders and a log keep the whole team safe. The result is a proposal that goes out the same evening instead of after the weekend, and Nadia still reads every one before it's sent.
Your exercise. Now it's your turn. Rebuild this team for your own business or for a client you'd like to sell it to: a manager, a pricing worker with a real price sheet, a writer, a checker and your approval step. Then, one last thing before you record it: run three test inquiries. One normal order that should go all the way to your approval. One with no deadline, which the manager should catch and answer with a question. And one big enough to hit your limit. Save the log and note where each test stopped. Those three rows are your proof that the team works, and they make a great demo for a client.
Explore the animations
The animations from the video, exact and live: play them, pause, drag the slider or jump to a step at your own pace.
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Answer every question, then check. 70% passes; you can retry as often as you like.
Lesson summary
- Reading
- Video watched
- Quiz passed (70%)
- One manager delegates; each worker has one tool and one task
- A shared case file carries every detail between agents
- Checker plus your approval, limits and log keep it safe