- Get started
- Best practices
- Capabilities
- Skills
- CLI
- Examples
- Examples overview
- Recipe: build an agent
- Recipe: automate with RPA
- Recipe: enter data into a web app
- Recipe: extract data from a desktop app
- Recipe: refactor and test a workflow
- Recipe: a queue-based process with REFramework
- Recipe: build a flow in Maestro
- Recipe: build a Maestro Case
- Recipe: coded app and API workflow
- Recipe: build a coded function
- Recipe: verify a release with Test Manager
- Recipe: extract data from documents with IXP
- Advanced
- Help
RPA workflows
RPA workflows with a coding agent: briefing, UI Automation, and human review.
Describe repetitive, rule-based work, and your coding agent produces a runnable Robotic Process Automation (RPA) workflow.
What RPA is good for
Well-defined, deterministic work, especially without a usable API:
- Files and spreadsheets
- Data moves between systems
- API calls
- Desktop, web, or virtual application interfaces
For judgment work, use an agent. For a step in a longer process, use a flow in Maestro. Worked examples: RPA recipes.
What you can ask for
- Build from a description, a process document, or a template such as the Robotic Enterprise Framework (REFramework).
- Refactor or extend an existing workflow.
- Work in legacy projects, within their constraints.
- Generate and run test cases with assertions.
- Review an automation without changing anything.
- Debug a failing workflow and propose a fix.
- Publish to Orchestrator, or extract a reusable library.
What to include in a request
The steps in order, the systems involved, typed inputs and outputs, and the screens or data touched.
Remove real customer data from process documents first. See Working effectively.
Choosing low-code or coded
| Type | Files | Use for |
|---|---|---|
| Low-code | .xaml | The default. Reviewable, auditable, widest activity coverage. |
| Coded | .cs (C#) | Logic-heavy components: data transforms, parsing, custom types. |
- You can mix both in one project. Choose up front. Without direction, the agent defaults to low-code.
- A Portable project whose workflows are all
.xamlwith VB expressions can be edited in Studio Web, delivered as part of a solution.
Driving applications with UI Automation
For systems with no API, the agent drives the interface with UiPath UI Automation. Use an API where one exists.
How it captures the interface
At design time, the agent captures the screen and builds the steps. For desktop applications it uses screenshots and the element tree. Elements are stored as reusable targets in an Object Repository.
Staying resilient
- Selector healing: adapts a target when the interface shifts.
- Diagnosis: explains a failure from logs, recordings, and screenshots.
- Screenplay: AI-powered computer vision. Runtime fallback for unpredictable screens.
When there is no live application
The agent marks each interaction for a developer to capture in Studio. Either way, treat generated selectors as drafts and confirm them against the real application.
Conventions for your context file
State RPA house rules once in a context file. Examples:
- Modern design activities over the classic set.
- UI activities inside a Use Application/Browser scope.
- Native activities before Invoke Code.
- Existing configuration files and recorded workflows left intact.
Strengths and limits
Review these more closely, where a generic fallback can creep in:
- Fragile selectors
- Bespoke enterprise connectors
- Unusual activity choices
Prompts for RPA work
- Create a new RPA project from the REFramework template called
BankStatementReconciliation. - Create an RPA workflow that saves attachments from the latest Outlook email with subject "Invoice" to
./inbox/. - Add a Try Catch around the Submit Order step that logs business exceptions and sets the transaction to Failed.
More: Studio documentation and Activities documentation.