Robotic Process Automation (RPA) Explained
RPA software bots click and type through apps the way people do. How RPA works, attended vs unattended bots, good use cases, and why bots break so easily.
Robotic process automation (RPA) is software that operates other applications through their user interface, clicking, typing, copying and pasting the way a person would. The "robots" are scripts, not machines. RPA is popular because it can automate work across old systems without changing them. Its weakness is the same thing: when a screen changes, the bot can break.
What RPA is, and isn't
The clearest academic definition comes from a 2018 editorial by Wil van der Aalst, Martin Bichler and Armin Heinzl. They call RPA "an umbrella term for tools that operate on the user interface of other computer systems in the way a human would do" [1]. They describe it as an "outside-in" approach: unlike traditional workflow technology, "the information system remains unchanged" [1].
That's the key idea. A normal integration changes systems so they exchange data through an API or a database link. RPA leaves every system alone and puts a software worker on top.
Microsoft's documentation for its own RPA tool makes the same point from the practical side. Desktop flows are "for automation where no connector or API is available," because "many legacy applications don't have a method for accessing their data or functionality except through their user interface" [2].
RPA is not:
- Physical robotics. No arms or wheels. For those, see our guide to autonomous mobile robots.
- AI by default. Classic RPA follows explicit rules. Adding machine learning or language models turns it into what the industry calls intelligent automation; see RPA vs intelligent automation.
- An AI agent. An agent decides its own steps toward a goal. An RPA bot runs a script. For the difference, see what agentic AI is.
How an RPA bot works
- Record or build. A developer records mouse clicks and keystrokes, or assembles steps in a visual editor. Microsoft's tool, for example, records "mouse clicks, keyboard inputs, and data entry" and then lets you edit the recorded steps [2].
- Target screen elements. The bot identifies the buttons, fields and tables it needs to act on, and can extract information back out of the application's interface [2].
- Add rules. If-then logic, loops over rows in a spreadsheet, error handling and waits for slow screens.
- Run. The bot executes on a desktop or virtual machine, either on demand or on a schedule.
- Orchestrate and monitor. A central console queues work, assigns bots to machines, stores credentials and logs every run.
Attended vs unattended bots
Attended | Unattended | |
|---|---|---|
Who starts it | A person, on their own machine [2] | A schedule or another system [3] |
Where it runs | The user's desktop, while they watch | A dedicated or virtual machine, unobserved [2][3] |
Typical use | Helping one worker with part of a task | High-volume back-office batches |
Human judgment | The user can step in | Exceptions go to a queue for people |
Unattended operation has practical constraints. In Microsoft Power Automate, for example, unattended desktop flows are triggered from cloud flows. The service opens a remote desktop session, keeps the screen locked while the bot runs, and needs a machine with all users signed out. Unattended runs can't use elevated privileges, and they require a specific paid plan [3]. The documentation also warns that the remote session's screen resolution can differ from the one the flow was built on. That can cause errors, "or even interacting with the wrong element," when a bot relies on mouse positions [3].
Where RPA fits best
Van der Aalst and colleagues frame RPA through the "long tail of work". Very common, highly structured case types are worth automating with traditional integration. Rare and unusual cases still need people. RPA targets the middle: work that is repetitive but not frequent enough to justify building a full integration [1].
Good candidates share these traits:
- High volume of the same steps.
- Structured, digital inputs (forms, spreadsheets, fixed screens).
- Clear rules with few judgment calls.
- Stable applications that don't change often.
- No practical API, or an API that would take far longer to build against.
Common examples:
- Finance: copying invoice data between systems, matching payments, monthly reconciliations.
- HR: setting up a new hire in several systems at once. The 2018 editorial's motivating example is a staff move between universities, where salary, pension, personnel and other systems all need updating [1].
- Customer operations: updating an address in every system that holds a customer record.
- IT: routine account and access tasks, ideally within your identity and access management controls.
Benefits
- Speed to value. No changes to the underlying systems [1].
- Works with legacy apps. Including ones with no API at all [2].
- Consistency. A bot does the same steps every time and logs them.
- Frees people from tedious work. The editorial's point is that humans otherwise act as "glue" between disconnected systems [1].
Limitations and risks
- Brittle. Bots depend on screens staying the same. A redesigned page, a new pop-up or a different screen resolution can break a flow or make it act on the wrong element [3].
- Technical debt. RPA can paper over integration problems that should be fixed properly. Hundreds of bots become a maintenance burden of their own.
- Rules only. Classic RPA can't read a messy email, judge an exception or understand a scanned document without added AI components.
- Security. Bots often hold credentials to many systems. Treat each bot as a privileged identity, with least privilege, secret vaulting and audit logs.
- Hype risk. The 2018 editorial notes that RPA was then near the "peak of inflated expectations" in Gartner's hype cycle and compares it to the 1990s hype around straight-through processing [1].
How to decide if RPA is right
- Check for an API first. If one exists and is maintained, a proper integration is usually more robust than screen automation.
- Measure volume and stability. High volume plus stable screens is the sweet spot. Frequent UI changes mean frequent bot fixes.
- Map exceptions. Decide who handles the cases the bot can't, and how bots hand them over.
- Plan governance. Name owners for each bot, version control, credentials management and monitoring.
- Consider the next step. If the process involves documents, emails or judgment, look at intelligent automation or AI agents with tool calling instead of rules-only bots.
Outlook
RPA vendors are repositioning around AI. UiPath, one of the dedicated RPA vendors the 2018 editorial lists [1], now describes RPA robots working alongside AI agents in what it calls agentic automation, according to its own website [5]. IEEE already treats RPA as one member of a broader family of "software-based intelligent process automation", alongside AI, cognitive computing and machine learning [4]. Expect rules-based bots to keep doing the stable, high-volume steps, with AI models handling the unstructured inputs and decisions around them. For how companies build those hybrid systems, see building enterprise AI agents.
Frequently asked questions
Is RPA a type of artificial intelligence?
Not on its own. Classic RPA follows explicit rules and recorded steps. IEEE groups it within a wider family of intelligent automation [4], and vendors such as UiPath describe intelligent automation as RPA combined with machine learning and AI capabilities such as document understanding [5].
What is the difference between attended and unattended RPA?
Attended bots run on a user's own machine when the user starts them. Unattended bots run on separate machines, triggered by schedules or other systems, with no one watching [2][3].
Why do RPA bots break?
Because they depend on the user interface. If a button moves, a field is renamed, a pop-up appears or the screen resolution differs, the bot may fail or act on the wrong element [3].
When should you use an API instead of RPA?
Whenever a maintained API exists and the integration is worth building. RPA is mainly for systems with no practical API, or where building one isn't justified by the volume [1][2].
Does RPA replace jobs?
It replaces tasks, mainly repetitive data entry between systems. The 2018 editorial describes RPA as partly replacing the human "glue" between systems, while unusual cases still need people [1].
Sources
- van der Aalst, W., Bichler, M., Heinzl, A. "Robotic Process Automation." Business & Information Systems Engineering 60(4), 2018, pp. 269โ272. Author copy: https://www.vdaalst.com/publications/p980.pdf
- Microsoft Learn. "Power Automate for desktop" (training module). https://learn.microsoft.com/en-us/training/modules/robotic-process-automation/2-pad
- Microsoft Learn. "Run unattended desktop flows." https://learn.microsoft.com/en-us/power-automate/desktop-flows/run-unattended-desktop-flows
- IEEE Standards Association. "IEEE 2755 Standards to Bring Clarity and Objective Guidance to Software-Based Intelligent Process Automation Space." https://standards.ieee.org/beyond-standards/ieee-2755-standards-to-bring-clarity-and-objective-guidance-to-software-based-intelligent-process-automation-space/
- UiPath. "What is Robotic Process Automation" (company page). https://www.uipath.com/rpa/robotic-process-automation