Course contents
Advanced · Course 4: AI Agents and Workflow Automation · Lesson 3 of 5

What happens when an automated step gets something wrong

Level: AdvancedTime: 45 minutesOrder used: Cedar & Co.'s domestic restock batch, built on Order A's own construction and per-piece costTool: Automation decision tool
For a factory merchandiser, planner or production manager whose factory receives an automated reorder trigger from a domestic Make to Stock buyer and needs to know what to do once that trigger fires on wrong data. Lessons 1 and 2 are useful preparation, though not required. Figures are teaching figures.
BuyerCedar & Co.
FactoryDelta Garments
OrderDomestic restock batch, styled on Order A
Business modelMake to Stock (MTS)
MarketDomestic
ToolAutomation decision tool
02Opening

This page teaches a factory merchandiser what to do once an automated step has already produced a wrong result, using a domestic Make to Stock reorder trigger that fires on bad data

An automated step does not know it is wrong. It keeps doing exactly what it was set up to do, at the same speed, whether its input data is good or bad. This is chiefly a decision-flow skill: knowing what to check once a wrong result has already reached a person, and how to build a fallback so one bad input does not turn into a bigger commitment before anyone notices. The risk is not that automation makes a mistake a person would never make; it is that automation repeats a mistake many times, quickly, at the same scale it was built to run at.

Without this skill, a factory either has no fallback at all, so a wrong automated trigger runs all the way to committed fabric and cut cloth before a person sees it, or treats every automated output with so much suspicion that the tool's own time saving disappears under constant manual re-checking.

03Before you start

You need: a basic sense of what an AI agent is (Lesson 1) and how to separate a well-defined fact from a judgement-heavy one (Lesson 2), though neither is required.

By the end of this lesson you can:

  • explain why an automated step keeps repeating a mistake instead of catching it;
  • name the checkpoint where a person should review an automated trigger before it commits real resources;
  • describe what a fallback process is and why it needs to exist before an error happens, not after;
  • decide what to do once you discover an automated step has already acted on wrong data.

Not covered here: deciding whether a specific task should stay manual, be assisted, or be automated (Lesson 4), and building a complete automation decision tool for a workflow step (Lesson 5).

04Key terms

Words you will meet in this lesson

TermMeaning
Fallback processThe manual or assisted way of finishing a task if the automated version cannot complete it correctly.
Escalation pathThe fixed route by which an automated step's error or an unclear case is passed to a named person to resolve.
Error at scaleThe tendency of an automated step to repeat the same mistake many times quickly if its logic or input data is wrong, rather than making one isolated mistake.
Commitment pointThe step in a workflow after which reversing an action costs real time or money, such as cutting fabric that has already been bought.
Human oversightA person checking the output of an automated or assisted step before it is trusted or acted on.
ExceptionA missing, invalid, conflicting or late item that needs correction or a decision.
05Teaching
The rule

An automated step repeats whatever logic and data it was given, so a wrong input becomes a wrong result at the same speed and scale the step was built to run at

An automated step has no independent way to notice that its own input is wrong; it applies the same rule to whatever data arrives, correct or not. This is not a flaw specific to one tool; it is the same reason automation saves time on a well-defined task in the first place: it removes the person's own case-by-case checking every time it runs. The general reason this needs a fallback is straightforward: a person who makes one mistake as they go usually notices and corrects it before it grows large, while an automated step keeps applying the same wrong logic until something outside it — a checkpoint, a threshold or a person — stops it.

Bad inputAutomated stepapplies its fixed logicWrong resultrepeats until stoppedCheckpoint
A bad input becomes a wrong result at automated speed and keeps repeating until a checkpoint or a person interrupts it.* The automated step itself has no way to notice its own input was wrong.
What you meet in real life

How much an automated error can grow before anyone notices differs by market, business model and where the checkpoint sits

