What should you automate?
Automate a defined piece of work with an observable result. Start with the trigger, input, decision, action and confirmation. If people disagree about what should happen, a model will not resolve that operating disagreement for you.
A useful first candidate has recurring volume, accessible evidence, a clear owner and recoverable mistakes. A poor candidate depends on undocumented exceptions or leaves nobody responsible when the automation cannot finish.
A concrete task
“When an approved request arrives, create one internal work item with its source reference and route it to the responsible team.”
An unclear task
“Improve operations with AI.” There is no trigger, output, permission boundary or measurable definition of done.
Observe the current process before redesigning it. Record waiting time as well as handling time, ask staff about exceptions and find the system that holds the authoritative state. Removing one handoff may be more useful than adding a new agent.
Take it with you. Define the work and its owner before introducing automation.
How do you turn a process into a contract?
Write a compact process contract: what starts the work, what data is required, which system decides the truth, what can change and how completion is confirmed. Put exceptions on the map alongside the happy path.
Distinguish the source event from the operation you want to perform. One event can be delivered twice, and one business case can generate several legitimate events. Deduplication needs to reflect those meanings, not just compare two strings of text.
Swipe or scroll the table on small screens.
| Part | Example |
|---|---|
| Trigger | A request moves to an approved state. |
| Required data | Source reference, organization, category and responsible owner. |
| Decision | Map a known category; route unknown categories for review. |
| Action | Create one internal work item for this approved request version. |
| Confirmation | Store the destination task identifier and source link. |
| Exception | Missing owner, revoked approval, failed permission or unknown write outcome. |
Version the contract so a change in the process can be traced to a change in behavior. Keep examples of inputs and expected outputs with it; those examples become acceptance checks.
Take it with you. A process is ready to automate when its normal and exceptional outcomes can be described.
Where does a model belong?
Use code for arithmetic, schema validation and known business rules. Use a model where language or interpretation is the difficult part: extracting a draft summary, suggesting a category or organizing unstructured evidence. Validate the result before it drives an action.
If the sequence is known, keep the sequence in a workflow. Consider an agent only when the next step depends on evidence discovered along the way. More autonomy requires more permission checks, stopping rules and evaluation.
Swipe or scroll the table on small screens.
| Problem | Useful starting point | What to verify |
|---|---|---|
| A date or amount must match a rule | Deterministic validation | Boundary values and invalid inputs. |
| Free text must be categorized | Model-assisted classification | Evidence, valid categories and ambiguous cases. |
| Several known steps must happen in order | A durable workflow | Transitions, retries and partial completion. |
| The next lookup depends on new findings | A bounded agent | Tool scope, step budget and escalation. |
Anthropic’s workflow and agent distinction is a useful reference. Treat it as an architectural choice driven by the task, not a maturity ladder that every process must climb.
Take it with you. Place the model where uncertainty exists, and keep deterministic checks around its output.
How should systems exchange work?
Prefer a documented integration with explicit authentication and result semantics when one is available. Define the service account’s scope, rotate credentials through the approved mechanism and keep secrets out of model context.
A successful HTTP response can confirm that a request was received without confirming the final business outcome. Read the integration contract: does it return a completed object, an asynchronous job or only an acknowledgement? Store the identifier needed to check later.
Useful integration result
A typed status, destination object identifier, observation time and a reference back to the source request.
Insufficient integration result
“Looks good.” There is no way to tell whether an object exists, which account it belongs to or how to reconcile it.
Plan for expiration, rate limits, missing permissions, changed schemas and unavailable destinations. If browser automation is the only available interface, test for layout changes and uncertain results; a clicked button is not proof of completion.
Separate test and production destinations. Use synthetic records while developing the workflow and make the active environment visible to operators.
Take it with you. An integration must make the resulting state observable, not just send a request.
How do you make retries safe?
Retries solve some temporary failures and create others. Repeating a read is usually different from repeating a write. Before retrying a consequential operation, establish whether the original attempt might already have succeeded.
Use a durable work queue with stable operation identifiers, bounded retries and an exception path. A worker should be able to restart and discover what happened without relying on its previous memory.
A timeout is not the whole story
A fictional task-creation request lost its response. Step through recovery without creating a duplicate.
- 01Receive
- 02Reserve
- 03Dispatch
- 04Reconcile
- 05Confirm
Idempotency must be enforced by the destination or by a reliable reconciliation design; adding a key to a log is not enough. If the system cannot establish the outcome, keep it marked unknown and let the assigned owner resolve it.
Backoff reduces repeated pressure on a failing service. A retry ceiling prevents an item from circulating forever. Persist the count and failure context so restarting a worker does not reset the history.
Take it with you. Retry known temporary failures; reconcile unknown write outcomes. See Amazon’s explanation of safe retries.
How do you estimate the operational benefit?
Measure the current handling effort and the proposed review effort for the same type of work. Add maintenance, exception handling and setup. Saving five minutes on a common task can matter, but creating an hour of extra review can erase the gain.
Time made available is not automatically cash saved. The team may use it to handle more work, reduce waiting or improve quality. Define which outcome you are trying to improve and how you will observe it.
Will this give the team time back?
Include review and maintenance. Change the assumptions to find a workflow that adds work.
Use a sample from real operations to replace the fictional assumptions before planning a rollout. Compare routine work and difficult exceptions separately. Averages can hide the small group of cases that consume most of the team’s time.
Keep quality visible in the decision. A faster process that sends work to the wrong team creates downstream cost even if its local metric improves.
Take it with you. Count the work that remains and the work the automation creates.
How should you introduce the workflow?
Move through explicit stages: offline checks, shadow mode, a limited supervised pilot, then measured expansion. Each stage should have an owner, entry criteria and a way to stop. A demonstration is evidence about the demonstrated cases, not the whole operating environment.
In shadow mode, compare proposed actions with the work people actually perform without letting the automation change the destination. In a pilot, limit the scope and volume so exceptions can be handled promptly.
Is this pilot ready to turn on?
These are evidence checks for a teaching scenario, not a substitute for your organization’s release process.
Before enabling writes, exercise the stop control and decide what happens to actions already dispatched. Rolling back software does not automatically reverse an email or external record change. Recovery may require a separate authorized correction.
NIST’s AI RMF 1.0 is a voluntary reference for lifecycle risk management. Use the relevant ideas to define evidence and ownership; it is not a deployment approval or a certificate for this workflow.
Take it with you. Expand based on observed outcomes and recovery evidence, with a clear owner for every stage.
What needs attention after launch?
Watch both the process and its dependencies. Monitor age of unfinished work, error categories, unknown outcomes, duplicate prevention, review burden and downstream confirmation. Alert when an owner can take a meaningful action, and provide the context needed to do it.
A workflow can appear healthy while silently producing low-quality outputs. Sample completed work and compare it with source evidence. Recheck performance after prompt, model, rule, tool or source changes.
- Keep a runbook with the process owner, dependency owners and escalation path.
- Record versions, operation identifiers, confirmations and corrections.
- Review aged exceptions and unknown outcomes until each has a disposition.
- Check credentials, permissions, retention and integration compatibility.
- Retest changed behavior and keep a recoverable version for rollback.
- Retire automations that no longer have a valid purpose or owner.
Define when repeated failure should suspend new work. Preserve the failure count across restarts, notify the responsible person and resume only through the approved recovery process. Monitoring is useful when it changes a decision, not when it repeats “still broken” forever.
Take it with you. Automation is an operating responsibility, not a one-time setup.
Turn one recurring task into a pilot brief
Use this checklist to make the next automation concrete enough for its process owner to review.
- Map the trigger, input, source of truth, action and completion evidence.
- Choose deterministic rules, a model step or an agent based on the actual uncertainty.
- Define permissions, test destinations and approval requirements.
- Design duplicate handling, bounded retries, unknown outcomes and escalation.
- Estimate handling time, review, exceptions, upkeep and the intended benefit.
- Specify shadow checks, pilot limits, monitoring, a stop control and recovery owners.
Check your understanding
Choose one answer per question. You’ll see the explanation immediately. Use Reset quiz to try again; this is a learning exercise, not a certification.
Quiz answers are saved in this browser only. Labs reset when you reload.