Repeated operational work is an obvious candidate for automation, but frequency alone does not determine the best investment. A task may be unnecessary, poorly designed or dependent on judgment that the team has not yet made explicit. Measuring the work first helps distinguish an automation opportunity from a process problem.
The Google SRE workbook chapter on eliminating toil provides the underlying concept: operational work that is repetitive and scales with service demand can consume engineering capacity without producing lasting improvement. This guide uses that idea to build a practical measurement and prioritization process, without assuming that every manual action should disappear.
Define the task at a useful level
Choose a unit of work that has a recognizable trigger and outcome. “Operations” is too broad to measure. “Investigate and replay a failed report export after a known transient error” is specific enough to observe, compare and improve.
Describe the beginning and end of the task. Does the measurement start when an alert arrives, when a person begins investigating or when they execute the recovery? Does it end when the command completes or when the customer receives the result? Different boundaries produce different numbers, so record them explicitly.
For a fictional analytics service, separate routine export replays from investigations into unknown failures. They may begin with the same alert but require different judgment and carry different risks. Combining them into one average can make an automation proposal look simpler than the work really is.
Observe the current workflow before redesigning it
Ask the people who perform the task to walk through recent examples. Record the systems they use, the decisions they make and the information they gather. Include workarounds that are absent from the official procedure, because those often reveal where the process is actually fragile.
Use a short observation period that captures representative activity. A quiet week may miss month-end work, while an incident-heavy week may overstate normal demand. State the limitations of the sample instead of treating it as a permanent measure of the service.
Avoid turning measurement into intrusive individual monitoring. The objective is to understand a workflow and improve the system, not rank people by how quickly they handle difficult cases. Aggregate task evidence and involve the operators in interpreting it.
Separate touch time from elapsed time
Touch time is the period a person actively works on the task. Elapsed time includes waiting for approvals, jobs or other teams. Both matter, but they imply different improvements. A task with little touch time and long waiting time may need better coordination rather than a faster script.
For the export example, an operator may spend several minutes confirming the error and another few minutes initiating a replay, while the job itself runs for an hour. Automating the replay command does not remove the processing hour. It may still be valuable, but the expected benefit should be stated accurately.
Record interruptions and context switching where they are meaningful. A short task that repeatedly breaks focused work can be more disruptive than its summed minutes suggest. Describe that effect qualitatively if the available evidence does not support a precise numerical estimate.
Count demand and variation
Measure how often the task occurs and what causes it. Is demand proportional to customer growth, deployments, a particular integration or a recurring schedule? Understanding the trigger helps predict whether the work will grow and whether the underlying cause can be removed.
Capture common variants. Some cases may follow a simple deterministic path, while others require escalation or data repair. The automatable portion may be narrower than the task’s name suggests. A useful first version can handle the safe common case and route exceptions clearly.
Look at distribution rather than only an average. A few long or risky cases may dominate the operational burden. Identify whether those cases are genuinely the same task or should be treated as a separate problem with a different owner and solution.
Record errors, rework and consequences
Time savings are only one benefit of improvement. Manual steps may produce inconsistent results, missed checks or repeated work. Capture those outcomes using actual examples when available, without inventing an error rate from anecdote.
Describe the consequence of a mistake. Replaying an idempotent internal calculation differs from sending a duplicate customer notification or applying a financial action twice. The risk determines how much validation and control an automated path needs.
Also consider whether the current task creates useful understanding. Some manual investigations reveal product defects or emerging dependency problems. Automation should preserve those signals rather than hiding them behind an endless sequence of successful retries.
Ask whether the work can be removed
Before building a tool, examine why the task exists. A validation error might be prevented earlier. A recurring access request might be replaced by an appropriate role model. A noisy alert might need correction rather than automated acknowledgment.
For the export service, repeated replays after a known race condition may suggest fixing the race rather than building an elaborate replay console. Compare the effort, risk and durability of those alternatives. The shortest implementation is not always the lowest long-term cost.
Document the decision to retain the task when it remains necessary. Some approvals or checks represent a deliberate control. The goal is to reduce unnecessary effort while preserving the purpose of the workflow, not to remove a human step simply because it is inconvenient.
Estimate the full cost of automation
Include implementation, testing, access management, documentation and maintenance. An automation that calls a changing third-party interface will need ongoing care. A script that only one person understands can shift the burden rather than eliminate it.
Estimate benefits using measured demand and the portion of touch time the tool can realistically remove. Keep uncertain assumptions visible. If future demand is speculative, show a range of scenarios rather than one precise payback date.
Consider operational risk alongside effort. Automation can execute a mistake faster and at larger scale than a person. Bound the initial scope, define permissions and provide a way to stop the process. The value case should account for these controls rather than treating them as optional extras after development.
Make judgment points explicit
List the decisions an operator currently makes: whether the failure matches a known condition, whether the job is safe to replay and whether customer communication is needed. Determine which decisions can be expressed with reliable evidence and which remain ambiguous.
A useful automated workflow can gather evidence and propose an action without performing every step autonomously. For example, it might confirm a known transient error, check the idempotency key and prepare a replay for approval. The appropriate level of autonomy depends on consequences and confidence.
Define exception handling before launch. When required evidence is missing or contradictory, the tool should stop or route the case to an owner. A fallback that silently assumes the common case is not a reliable way to manage uncertainty.
Run a bounded pilot
Choose a small scope and compare outcomes with the original workflow. Measure the same task boundaries used in the baseline. Track successful completions, exceptions, operator intervention and any new failure modes introduced by the tool.
Do not claim success solely because the automation ran without crashing. Verify that the intended work completed correctly and that operators spent less effort overall. A tool that saves a minute during execution but creates frequent troubleshooting may not improve the workflow.
Collect feedback from the people who use it. They may identify missing context, confusing messages or cases the initial design overlooked. Treat those findings as evidence for refinement, not resistance to automation.
Preserve visibility after rollout
The automated path needs logs, ownership and a maintained runbook. Operators should be able to see what it did, why it acted and which cases it declined. Avoid logging sensitive payloads when identifiers and controlled references are sufficient.
Review demand after the change. If the underlying failure rate continues rising, automation may be masking a product problem. Keep an indicator of the original condition so that successful automatic recovery does not erase the reason for engineering follow-up.
Retire obsolete manual instructions and clarify when the fallback is appropriate. Two competing procedures can produce duplicate actions or inconsistent outcomes. The transition is complete when the team knows which path is authoritative and how to recover if it fails.
Choose the next improvement from evidence
Use the measured results to decide whether to expand the automation, improve its exception handling or address the underlying cause. Keep the backlog focused on tasks with clear demand, meaningful consequences and an owner who can validate the outcome.
A good toil-reduction program does more than accumulate scripts. It creates a repeatable way to see where effort goes, remove unnecessary work and automate bounded decisions safely. The measurement is valuable because it keeps that work connected to real operational outcomes.