What can differThe shapes you meetWhy it matters
Export vs. domestic orderAn export order's own workflow, such as Order A's, has several external checkpoints already built in, such as buyer approval and inspection, that can catch a wrong automated result before shipment; a domestic Make to Stock reorder such as Cedar & Co.'s can move straight from trigger to production with fewer outside checks.A domestic MTS workflow often needs its own deliberate checkpoint, since it cannot rely on an external party such as an overseas buyer to catch an error before goods move.
MTO vs. MTS vs. hybridAn MTO order's automated steps run against one confirmed order, so a wrong result affects that order alone; an MTS reorder trigger runs on a recurring cycle against a forecast, so a wrong trigger can fire again on the next cycle before anyone notices the first one was wrong; a hybrid account needs a fallback that recognises both patterns.Treating an MTS trigger as a one-off event, the way an MTO order is, misses the risk that the same bad logic fires again on the very next cycle.
A single wrong value vs. a duplicated actionA single wrong value, such as one bad stock count, is usually easier to trace back to its source; a duplicated action, such as the same reorder firing twice from one glitch, can look like two separate, apparently valid signals unless someone checks whether they share a cause.An automation decision tool should record not just what an automated step did, but whether two outputs share a single root cause, before treating them as independent facts.
A checkpoint before a commitment point vs. after itA checkpoint placed before fabric is bought and cut costs little to run and little to reverse if it catches an error; the same check placed after cutting has already begun catches the error only after real money is committed.Placing the one checkpoint an automated step needs before its own commitment point, not after, is what keeps a caught error cheap.
Socks, terry and home-textile product familiesA hosiery or towel reorder trigger can fail the same way as a T-shirt reorder trigger, on bad stock data feeding an automated step; the fallback and checkpoint principle does not change by product family.The commitment point differs by product (yarn committed for socks, greige fabric for towels), but the need for a checkpoint before it does not change.
The case we follow

Cedar & Co.'s automated reorder trigger fires twice on the same restocking cycle after a stock-count glitch, and Delta Garments catches it at its own checkpoint before fabric is bought

Cedar & Co. runs Make to Stock: it restocks its 12 shops from its own sales forecast, on a domestic timeline built on Order A's own construction and per-piece cost, buying from Delta Garments on 60-day open account. Cedar & Co.'s own automated reorder tool is set up to fire a standard restock batch whenever a shop's stock of this T-shirt style falls below a fixed threshold.

A processing glitch at one shop counts a batch of returned stock twice: once when it is returned, and again when the shop's system resyncs later the same day. The automated reorder tool reads the doubled figure as two separate drops below threshold and fires the standard restock trigger twice within the same cycle, instead of once. Both triggers reach Delta Garments' own intake queue looking like two independent, valid signals. Mona does not commit fabric on either trigger the moment it arrives; Delta Garments' own checkpoint requires a person to confirm that a trigger's underlying stock count is new, not a repeat, before production is scheduled. Checking the two triggers side by side, Mona sees they reference the same shop, the same date and the same stock movement, and holds the second one for confirmation with Cedar & Co. before any fabric is bought.

The worked number

Confirming the duplicate before committing fabric avoids reserving 15,000 pieces' worth of fabric and capacity that Cedar & Co. does not actually need

Cedar & Co.'s standard restock batch, styled on Order A's own construction:
180 GSM single jersey, Ne 30/1 combed cotton, 15,000 pieces,
at Delta Garments' own per-piece cost structure of USD 3.20 (section 7).
If both triggers had been treated as independent and separately committed:
2 batches × 15,000 pieces × USD 3.20 per piece = USD 96,000 committed
The batch Cedar & Co. actually needs: 1 batch × 15,000 pieces × USD 3.20 per piece = USD 48,000
Value avoided by holding the second trigger for confirmation: USD 96,000 − USD 48,000 = USD 48,000

The USD 48,000 avoided is not a saving created by the checkpoint; it is the cost of fabric and production capacity that would have been committed to a batch nobody actually ordered, if the second trigger had been treated as a separate, valid signal instead of a duplicate of the first.

