Lesson 229·M22 AI Automation
Business Process Automation
OpenLearning Objectives
By the end of this lesson you should be able to:
- Explain the mapping: from the process to the workflow (L229)
- Identify the automation: rules vs AI steps vs approvals (L163, L199)
- Place the approvals at the risk points (L212, L228)
- Assign the ownership: who's accountable per step (L229)
- Explain the pitfalls: automating a bad process (L196)
One-Line Definition
Business process automation is the method of turning a process into a workflow — map the steps and the decision points (L229), identify what automates cleanly (rules, L199) and what needs AI (L163), place the approvals at the risk points (L212, L228), and assign the ownership (L229) — because a bad process automated is a fast bad process (L196).
The one-sentence interview answer: "Business process automation is the mapping, first (L229). I don't automate what I haven't understood. The method: map the process — the steps, the handoffs (L217), the decision points (L230), and the risk points (L212). Identify the automation — which steps are rules (L199), which need the AI's judgment (L163), and which are approval points (L228). Place the gates — the consequential steps wait for the human (L208, L228). Assign the ownership — every step has an accountable owner (L229), human or automated. Then build the workflow (L217) that mirrors the process (L230). The pitfall: automating a bad process makes it faster, not better (L196) — the mapping is what separates the automation from the busywork (L229)."
Mental Model
Think of the business process as a route through the office, and the mapping as drawing the route before paving it. The route (the process) has stops (the steps), corridors (the handoffs, L217), intersections (the decision points, L230), and guarded doors (the approvals, L228). The mapping walks the route and draws it: here the work passes automatically (rules, L199), here a judgment is needed (AI, L163), here a door needs a key (approval, L208). Paving the route (building the workflow, L217) comes after the drawing (L229) — because paving a crooked route just makes the crook faster (L196).
the route (the process, L229) the paving (the workflow, L217)
┌──────────────────────────┐ ┌──────────────────────────────┐
│ step → handoff (L217) │ ──────► │ rule steps (L199) · AI steps │
│ → decision (L230) │ │ (L163) · approval gates │
│ → guarded door (L228) │ │ (L228) · owners (L229) │
└──────────────────────────┘ └──────────────────────────────┘
The mental model is draw the route, then pave it: the mapping comes first, and the workflow mirrors the process (L229).
Visual Flow — The Method
a business process (L229)
│
▼
┌──────────────────────────────────────────────────────────┐
│ 1 · MAP THE PROCESS (L229) │
│ the steps, the handoffs (L217), the decision points │
│ (L230), the risk points (L212) — the route │
└──────────────────┬───────────────────────────────────────┘
▼
┌──────────────────────────────────────────────────────────┐
│ 2 · CLASSIFY THE STEPS (L199, L163) │
│ rule steps → deterministic (L199) │
│ judgment steps → the AI (L163) │
│ risk steps → the approval gate (L228) │
└──────────────────┬───────────────────────────────────────┘
▼
┌──────────────────────────────────────────────────────────┐
│ 3 · ASSIGN THE OWNERSHIP (L229) │
│ every step has an accountable owner (L229) │
└──────────────────┬───────────────────────────────────────┘
▼
┌──────────────────────────────────────────────────────────┐
│ 4 · BUILD THE WORKFLOW (L217) │
│ the workflow mirrors the process (L230) │
└──────────────────────────────────────────────────────────┘
The flow is the method: map → classify → own → build — the process understood before it's automated (L229).
How It Works — The Mapping, the Classification, the Ownership
- The mapping (L229). Walk the process: the steps, the handoffs (L217), the decision points (L230), the risk points (L212), and the exceptions (L232). The map is the process's truth (L229) — the workflow's blueprint (L230).
- The classification (L199, L163). Each step is one of three: a rule (deterministic — validate, post, notify, L199), a judgment (the AI — extract, classify, draft, L163), or a risk (the approval gate — L228). The classification is the L199 decision applied per step (L230).
- The ownership (L229). Every step has an accountable owner — the person (L208) or the system (L217) responsible for its outcome (L229). The ownership is the process's accountability (L229).
- The build (L217). The workflow (L217) mirrors the map (L229): the steps in order, the AI at the judgment points (L163), the gates at the risk points (L228), and the failure story (L232) at the exceptions (L229).
Note
The mapping is the senior deliverable — automating a bad process makes it faster, not better (L196, L229). A process with duplicated steps, unclear ownership, or missing approvals is not fixed by automation (L229) — it's amplified (L196). The senior method maps first (L229): the process's steps are questioned before they're automated (L230) — "why does this step exist?", "who owns it?" — and the workflow (L217) is built from the corrected map (L229). Automation is the second step; understanding is the first (L229).
Real Project Usage
- Order-to-cash (L229). Map: the order, the validation, the payment (L227), the fulfillment, the notification (L225). Classify: validation is a rule (L199), the fraud check is the AI (L163), the refund is gated (L228).
- Support-to-resolution (L229). Map: the ticket, the triage (L224), the resolution, the close. Classify: the triage is the AI (L163), the refund is gated (L228), the close is a rule (L199).
- Hire-to-onboard (L229). Map: the offer, the background check, the paperwork, the IT setup. Classify: the offer's approval is gated (L228), the paperwork's extraction is the AI (L163).
- Procure-to-pay (L229). Map: the request, the approval (L228), the purchase, the invoice (L163), the payment (L227).
- Anything the business runs (L230). The L229 method turns any process into the L230 platform's workflow (L230).
The through-line: the method is the mapping — every business process becomes a workflow (L217) by being understood first (L229).
Interview Explanation
Say it in four moves:
- The map. "Walk the process: the steps, the handoffs (L217), the decisions (L230), the risks (L212)."
- The classification. "Each step is a rule (L199), a judgment (L163), or a gate (L228)."
- The ownership. "Every step has an accountable owner (L229)."
- The build. "The workflow (L217) mirrors the corrected map (L229) — understanding before automation (L230)."
Senior-Level Insights
- The map is the deliverable (L229). The senior answer delivers the process map (L229) — the steps, the decisions, the risks — before the workflow (L217). The demo automates the first thing pointed at (L196).
- The classification is the L199 decision per step (L230). Each step's nature decides its implementation (L199): the rule (L199), the AI (L163), the gate (L228) — the L199 rule applied at the step level (L230).
- The risk points are the approvals' placement (L212). The map's risk points (L212) are where the gates go (L228) — the approval placement is a mapping output, not an afterthought (L229).
- The ownership is the process's accountability (L229). Every step's owner (L229) — the person (L208) or the system (L217) — is what makes the process governable (L373).
- The exceptions are the failure story's input (L232). The map's exceptions (L232) become the workflow's failure handling (L232) — the recovery is designed from the map (L229).
Common Mistakes
- Automating the pointed-at (L196). No map (L229) — the bad process made faster (L196).
- The AI for every step (L163). The rules (L199) automated as model calls (L150) — the cost and the failure surface (L211).
- The gates misplaced (L228). The approvals not at the risk points (L212) — the consequential runs (L324).
- No ownership (L229). The steps unowned (L229) — the process unaccountable (L373).
- The exceptions ignored (L232). The map's edge cases never handled (L232) — the workflow breaks on the first surprise (L211).
- The workflow ≠ the process (L230). The build diverging from the map (L229) — the automation automates something else (L230).
Best Practices
- Map before you build (L229) — the steps, the decisions, the risks (L230).
- Classify per step (L199) — rule, AI (L163), or gate (L228).
- Place the gates at the risk points (L212) — from the map (L229).
- Assign the ownership (L229) — every step, an accountable owner (L208).
- Design the exceptions (L232) — from the map's edge cases (L229).
- Question the steps (L230) — "why does this exist?" before automating it (L196).
Interview Questions
Q: How do you automate a business process?
A: The mapping, first (L229). I walk the process — the steps, the handoffs (L217), the decision points (L230), the risk points (L212) — and map it. Then I classify each step: a rule (L199), a judgment (the AI, L163), or a risk (the approval gate, L228). I assign the ownership (L229), design the exceptions (L232), and build the workflow (L217) that mirrors the corrected map (L230).
Q: Why map before building?
A: Because automating a bad process makes it faster, not better (L196). A process with duplicated steps, unclear ownership, or missing approvals is amplified by automation (L229). The map is where the process is questioned — "why does this step exist?", "who owns it?" — and the workflow (L217) is built from the corrected map (L230). Understanding is the first step; automation is the second (L229).
Q: How do you classify the steps?
A: The L199 decision per step (L230). A rule step — validate, post, notify — is deterministic (L199): cheap and testable (L341). A judgment step — extract, classify, draft — is the AI's (L163): a model call with a contract (L143). A risk step — refund, publish, send — is the approval gate (L228): the human at the consequence (L208). The classification is the workflow's design (L217).
Q: Where do the approvals go?
A: At the risk points from the map (L212, L229). The mapping identifies where the consequence lives (L212) — the refund, the publish, the external send (L228) — and the gates go there (L208). The approval placement is a mapping output (L229), not an afterthought: the map's risk points become the workflow's gate steps (L217).
Follow-Up Questions
- What's in the process map (L229)?
- How do you classify a step (L199)?
- Where do the gates go (L212)?
- How do you assign the ownership (L229)?
- How do the exceptions become the failure story (L232)?
Comparison Table — Point-and-Automate vs Mapped
| Point-and-automate (L196) | Mapped (this lesson) | |
|---|---|---|
| The map (L229) | none | steps, handoffs, decisions, risks |
| Classification (L199) | AI for everything | rule / AI / gate per step |
| Approvals (L228) | misplaced | at the risk points (L212) |
| Ownership (L229) | none | every step owned |
| Exceptions (L232) | surprise | designed from the map |
| The result (L196) | a fast bad process | the process, improved |
The senior read: the right column is the method — the process understood, classified, and owned before it's built (L229).
Code Example — The Method
// Business process automation: map → classify → own → build (L229).
// 1 · THE MAP (L229) — the process's truth.
const processMap = {
steps: [
{ id: 'order', kind: 'trigger' }, // L220
{ id: 'validate', kind: 'rule' }, // L199 — deterministic
{ id: 'fraud-check', kind: 'judgment' }, // L163 — the AI
{ id: 'approve', kind: 'risk' }, // L228 — the gate
{ id: 'fulfill', kind: 'rule' },
{ id: 'notify', kind: 'rule' }, // L225
],
riskPoints: ['approve'], // L212 — where the gates go
owners: { validate: 'system', approve: 'finance-ops', fulfill: 'warehouse' }, // L229
exceptions: ['fraud-alert', 'refund-path'], // L232 — the failure story
};
// 2 · THE CLASSIFICATION (L199, L163) — per step.
const IMPLEMENT = {
rule: deterministicStep, // validate, post, notify (L199)
judgment: aiStepWithContract, // extract, classify, draft (L163, L143)
risk: approvalGateStep, // the human at the consequence (L208, L228)
};
// 3 · THE BUILD (L217) — the workflow mirrors the map (L230).
async function buildWorkflow(map) {
return map.steps.map((step) => ({
...step,
run: IMPLEMENT[step.kind],
owner: map.owners[step.id], // the accountability (L229)
}));
}
What the reader must SEE — the method, in data:
processMap.steps → the route (L229)
kind: rule/judgment/risk → the classification (L199, L163, L228)
riskPoints → where the gates go (L212)
owners → the accountability (L229)
exceptions → the failure story (L232)
Map, classify, own, build — the process, understood first.
Tip
The line that shows the method's spine: owners: { validate: 'system', approve: 'finance-ops' } — the accountability (L229). The workflow mirrors the map, and every step has an owner — the process is understood and accountable before it's automated (L229).
Performance Notes
- The classification is the cost design (L199, L150). The rule steps (L199) are near-free; the AI steps (L163) are the token spend (L150) — the classification is the cost model (L230).
- The gates are the latency pauses (L151). The risk steps (L228) wait for the human (L208) — the process's wall-clock includes the approvals (L229).
- The exceptions are the recovery's design (L232). The failure handling (L232) is built from the map (L229) — the recovery is not an afterthought (L230).
- The workflow runs on the queue (L222). The built workflow (L217) executes on the engine room (L222) — the L229 output feeds the L230 platform (L230).
Debugging Scenarios
| Symptom | Likely cause | First thing to check |
|---|---|---|
| The workflow automates the wrong thing | No map (L229) | Map the process (L230) |
| The AI does everything | No classification (L199) | Rules for the deterministic (L163) |
| Consequential runs | Gates misplaced (L228) | The risk points from the map (L212) |
| Nobody accountable | No ownership (L229) | Assign the owners (L208) |
| The first surprise breaks it | Exceptions unhandled (L232) | Design from the map (L229) |
Quick Revision Notes
- Business process automation = the mapping, first (L229).
- The method: map (L229) → classify (L199) → own (L229) → build (L217).
- The classification: rule (L199), AI (L163), or gate (L228) per step.
- The gates: at the risk points (L212) from the map (L229).
- The ownership: every step accountable (L229).
- The pitfall: automating a bad process makes it faster, not better (L196).
Cheat Sheet
BUSINESS PROCESS AUTOMATION = the mapping, first
THE METHOD (L229)
1 map the steps · the handoffs (L217) · the decision
points (L230) · the risk points (L212) · the exceptions (L232)
2 classify per step: rule (L199) · judgment / AI (L163) · risk / gate (L228)
3 own every step has an accountable owner (L229)
4 build the workflow (L217) mirrors the corrected map (L230)
THE CLASSIFICATION (L230)
rule validate · post · notify — deterministic (L199), testable (L341)
judgment extract · classify · draft — the AI, with a contract (L163, L143)
risk refund · publish · send — the human gate (L208, L228)
THE PITFALL (L196)
automating a bad process makes it faster, not better (L229)
the map is where the process is questioned (L230)
THE RULE
understanding is the first step; automation is the second (L229)
INTERVIEW, 4 MOVES
1 map "the steps, the decisions, the risks (L229)"
2 classify "rule, AI, or gate per step (L199, L163, L228)"
3 own "every step accountable (L229)"
4 build "the workflow mirrors the corrected map (L217, L230)"Key Takeaways
Recap
- Business process automation is the mapping, first (L229): the steps, the handoffs (L217), the decision points (L230), the risk points (L212), and the exceptions (L232)
- The classification is the L199 decision per step (L230): rule (L199), judgment/AI (L163), or risk/gate (L228)
- The gates go at the risk points (L212) — an output of the mapping, not an afterthought (L229)
- Every step has an accountable owner (L229) — the process's accountability (L373)
- The exceptions become the failure story (L232) — the recovery is designed from the map (L229)
- The pitfall is automating a bad process (L196) — it makes it faster, not better; the map is where the process is understood and corrected first (L229)
Check your understanding
Answer each one out loud. Then rate yourself honestly.
0/8What's in the process map (L229)?
What are the three step classifications (L199)?
Where do the gates go (L212)?
Why does every step need an owner (L229)?
What becomes the failure story (L232)?
Why map before building (L196)?
How does the workflow mirror the map (L217)?
What's the cost design (L150)?
A Closing Note — The Route, Drawn Before It's Paved
You now hold the method: map the process, classify each step — rule, AI, or gate — assign the owners, and build the workflow that mirrors the corrected route. The automation now starts with understanding — and the process, not just the busywork, gets automated (L229).
Next: the platform that holds it all — AI automation architecture (L230), events, workflows, queues, gates.