NinA AI Agency

Knowledge · automation

RPA or AI agents? The difference and when to choose which

RPA mimics what a person does on a screen: clicking and typing according to fixed rules. An AI agent reads emails and PDFs, weighs things up and prepares work for a person to check. A workflow in a tool like n8n connects systems through their APIs. They don't replace each other. The real question is which step in your process needs which technique.

  • By Olaf Lemmens
  • Updated 27 October 2026
  • 12-minute read

One invoice, three techniques

Example
  1. FlowInvoice comes inThe workflow picks up the PDF from the accounts payable inbox.
  2. AIAI reads the invoiceSupplier, amounts, VAT and purchase order number, even in a new layout.
  3. FlowCheck through the APIDoes the purchase order exist and is the amount right? Mismatches go to a separate list.
  4. RPABot prepares the entryIn the old finance package without an API, as a draft.
  5. HumanAccounts payable approvesOne click, or correct it first.

The short answer

AI doesn't replace RPA, but it does take over the work where RPA gets stuck. RPA follows fixed rules on fixed screens and suits stable, high-volume work in systems without an API. An AI agent reads unstructured input, such as emails, PDFs and free text, and makes judgement calls within limits, with a person who checks. A workflow connects systems through their APIs. Often the answer is a combination: rules where you can, AI where you must, and a person where it matters.

One sentence per technique:

  • RPA mimics what an employee does on screen. Fast and precise, as long as nothing changes.
  • A workflow talks directly to your systems through their APIs. Predictable and light to maintain.
  • An AI agent understands what's there and chooses the steps itself. Flexible, but with limits and a person keeping an eye on it.
Don't choose per tool, choose per process step. Then you'll see where a bot, a workflow or AI fits.

What is RPA?

RPA stands for robotic process automation: software robots that operate a user interface the way a person does. A bot opens a program, clicks buttons, copies a value from one screen and pastes it into another. Well-known names are UiPath, Blue Prism and the desktop flows in Microsoft Power Automate.

The bot follows rules that were set in advance, often by recording an employee's actions and then refining them. The bot knows where a field is and what goes in it, but not what it means. That's its strength, and also its weakness.

What RPA is good at

  • Work that goes exactly the same way every time
  • High volumes, including at night and at weekends
  • Systems without an API, such as an older ERP or the web portal of a party you have no integration with
  • Results without having to change the underlying system

Where RPA gets stuck

  • A screen changes. A software update, a button that moves, a field with a new name. The bot looks for something that's no longer there and stops, or fills in the wrong field.
  • The input is different. An invoice in a different layout, an order in the body of an email, a customer who fills in the form differently.
  • A judgement call is needed. Is this a complaint or a question? Can this exception go through? A rule can only handle that if someone thought of the situation in advance.

That's why RPA needs a lot of maintenance. Every change to a screen is a change to the bot. There's also a short definition in our glossary.

What does an AI agent do differently?

An AI agent understands what's in front of it. The agent reads an email, a PDF or a free-text question, pulls out what it needs and decides, within fixed limits, what the next step is. The brain is a language model. The hands are connections to your systems.

That makes an agent strong where RPA is weak:

  • Unstructured input. Every supplier sends a different invoice, every customer writes differently. An agent reads the meaning, not the position of a field.
  • Variation and exceptions. An agent can deal with a situation nobody wrote down as a rule in advance, or recognize that it's in doubt and ask a person.
  • Judgement. Summarizing, categorizing, drafting a reply, making a proposal.

On the other hand, an agent is less predictable than a rule. An agent can get things wrong, and sound convincing while doing it. That's why we build agents with fixed limits, restricted permissions and a person who approves where it matters. That's called human in the loop.

An example from our own work. At an enterprise client, 6,000 customer questions come in each month. At first, 30 percent of them had a prepared answer; now it's 80 percent, ready before the ticket opens. An employee always checks and sends. You don't build that with fixed rules: every question is worded slightly differently.

How an agent works is explained in what is an AI agent.

And where does a workflow fit in?

