Comparison

AI agent, RPA or plain automation: which does your process need?

Three tools that are often sold as one. The difference is how much judgement the work needs, and that decides the cost.

Most processes need plain automation: when the input always arrives in the same shape and the steps never vary, connect the systems and write the rule. RPA is for the case where the only way into a system is its screen. An AI agent is for the part of the work where a person currently reads something and decides what to do.

Most processes that are described as needing an AI agent do not need one. Some need a rule. Some need two systems connected. A few need something that can read and decide. Telling them apart before you buy saves the most money.

The three tools side by side

Plain automationRPAAI agent
Input it handlesStructured, always the same shapeStructured, entered through a screenUnstructured or varied: emails, documents, free text
How it reaches your systemsAPIs, webhooks, database connectionsThe user interface, as a person wouldTools you define, which your own software runs
How it decidesFixed rulesA fixed scriptA language model chooses the next permitted step
What breaks itA changed API or data formatA changed screen layoutUnclear instructions, poor data, untested edge cases
How you check itSame input gives the same outputSame input gives the same outputA test set of real cases, scored after every change
Running costLow and steadyUpkeep whenever a screen changesModel fees per case, plus testing and review

Plain automation: when the steps never vary

If the input always arrives in the same shape and the response is always the same, connect the systems and write the rule. It is cheap, fast and easy to audit. A new order creating a row in the accounts system does not need a model.

Workflow tools are built for exactly this. The n8n documentation, for example, describes a workflow as a set of connected steps, called nodes, that starts running when a trigger condition occurs. A form submission, a new row or a payment notice is the trigger. Each step after it does one fixed thing. Because nothing is interpreted, you can test it once and trust it until one of the connected systems changes.

RPA: when the system has no way in

Robotic process automation drives an application through its screens, the way a person would. It earns its place when an old system has no API. It is brittle: a changed screen layout breaks it, and it does nothing with input it was not scripted for.

Microsoft's account of its own RPA product is a fair summary of the category. Its desktop flows are meant for rule-based tasks on a workstation, including work in legacy applications such as terminal emulators, and they operate through interface elements, images or screen coordinates.

The brittleness is documented by the vendors themselves. An RPA script finds a button or a field through a selector, a stored description of where that element sits in the application. UiPath's documentation notes that identifying elements by screen position can be unreliable, and that a selector stops working if an attribute it relies on changes each time the application starts. Microsoft lets you define several selectors for one element, so that the next is tried when one fails. That helps, but it is upkeep you should budget for. Before choosing RPA, ask the system's vendor whether an API or an import file exists. If one does, it is usually the cheaper route.

An agent: when someone has to read and decide

An agent is the right tool when the input is unstructured or varies: an email that could be a complaint or an order, an invoice in any layout, a request that needs three systems checked before it can be answered. It reads, chooses a permitted next step and acts through tools.

The mechanics matter to a buyer. The model does not touch your systems directly. As Anthropic's documentation explains, the model only issues a structured request, and your own software carries out the operation and passes the result back. What the agent can and cannot do is therefore set by the tools you give it, in code, and not by how firmly the instructions are worded.

The price of that flexibility is cost and predictability. Anthropic's guidance for builders says to look for the simplest solution, add complexity only when it is needed, and states the trade plainly: “Agentic systems often trade latency and cost for better task performance.” An agent can also take a different route to the same answer on different days, so it needs a test set built from real work, not a single check.

A simple way to place a process

  • Same input, same steps, every time: automation.
  • Fixed steps, but the only way in is a screen: RPA.
  • Varied input, and a person currently reads it to decide what to do: an agent.
  • A mixture: rules for the routine cases, an agent for the rest.

To apply this, sit with the person who does the work today and answer five questions.

  1. What arrives, and from where: a form, a file, an email, a phone call?
  2. Does it always have the same fields in the same places?
  3. Do the systems involved offer an API, an import file or only a screen?
  4. When the person decides something, could you write that decision as a rule with no exceptions?
  5. What does one wrong action cost, and who would notice?

If the answer to the fourth question is yes, you need a rule, however complicated the work feels. If it is no because the input has to be read and interpreted, that step is a candidate for an agent. The fifth answer decides where a person must approve.

The usual answer is a mixture

In practice the dependable design uses all three. Rules handle everything they can, because they are cheap and exact. The agent handles what needs interpretation. A person approves what is costly to get wrong. Starting with the agent and adding rules later is the expensive way round.

Take supplier invoices as an illustration. A rule files every email from a known supplier address into one queue. An agent reads each invoice, whatever its layout, and matches it to an order. If the accounts system is old and has no API, an RPA script types the approved entry into its screens. A person approves anything above an agreed amount. Each tool does the part it is good at, and the costly one handles only the cases that need it. Our article on invoice processing follows that design in detail.

Common questions

Is RPA obsolete now that agents exist?

No. Where a legacy system has no API and the steps are fixed, a script is cheaper to run and more predictable than a model. An agent and an RPA script often sit in the same design: the agent decides what should be entered, and the script enters it.

Can an agent replace the automations we already have?

It could, and it should not. A rule that works is cheaper to run, faster and easier to audit than a model doing the same job. Keep the rules and put the agent in front of the cases they cannot handle.

Which of the three is cheapest?

Plain automation, wherever it fits: you build it once and it costs little to run. RPA adds upkeep each time a screen changes. An agent adds a model fee for every case it handles and the standing cost of testing and review, so it earns its place only on work that rules cannot do.

How do we find out which one our process needs?

Map one process step by step and mark each step as rule, screen or judgement. The aim is to find the few steps where judgement is really needed, and to automate the rest the plain way. If you would like a second opinion on the map, get in touch.

Sources and further reading

The assessment is the same thinking, applied to your systems.

Two to three weeks, a scope agreed in writing before it starts, and a document you can act on whether or not you hire us for the build.