IF BOTH TREATED AS REAL2 batches × 15,000 pieces committedUSD 96,000 in fabric and capacityOne batch nobody orderedAFTER THE CHECKPOINT1 batch × 15,000 pieces committedUSD 48,000, matching real demandSecond trigger held for confirmation
Treating both triggers as real would have committed USD 96,000 in fabric and capacity for a batch nobody ordered; the checkpoint held the duplicate before any fabric was bought.* The checkpoint's value is the gap between the two figures, not the smaller figure alone.
The method

Four steps for building a fallback around an automated step before it ever produces a wrong result

  1. Place one checkpoint before the step's own commitment point, the point after which reversing an action costs real time or money.
  2. Name the person who reviews the automated step's output at that checkpoint, so review is not left to whoever happens to see it first.
  3. Define what the reviewer checks for, such as whether two outputs share a single root cause, not only whether each looks valid on its own.
  4. Record the escalation path: who the reviewer contacts, and what happens to the workflow, while a suspected error is being confirmed.
The trap

A common mistake is trusting an automated step more, not less, the second time it produces the same kind of output

A common mistake is treating a second automated trigger that looks just like the first as extra confirmation that a restock is genuinely needed, rather than checking whether the two triggers share one root cause. An automated step cannot tell a genuine second event from a repeated symptom of the same first event; it only applies its fixed logic to whatever data arrives. Trusting repetition as confirmation, instead of checking for a shared cause, is what lets a single stock-count glitch commit fabric and production capacity for a batch that does not correspond to any real shop demand.

06In plain words

An automated tool does not know when it is wrong. It keeps doing exactly what it was built to do, using whatever data it is given, whether that data is good or bad. A person who makes one mistake usually notices and corrects it; an automated tool keeps applying the same logic until a checkpoint or a person stops it. This is why every automated step needs one clear checkpoint before it commits real money or material, one named person who reviews it there, and a known path for what happens next if the review finds a problem. Building that fallback before an error happens is what keeps a bad input a small, cheap problem instead of a large, expensive one.

07Quick check
  • An automated step cannot notice its own input is wrong; it applies the same logic to whatever data arrives.
  • A person's mistake is usually self-correcting; an automated step's mistake repeats at the same speed and scale until something stops it.
  • A checkpoint belongs before the step's own commitment point, not after, so a caught error is still cheap to fix.
  • Two automated outputs that look similar can share one root cause rather than confirming each other; check for a shared cause before trusting repetition.
  • A fallback process and an escalation path need to exist before an error happens, not be improvised once one has already occurred.
  • The checkpoint-before-commitment principle holds across export, domestic, MTO, MTS and hybrid orders; only the specific commitment point changes.
08Workplace scenario

Mona must decide whether to release fabric for Cedar & Co.'s second reorder trigger of the day or hold it for confirmation

Delta Garments' intake queue shows two restock triggers from Cedar & Co. within the same day, both for the same T-shirt style and the same standard batch size. Karim, the production manager, is asking whether he can start reserving fabric for the second batch so sewing capacity is not lost later in the week.

  • Cedar & Co.'s automated reorder tool fires a standard batch whenever one shop's stock of this style drops below its fixed threshold.
  • Both triggers reference the same shop and the same calendar day; the second trigger arrived four hours after the first.
  • Delta Garments' own checkpoint rule requires a person to confirm a trigger's underlying stock movement is new before fabric is committed.
  • No one at Delta Garments has yet asked Cedar & Co. to confirm whether the second trigger reflects a separate stock movement or the same one counted twice.

The relevant line from Delta Garments' own intake procedure:

Delta Garments, automated intake procedure. "A second trigger from the same shop within one calendar day must be confirmed against Cedar & Co.'s own stock ledger before fabric is committed, since the factory's own workflow tool cannot see whether the underlying stock movement is new or repeated."

Should Mona let Karim reserve fabric for the second batch now? Decide before you open the decision.