Between RPA and AI sits a third technique that often gets forgotten in this discussion: the workflow. A workflow tool such as n8n, Make or Zapier connects systems through their APIs, the fixed entrance through which software talks to other software. Something happens, such as a new order or a completed form, and then fixed steps follow.

The difference from RPA: a workflow doesn't operate a screen, it talks directly to the system. A button that moves or a screen that looks different after an update makes no difference. As long as the system has an API, a workflow is more stable and lighter to maintain than a bot.

A workflow can also contain AI steps: read this PDF and return the order number. And we usually build an agent inside a workflow, so there are fixed steps, checks and an approval around it.

A practical rule of thumb: if the system has an API, you don't need a bot for that part. So for existing bots, check whether the software has an API by now. How to connect per system is explained in connecting AI to your systems. Which workflow tool fits is in n8n, Make or Zapier.

In one table

RPA, workflow and AI agent side by side.

Three techniques, each with its own strength. The table shows where they differ in day-to-day work.

RPAWorkflow (n8n)AI agent
How it worksMimics clicking and typing on screens, following recorded rulesConnects systems through their APIs and runs fixed stepsGets a goal, reads and weighs things up, and chooses the steps itself
InputStructured: fixed fields on fixed screensStructured data; with an AI step, emails and PDFs tooUnstructured too: email, PDF, scan, free text
When something changesGets stuck when a screen or the input changesStable as long as the API stays the sameHandles varying input; when in doubt, passes to a person
Judgement and exceptionsNone: anything not in the rules gets stuckOnly what you think of as a rule upfrontYes, within limits you set
MaintenanceWith every screen change or software updateWith changes to the API or the processKeeping instructions, examples and the model up to date, plus monitoring
Typical useHigh volume in an older package without an APIPassing orders, leads and data between systemsReading emails, customer questions and documents and preparing a proposal
Role of the humanFixes breakdowns and exceptionsOwns the flow, picks up errorsApproves where it matters

Swipe sideways to see all columns →

The boundaries blur. RPA platforms are adding AI, a workflow can contain AI steps and some agents operate screens themselves. So choose per process step, not per tool. UiPath, Blue Prism, Power Automate and n8n are mentioned as examples.

When do you choose RPA, a workflow or an AI agent?

Ask three questions for each process step. The answers usually point the way.

  1. 01Is the input structured? Fixed fields, a form, data from a system: go on to question 2. An email, PDF, scan or free text: then you need AI to read it.
  2. 02Does the system have an API? Yes: a workflow. No: RPA for that one part, or an export as a bridge.
  3. 03Is a judgement call needed? No: fixed rules are enough. Yes: AI, with a person who approves where it matters.

RPA fits when

  • The process is stable and the screens rarely change
  • Every step is fixed in rules, with no judgement involved
  • The volume is high enough to earn back the build and maintenance
  • The system has no API, or you can't get access to it
  • RPA is already running and there are people to manage it

A workflow fits when

  • The systems have an API or a standard connector
  • The input is structured, such as an order, a form or a record in the CRM
  • You want something predictable, easy to test and light to maintain

An AI agent fits when

  • The input is unstructured: email, PDF, scan, free text
  • A judgement call is needed, with exceptions you can't all think of upfront
  • There are examples of good work, so you can show how it should be done
  • You can check the outcome and a person approves where it matters

Often an AI step in a workflow is enough: read the PDF, return the data. You only need an agent that chooses its own steps when the route differs from case to case.

None of the three fits when

  • The work comes up a few times a month. A good prompt is enough then
  • Nobody can explain how the process runs. Agree on that first, then automate
  • Standard software already does it. Buy that

In doubt about a task? Test it with seven questions. That check also shows which role the human keeps.

How do you combine RPA, workflows and AI?

