Workflow automation
RPA and AI: what each one does, and when you need both
An RPA bot repeats exactly what it was told and an AI model makes a judgement call, so the useful design question is which step of your process needs which.
What is the difference between RPA and AI, and how do they work together?
RPA follows fixed rules to repeat steps across software, and it breaks when inputs or screens change. AI interprets messy inputs such as emails and documents, but it can be wrong. They combine well: AI reads and classifies, RPA executes the deterministic steps, and a person reviews uncertain cases.
The short version
- RPA repeats fixed, rule-based steps across software and makes no judgements of its own.
- AI models read unstructured input such as emails and documents, and their output can be wrong.
- An RPA bot tends to fail visibly when a screen changes, while an AI model can fail quietly with a plausible wrong answer.
- RPA and AI usually combine as a model that reads and classifies, a validation check, and a bot that enters the result.
- Agentic AI chooses its next step at run time, which suits variable work and is overkill for a process you can write down as rules.
What is the difference between RPA and AI?
RPA follows rules and AI makes judgements. Robotic process automation is software that repeats fixed steps across other software: open this screen, copy this field, paste it there. Artificial intelligence, in this context, usually means a model that reads unstructured input and produces its best estimate of what that input means.
That difference decides how each one fails. Given the same input and the same screens, an RPA bot does the same thing every time, so you can test it like any other program. A model may return a different answer to the same input, and a convincing answer can still be wrong. You test a model by measuring it on samples, not by checking that a script passes.
RPA and AI are not really competitors, because they answer different questions. RPA answers 'how do we do this step without a person?' and AI answers 'what does this email, form or document say?'. Many real processes contain both questions.
How do RPA and AI compare side by side?
| Question | RPA | AI model |
|---|---|---|
| What does it do? | Executes steps somebody wrote down | Interprets input and produces a judgement |
| What input suits it? | Structured and predictable, such as forms and fixed screens | Unstructured and variable, such as emails, PDFs and free text |
| Does the same input give the same output? | Yes, if the systems it touches have not changed | Not guaranteed |
| How does it usually fail? | Stops or misfires when a screen or file format changes | Returns a plausible wrong answer |
| How do you test it? | Scripted test cases | Evaluation against labelled examples, repeated after any model or prompt change |
| What is the main upkeep? | Fixing selectors and rules when applications change | Watching accuracy as inputs and models change |
What does a bot in RPA actually do?
An RPA bot operates other applications through the same interfaces a person uses. It logs in, clicks, types, reads fields and moves files. The usual reason to run one is that the target system has no usable API.
RPA bots come in two forms. Attended bots run on a person's desktop and work alongside that person. Unattended bots run by themselves, usually from a schedule or a queue. Microsoft prices them differently: attended desktop flows sit in a per-user plan and unattended capacity is sold per bot, with one bot executing one unattended desktop flow run at a time.
None of this involves intelligence. A bot does not know what an invoice is. It knows that a value sits in a certain field on a certain screen. On a stable process that is a strength, because a bot will not improvise.
How is AI used in RPA?
AI is used in RPA at the points where a bot would otherwise need a person to read something. A model reads the incoming email, invoice or form, extracts the fields and classifies the request. The bot then enters those values into the system of record using its fixed steps.
RPA with AI works best when there is a check between the two. Model output should pass through validation before a bot acts on it: required fields present, totals that add up, a supplier that exists. Anything that fails goes to a person. Without that check, a bot will enter a wrong value as faithfully as a right one.
Other common uses follow the same pattern. A model can route a support request, summarise a case for the person handling an exception, or suggest a category that a bot then applies. In each case the model supplies an interpretation, and deterministic code decides what happens next.
Does AI fix the problems with RPA?
AI fixes some RPA problems and adds others. It helps with input variation, because a model can often read a new invoice layout where a fixed template would fail. It does not stop a bot breaking when an application changes its screens.
Upkeep is the long-standing complaint. A Pega poll released in 2019, covering 509 decision makers at businesses using RPA or robotic desktop automation, all with at least $100 million in revenue, was headlined as finding RPA effective but hard to deploy and maintain. Treat that as a signal, not a measurement. Pega sells a competing approach, the firms are large and the poll is old.
The mechanism is easy to see. A bot depends on things it does not control: screen layouts, field names, login flows and other teams' release schedules. Adding a model adds more dependencies: model versions, prompts and changes in the input. You now have two components to monitor, and they fail in different ways. That can still be worth it, but it is not a simplification.
What are the risks of letting AI drive an RPA bot?
The main risk is that the bot's permissions become the model's permissions. A bot typically holds a service account with write access to real systems. Once model output decides what the bot does, anything that can influence the model can influence those actions. That includes the documents it reads, because text inside an email or PDF can carry instructions. This is known as prompt injection.
The controls are ordinary engineering. Give the bot the narrowest account that works. Treat model output as untrusted input and validate it. Let the model choose from a fixed set of actions instead of composing commands. Require a person's approval for anything hard to reverse, such as a payment or a deletion. Log the input, the model's output and the action taken, so a wrong entry can be traced later.
What is the difference between RPA and agentic AI?
RPA vs agentic AI comes down to who decides the next step. In RPA the developer fixes the path when the bot is built. In agentic AI a model chooses the path at run time, picking which tool to call based on what it has seen so far.
An agent suits work where the steps really do vary, such as an enquiry that might need an order lookup, a refund check or an escalation. It is a poor fit for a process you can write down. You would pay in run-time cost, test effort and audit complexity for flexibility you never use.
RPA and agents also stack. An agent can call an RPA bot as a tool when the target system has no API, so the model decides and the bot performs a known action. That gives the agent a narrow, predictable way to act. Vendors are blurring the labels too: the title of UiPath's pricing page reads 'Scalable Agentic Automation Solutions'. Judge a product by what decides the next step at run time, not by what it is called.
When should you use RPA, AI, both or neither?
Use RPA for stable, rule-based steps with no API. Use AI where the hard part is reading or judgement. Use both when a process has each kind of step. Use neither when a direct integration, or removing the step, would do the job.
Check first whether the step needs to exist. Automating a redundant approval gives you a faster redundant approval.
Which option fits which process?
- Use an API or plain code if the target system offers one. It is less fragile than a bot driving a screen.
- Use RPA if the steps are fixed, the input is structured, the application rarely changes and there is no usable API.
- Use an AI model if the hard part is reading or classifying unstructured input, and a mistake can be caught before it matters.
- Use both if a model's reading feeds a fixed sequence of entries in a system without an API.
- Use an agent only if the sequence of steps cannot be known in advance.
- Do nothing if the process runs a few times a month. The upkeep is likely to cost more than the time saved.
What do RPA and AI cost?
Published entry prices look small, and they are not the main cost. The ongoing spend is in upkeep: fixing bots when applications change, checking model accuracy as inputs change, and paying people to handle exceptions.
Here are two vendor examples, both read in November 2026. Microsoft lists Power Automate Premium, with attended desktop flows, at $15.00 per user per month, paid yearly, and says actual prices are confirmed at checkout. UiPath's pricing page shows $25 for its Basic plan but does not say whether that is per user or state the billing term. Basic is limited to 5 Basic, 5 Plus and 1 Pro User, and 2 robots, and users and robots may require additional licence purchases. UiPath also says an updated plan offering is coming soon, so recheck the page before you rely on this.
Those prices do not tell you what a process costs to run. Where a model is involved, model usage is a further cost that scales with volume.
Payback figures need the same care. Deloitte's 2021/22 Global Intelligent Automation survey of 479 executives from 35 countries gives pilot payback figures of 16 and 22 months. Those are pilots, not finished programmes, and company sizes are not stated, so they are not a forecast for your firm. We have no payback results of our own to quote.
How many businesses combine RPA and AI?
We do not know, and we have not found a reliable figure that measures the combination. The figures we can cite measure AI use in general and say nothing about RPA.
Eurostat reported that 8% of EU enterprises used AI technologies in 2023, in a survey covering enterprises with at least 10 employees and self-employed persons. The US Census Bureau's Business Trends and Outlook Survey, using data collected from December 2025 to May 2026, reports that firms with at least 20 employees are the biggest AI users. It asks whether a firm used AI in any business function in the past two weeks, which is a low bar.
These figures do not tell a smaller firm that it is behind, and they do not tell it what to do. The process in front of you is better evidence.
Questions people ask
Is RPA being replaced by AI agents?
Not for the work it is good at. A fixed process with structured input gains nothing from a model choosing its steps, and it loses predictability. Agents take over where the steps vary and a bot would need endless rules. Expect the two to sit side by side, with agents handling the variable cases and calling fixed automations for known actions.
Can we add AI to RPA bots we already run?
Usually, yes, and the best place to start is the intake. If a bot stops or queues work because input arrives in inconsistent formats, put a model in front of it to extract and classify, then validate the result before the bot acts. Leave the bot's existing steps alone. You are adding a reading step, not rebuilding the automation.
Do we need RPA if our systems have APIs?
Generally not. An API call is easier to test and does not break when somebody moves a button. RPA earns its place when a system has no API, when access to the API is blocked or priced out of reach, or when the automation is a stopgap until the system is replaced. Check for an API before you pay for a bot.
What should we automate first?
Pick a process that runs often, follows stable steps and has mistakes you can catch before they cause harm. Write down how many exceptions it produces today and how long each takes, because you will need that baseline to tell whether the automation helped. Avoid starting with the process everybody hates most if it is also the one with the most exceptions.
How accurate does the AI step need to be?
Accurate enough that reviewing its mistakes costs less than doing the work by hand, given what a missed mistake costs you. There is no universal number. Measure it on a labelled sample of your own documents, not on a vendor demo, and measure it per field, because a model that reads names well may still misread totals.
Should we buy an RPA and AI platform or build this ourselves?
Buy a platform if your process lives inside common applications and your team can maintain what it buys. Consider building when the hard part is specific to your documents, data or permissions, and a generic model step will not reach the accuracy you need. Either way, ask how you would get your rules, prompts and evaluation data out if you left.
Related on this site
Sources
- 8% of EU enterprises used AI technologies in 2023, Official EU survey on ICT usage and e-commerce in enterprises, covering enterprises with at least 10 employees and self-employed persons. The 3% is a share of all enterprises in scope, not of AI users, and it is not specific to firms under 50 staff. The quote starts mid-sentence. · Eurostat, data from 2023
- 2026 Report on Employer Firms: Findings from the 2025 Small Business Credit Survey, 6,525 responses from a nationwide convenience sample of small employer firms with 1-499 employees, fielded September 3 to November 14, 2025, and weighted by firm size and census division. It is not a random sample, and no under-50-staff breakdown was found on the report page. · Federal Reserve Banks (Small Business Credit Survey), data from 2025
- Large Firms With at Least 20 Employees Biggest AI Users, Business Trends and Outlook Survey, described as a biweekly, nationally representative survey, using data collected December 14, 2025 to May 3, 2026. Firms were asked whether they used AI in any business function in the past two weeks. The page gives an upper bound rather than a point estimate and does not state the sample size. · U.S. Census Bureau, data from 2026
- Survey: Most Businesses Find RPA Effective But Hard To Deploy and Maintain, Vendor-run poll of 509 decision makers at businesses using RPA or RDA in the US, UK, France, Germany, the Netherlands and Australia, all with at least $100 million in revenue. Fieldwork dates are not stated; 2019 is the release date. These are large firms, and Pega sells a competing approach. The figure is the share of respondents reporting any failure, not the share of bots that fail. · Pegasystems (Pega), data from 2019
- Robotic process automation (RPA) | Deloitte Insights, Deloitte's Global Intelligent Automation survey of 479 executives from 35 countries. Company sizes are not stated on the page. The next sentence on the page says payback is still under 18 months without naming a group and does not explain the difference, so attribute only the 16 and 22 month figures, and only to pilots. The quote starts mid-sentence. · Deloitte, data from 2021/22
- Power Automate Pricing | Microsoft Power Platform, Vendor's own US pricing page, read November 2026. The price appears on its own line, followed by the unit bot/month, paid yearly. One bot executes one unattended desktop flow run at a time. The same page lists Power Automate Premium, with attended desktop flows, at $15.00 user/month, paid yearly, and says actual prices are confirmed at checkout. · Microsoft, data from 2026
- UiPath Plans and Pricing – Scalable Agentic Automation Solutions | UiPath, Vendor's own pricing page, read November 2026. The page does not say whether $25 is per user or state the billing term. Basic is limited to 5 Basic, 5 Plus and 1 Pro User, and 2 robots, and users and robots may require additional license purchases. The page also says an updated plan offering is coming soon, so recheck before publishing. · UiPath, data from 2026