Show decision

No — Mona holds the second trigger and asks Cedar & Co. to confirm the underlying stock movement before any fabric is committed.

The two facts that decide this are that Delta Garments' own workflow tool cannot see, from the trigger alone, whether the second drop below threshold is a new sale or the same stock movement counted twice, and that the factory's own checkpoint rule exists precisely to catch this case before fabric is bought. Letting Karim reserve fabric now would treat an unconfirmed repetition as if it were already confirmed, spending real money on a batch that may not correspond to any actual shop demand. Holding the trigger costs a short delay while Cedar & Co. checks its own ledger; committing fabric on an unconfirmed duplicate costs the full batch value if the confirmation later shows it was not a real reorder.

09What it costs

Committing fabric on an unconfirmed duplicate trigger would tie up USD 48,000 in fabric and capacity that Cedar & Co. does not actually need

The value of one standard restock batch, styled on Order A's own construction, is fixed by its quantity and per-piece cost:

15,000 pieces × USD 3.20 per piece = USD 48,000 batch value

If Delta Garments commits fabric on the unconfirmed second trigger and Cedar & Co.'s own ledger later shows it was a duplicate, Delta Garments is left holding USD 48,000 of fabric and reserved sewing capacity for a batch Cedar & Co. never actually ordered, on top of whatever it costs to unwind the booking. Holding the second trigger for a short confirmation delay costs far less than that: at most a brief pause in scheduling one batch, against Cedar & Co.'s own stock ledger rather than against Delta Garments' own guess.

10Working template

Automation decision tool: the columns this lesson fills

Use the T18-C04 Automation decision tool. For Cedar & Co.'s reorder trigger, record the step's own commitment point, the checkpoint placed before it, the named reviewer, and the escalation path for a suspected duplicate or error. Leave the recommendation column for Lesson 4, once the full decision method is taught.

[Download the Automation decision tool](../../templates/T18-C04-automation-decision-tool.xlsx)

Download the Automation decision tool (Excel)

11Check yourself

1. Why does an automated step keep repeating a mistake instead of catching it, according to this lesson?

2. Why did Mona hold Cedar & Co.'s second reorder trigger instead of letting Karim reserve fabric immediately?

3. A different domestic buyer's automated reorder tool fires three restock triggers for the same product within one hour, after a warehouse system outage. What should the factory's checkpoint do?

12Glossary
ENARFRTRMeaning
Fallback processالإجراء البديلProcessus de repliYedek süreçThe manual or assisted way of finishing a task if the automated version cannot complete it correctly.
Escalation pathمسار التصعيدVoie d'escaladeYükseltme yoluThe fixed route by which an automated step's error or an unclear case is passed to a named person to resolve.
Error at scaleخطأ على نطاق واسعErreur à grande échelleÖlçekte hataThe tendency of an automated step to repeat the same mistake many times quickly if its logic or input data is wrong, rather than making one isolated mistake.
Commitment pointنقطة الالتزامPoint d'engagementBağlanma noktasıThe step in a workflow after which reversing an action costs real time or money, such as cutting fabric that has already been bought.
Human oversightالإشراف البشريSupervision humaineİnsan gözetimiA person checking the output of an automated or assisted step before it is trusted or acted on.
ExceptionاستثناءExceptionİstisnaA missing, invalid, conflicting or late item that needs correction or a decision.
13Next

Lesson 4.4: Deciding whether a task should stay manual, be assisted, or be automated

Next you will learn a repeatable method for deciding whether a specific task should stay manual, be assisted, or be automated, seen through a sourcing agent's own workflow step on a hybrid order. Back to the course map

14Ladder

RecognizeName why an automated step repeats a mistake instead of catching it.
ConnectSee how a checkpoint placed before a commitment point keeps a caught error cheap.
CompareSeparate two automated outputs that look independent from two outputs that share one root cause.
DecideChoose whether to commit resources on an automated trigger or hold it for confirmation.