By giving each technique the part it's good at. An example: invoice processing at a company with an older finance package without an API. The purchasing system does have an API.

  1. 01Workflow. An invoice arrives in the accounts payable inbox. The workflow picks up the PDF and starts the process.
  2. 02AI. An AI step reads the invoice: supplier, amounts, VAT and purchase order number. Even from a supplier with a layout it has never seen.
  3. 03Workflow. Through the purchasing system's API, the workflow checks whether the purchase order exists and whether the amount is right. Mismatches go to a separate list.
  4. 04RPA. A bot enters the booking as a draft in the old finance package, field by field, the way an employee would.
  5. 05Human. Accounts payable approves with one click, or corrects it first.

The bot doesn't have to read, the AI doesn't have to click, and the person only looks at what matters. If the finance package gets an API or is replaced, you only replace step 4.

Already running RPA?

Don't throw it away. Look at where your bots get stuck or need a lot of maintenance. Often that's exactly where the input is unstructured: an email that's slightly different, a PDF with a different layout. Put AI in front of the bot there, turning the input into fixed fields. The bot then does what it always did.

What reading unstructured input delivers

Work where AI reads what comes in and prepares it in your own systems saves clients a lot of time:

  • Van Berkel Professionals. More than 100 requests a day arrived by email and form and were retyped by hand. Now the flow is read, filtered and placed in their own systems, and a person approves every request. That saves 192 hours a month.
  • EasyToys. Product information arrives in supplier PDFs and emails. AI reads them, writes the product copy in six languages and prepares everything in the ERP. That saves 132 hours and € 6,600 a month.

In both cases the input is different every time. Fixed rules on fixed screens won't get you far there.

Where does it go wrong?

It rarely goes wrong on the technology. It goes wrong on the choice, or on what happens after go-live.

  • Choosing by vendor instead of by step. Whoever sells RPA sees bots everywhere. Whoever sells AI sees agents everywhere. Start with the process and choose per step.
  • Automating a messy process. If three colleagues do it three different ways, you automate the chaos. Agree on the process first.
  • Putting RPA on unstructured input. A bot that reads invoices from ten suppliers gets stuck on the eleventh layout. That calls for an AI step.
  • Using an agent where a rule will do. If every step is fixed, a workflow is cheaper and more predictable than AI doing the same thing.
  • Clicking where there's an API. A bot on the screen while the system offers an integration is needlessly fragile.
  • No owner and no monitoring. A bot goes quiet after a software update, an agent after a change to an integration. Without an owner, nobody notices until a customer calls.
  • Too many permissions. A bot or agent running under an account with access to everything can also get everything wrong. Give it only the permissions it needs for that one task.
  • No person in the right place. Not at every step, but where a mistake costs money or affects a customer.

What does it cost, and what are the risks?

With all three you pay for building, for licences or usage, and for maintenance. The difference is where the maintenance comes from. So don't only calculate with the price of the software, but with what it costs to keep it running for a few years.

Costs

  • RPA. Licences, building and above all maintenance. Every change to a screen, every software update and every new exception means work on the bot.
  • Workflow. A licence or hosting, building and maintenance. As long as the integrations stay the same, maintenance is light.
  • AI agent. Building, AI usage per task, hosting and monitoring. On top of that, maintaining instructions and examples, and a new model now and then.

For all three, include the exceptions that stay with a person. An automation that passes many cases on to an employee delivers less than the business case promises. How to do that calculation is in building an AI business case. What an agent costs is on what does an AI agent cost.

Risks

  • With RPA: silent failures after a screen change, a bot filling in the wrong field, and knowledge about the bot sitting with one person.
  • With an AI agent: mistakes that sound convincing, hidden instructions in emails (prompt injection), personal data passing through an AI service and costs that rise when an agent gets stuck in a loop.
  • With all three: too many permissions, no logging and nobody who owns it.

All three can be managed if you arrange it upfront: restricted permissions, logging, monitoring and a person who approves where it matters. More in using AI safely.

How does NinA approach this?

Process first, technology later. That's the first principle of our APO method, and it's exactly what this choice needs.

  1. 01We map the process. Together with the people who do the work, in measurable steps. Whatever already runs, including an existing bot, simply goes on the map.
  2. 02We give each step three numbers. How long does it take, with how many people, and how often a month? That tells you what's at stake.
  3. 03We choose per step. Does it stay human work? Do we automate it with fixed rules, through a workflow or, if there's no other way, on the screen? Or does AI do it, with a person who checks?
  4. 04We do the maths. What does it deliver, what does it cost to build, and when has it paid for itself?

