RPA or API automation: what is the difference?
Robotic process automation copies what a person does on screen; API automation talks to a system directly. A plain comparison of how each works and where each fits.
In this post
Robotic process automation (RPA) and API automation both make a computer carry out steps that a person would otherwise do. They differ in how they reach the system. RPA works through the screen of an application, the way a person does. API automation connects to the system's own programming interface. This post compares the two on what they connect to, how they follow the work and what happens when the systems change.
What RPA is
The Robotic process automation article on Wikipedia describes RPA as a type of business process automation that uses "scripts that mimic human interaction with application user interfaces." The software reads and enters data in the same screens a person would use, and clicks through them in the same order.
RPA runs according to "a predefined workflow." The steps are written down in advance, and the bot follows them. The article also says RPA "should not be confused with artificial intelligence." It is rule-based automation, not a system that learns the work.
What API automation is
The same article describes the older approach for comparison. In traditional workflow tools, developers script actions that "interface to the back end system using internal application programming interfaces (APIs)." The automation talks to the system directly, through the interface the system provides for that purpose, rather than through its screens.
In practice this means the automation does not need to read a screen to find a field. It sends a request to the system and receives a response. The article does not describe API automation in more detail, so this post does not go further than that.
Comparison
| Question | RPA | API automation |
|---|---|---|
| What it works through | The application user interface, as a person would | The back-end system through its internal APIs |
| How it follows the work | A predefined workflow | Scripted actions in a workflow tool |
| Is it AI? | No. The article says it should not be confused with AI | The article does not classify it this way |
| What happens when the system changes | Bots need continual technical support to handle changes | The article does not compare maintenance for this approach |
The table has only the points the source covers. Where the source is silent, the cell says so, and no comparison is made from memory.
The common ground
Both approaches automate steps that someone has already defined. The RPA article describes a predefined workflow, and the traditional approach it compares against scripts actions in a workflow tool. In both cases the work has to be described before it can be automated, and the description becomes the program.
The difference is the surface the automation touches. RPA touches the application as a person sees it, through its screens. API automation touches the system through the interface built for that purpose. The first depends on how the screen is laid out. The second depends on what the interface offers.
Limits when systems change
The RPA article states that current RPA solutions need "continual technical support to handle system changes," so bots require upkeep when the underlying systems change. The word the article uses is "continual," which describes ongoing work after the bot is built, not a one-time setup. Because RPA copies the screens, a change to a screen can affect the steps that depend on it. The predefined workflow cannot adapt on its own.
The article does not state a corresponding maintenance requirement for API automation, so this post does not claim one.
What to clarify before choosing
Before you pick either approach, the question that matters is what the steps are and which systems they touch. The sources here do not recommend one approach over the other, and this post does not do so either. Two points from the sources bear on the choice:
- RPA follows the steps it is given, in the order it is given them. A workflow that is not written down clearly cannot be followed by a bot.
- RPA is tied to the screens of the application it uses. API automation is tied to the system's interface. Each of those is part of the system you would be connecting to.
For the process-side questions, which business processes are worth automating walks through what to write down first. The approach page describes how CntrLogic starts with a process before looking at automation. To discuss your own situation, use the contact page. The about page describes CntrLogic.
Where to read more
- Robotic process automation on Wikipedia, which defines RPA and its limits
- Business process mapping on Wikipedia, for describing a process before it is automated
Sources
- Wikipedia, "Robotic process automation": https://en.wikipedia.org/wiki/Robotic_process_automation