# RPA worfklows vs. API workflows

> The following table aims to help you decide which workflow is better for your needs, and how to merge both solutions:

The following table aims to help you decide which workflow is better for your needs, and how to merge both solutions:

|  | **RPA workflows** | **API workflows** |
| --- | --- | --- |
| **Target** | Human-centric automations involving user interfaces (UI) and APIs. | System-to-system integrations through APIs. |
| **Speed** | Operates at human-like speed. | Executes in real time. |
| **Runtime** | Managed robots on virtual or hybrid infrastructure. | Serverless |
| **Usage** | Suitable for attended, unattended, and long-running processes. | Suitable for real-time triggers, interactions with external systems, or responding to platform events. |
| **Best for** | Automating user interfaces, handling semi-structured tasks, and managing user flows. | API-centric automation scenarios allowing you to integrate structured data and scale logical processes. |
