Skip to main content

When to Use an AI Agent or Workflow Automation

Choose rules, AI assistance or an agent by looking at the input, decision and cost of a mistake.

A fixed route and a branching route converge on one task, with the question Agent or Workflow?

Imagine a customer writes, “I was charged again after my subscription ended.” Your software needs to identify the account, look up its billing history and decide what to tell the customer. Reading the message is messy. Looking up authorised records and approving a refund follow clear rules. One system can handle all three jobs, with different levels of discretion for each.

Look for the uncertainty in the task

StepSensible starting pointReason
Verify the account and read its paymentsFixed application flowThe owner and record boundaries are explicit
Classify the free-text complaintModel-assisted stepCustomers describe the same issue in different words
Search several sources for a known policyBounded agent or retrieval workflowThe right lookup may depend on what the earlier search found
Issue a refundAuthorised staff action or policy-bound workflowThe effect is costly and needs a recorded decision

A workflow has a defined path with branches you can enumerate. An agent can choose its next step after seeing what a tool returned. That choice is useful during investigation when search terms and references change. It is harder to audit if the same agent also controls the account or decides which action is allowed.

Try the expensive mistake before handing over more control

Suppose two invoices match the customer’s description. Ask how the system would find the right one. If the chosen invoice is ambiguous, return the two candidates and explain the difference. Freeze external changes until an authorised person or a verified rule resolves it. Give the system a budget for lookups, a stopping condition and an explicit place to send uncertain outcomes.

Three useful pilot examples are a case that matches one policy, one that takes two sources to investigate, and one that must stop. Check the trace. Did the system search because it needed evidence or simply because a tool was available? Was there sufficient proof before the recommendation? Could a reviewer tell which policy the suggestion used?

Start with the least complex path you can observe. Add agent-like steps when you repeatedly see real cases that need a decision about what to investigate next. Keep side effects narrow and identifiable, so the next step can be retried or reviewed independently.

Sources

Build a project

© 2026 All rights reserved.