In the method, choosing AI comes in two forms: AI assists (the person decides, AI does the groundwork) or human approves (AI does the work, a person checks). Fully AI is the exception. How that works is in human in the loop.

Whatever already runs stably and works well, we leave alone. We don't build an agent where a rule will do, or a bot where an integration is possible. We build workflows and AI agents in n8n ourselves, hosted in the EU.

This is how it goes:

  • AI Quick Scan. One day on site with you. A business case and a roadmap within a week. € 6,000.
  • AI Partnership. A dedicated team that builds, connects and keeps things running. From € 4,500 per month, for a minimum of twelve months. We only build within the partnership.

All amounts exclude VAT.

Questions

Frequently asked questions about RPA and AI agents.

Does AI replace RPA?

No, not entirely. AI takes over the work where RPA gets stuck: emails, PDFs, free text and judgement calls. For stable, rule-based, high-volume work in systems without an API, RPA is still a good choice. If the system does have an API, a workflow is often more stable than a bot on the screen. In many processes you combine them.

What's the difference between RPA and an AI agent?

RPA mimics what a person does on screen, following fixed rules, and gets stuck when the screen or the input changes. An AI agent understands what's there, can read unstructured input and makes judgement calls within limits. RPA is predictable but rigid. An agent is flexible, but needs limits and a person who checks.

What is intelligent automation?

Intelligent automation is the umbrella term for automation that combines fixed rules with AI. Rules, through RPA or a workflow, handle the fixed steps. AI does the reading, understanding and weighing up. Related terms are intelligent process automation and hyperautomation. The idea is always the same: rules where you can, AI where you must.

Can you combine UiPath with AI?

Yes. A common combination: AI reads the email or PDF and puts the data into fixed fields, and the bot enters them into the system. You can do that with AI components that RPA platforms offer themselves, or with a workflow that calls the AI and passes the result to the bot. Which route fits depends on what's already running, your licences and who manages it. The same principle works with other RPA tools.

Is Power Automate RPA?

Partly. With desktop flows, Power Automate operates screens and programs on a computer: that's RPA. With cloud flows, it connects systems through connectors, the way a workflow tool does. That makes a difference for stability: a cloud flow through an integration isn't affected by a screen that changes, a desktop flow is.

Should I replace my RPA bots with AI agents?

Not just like that. Whatever runs stably and needs little maintenance, you leave alone. Look at the bots that often get stuck or cost a lot to maintain. If that's down to unstructured input, put AI in front of them. If the system has an API by now, replace the bot with a workflow. You only need an agent when the work really involves a judgement call.

Can an AI agent operate screens, like RPA?

Yes, there are agents that operate a browser or program themselves. For business processes that's rarely the first choice: it's slower and harder to control than an integration through an API. If a system has no API, a bot with fixed rules is often more predictable than an agent that clicks around by itself.

What does RPA cost compared with an AI agent?

That depends on the process, not just on the technique. With RPA, a large part of the cost is maintenance: every change to a screen means work on the bot. With an AI agent, the costs are mainly building, AI usage per task and monitoring. Calculate over a few years, including the exceptions that stay with a person. At NinA we calculate that per process step in the € 6,000 AI Quick Scan. We build within the AI Partnership, from € 4,500 per month, for a minimum of twelve months. All excluding VAT.

Bot, workflow or agent: what fits your process?

In a fifteen-minute intro call we look at one process and tell you honestly which technique fits each step. Even if the answer is: keep your bot.

  1. 01

    Intro call

    Fifteen minutes, no strings. Where does work get stuck and what do you want to achieve?

  2. 02

    AI Quick Scan

    One day on site. Within a week, a business case and a roadmap.

  3. 03

    AI Partnership

    A dedicated team that builds, trains and shows what it delivers every month.

160+ organizations · Sessions rated 9.3 · Based in Amsterdam