arXiv:2611.03853cs.AINov 2026

Manuscript Offprint

arXiv:2611.03853

Performance, Scalability and Maintenance: An Experimental Study of RPA vs. Autonomous Agents in the Healthcare Domain

Daniel Schulz, Pedro Cabral Buchaim, Bernardo Soares, Fernando Rafael Ensslin Schwengber, Lorenzo Farias, Daniela Duarte da Silva Bagatini, Ana Paula Wernz da Cunha Müller

Abstract

Healthcare information systems are fragmented, and retrieving data from legacy web portals is a recurrent need. Robotic Process Automation (RPA) is deterministic but sensitive to interface changes, whereas autonomous agents based on large language models (Agent Process Automation, APA) promise adaptability at a higher computational cost. Following Design Science Research, we developed and compared an RPA solution (Playwright) and an APA solution (browser-use, LangGraph and Gemini 2.5 Flash-lite) to retrieve mammography and breast ultrasound reports from a laboratory portal, treating reports solely as informational artifacts. Across two rounds (T and T+7), RPA reached 98.90% accuracy and 98.27% F1-score versus 96.49% and 94.48% for APA, was about 13 times faster (16.07 s vs. 207.21 s per patient) and cost about six times less per report (USD 0.030 vs. 0.187). Both reached 100% step success rates; APA varied more over time. For a stable interface, RPA was superior.

Keywords: Robotic Process Automation, Agent Process Automation, Large Language Models, Healthcare Information Systems, Design Science Research, Web Data Extraction

1 Introduction

Process automation has been used to achieve results with minimal human intervention. Robotic Process Automation (RPA) reduces costs and execution time and allows routine tasks to be performed with lower error rates (Ribeiro et al., 2023). However, RPA is fragile in dynamic environments such as the web: periodic changes in page layouts require frequent reconfiguration, and the need to adapt to each website reveals its low capacity for generalization (Posedaru et al., 2024). The emergence of Large Language Models (LLMs) enabled LLM-based autonomous agents, which are being explored as an alternative to traditional RPA and are here referred to as Agent Process Automation (APA). Recent studies indicate greater adaptability of agents to dynamic interfaces (Prucha et al., 2025), but also higher computational demand and operational cost, especially in large-scale tasks (Huang and Joung, 2026).

In healthcare, the fragmentation of information systems hampers data integration and access. Retrieving laboratory reports from separate web portals is a typical case: the task is repetitive, the interfaces are legacy and non-standardized, and the data are sensitive. Although AI and RPA have been associated with operational efficiency and traceability in healthcare when embedded in adequate governance and security architectures (Ferber et al., 2025; Nimkar et al., 2024; Park et al., 2025), the comparison between RPA and agent-based automation on real healthcare processes remains unexplored (Section 2).

This article presents the development and comparative analysis of RPA and APA solutions for automating the retrieval, extraction and consolidation of mammography and breast ultrasound reports, treating the reports exclusively as informational artifacts, without any automated clinical inference. Following Design Science Research (DSR) (Hevner et al., 2004; Peffers et al., 2007), both solutions were implemented as artifacts and evaluated in a real case study provided by the ClickPalm platform, a Personal Health Record platform that centralizes and integrates patients' clinical information. The evaluation relies on predefined technical indicators: classification performance (accuracy, precision, recall and F1-score), operational performance (execution time), cost, success rate per process step and temporal stability. The contributions are (i) quantitative evidence on the trade-off between computational cost and flexibility of RPA and APA in a real, sensitive healthcare use case, and (ii) a reference for architectural decisions in similar clinical automation projects.

The article is organized as follows. Section 2 presents the background and the research gap; Section 3 describes the method and experimental procedures; Section 4 details the development of the RPA and APA solutions; Section 5 presents the results; Section 6 discusses theoretical and practical implications and limitations; and Section 7 concludes. The declarations, including ethics approval, follow the conclusion.