UiPath Documentation
coding-agents
2026.10
false
Guide de l'utilisateur d'UiPath pour Coding Agents

Workflows RPA

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.

À quoi sert la RPA​

Well-defined, deterministic work, especially without a usable API:

  • Files and spreadsheets
  • Data moves between systems
  • Appels API
  • 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.

Ce que vous pouvez demander​

  • 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.

Choix entre un low-code ou un code​

Saisie de texteFichiersUtiliser pour
Low-code.xamlThe default. Reviewable, auditable, widest activity coverage.
Codé.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 .xaml with VB expressions can be edited in Studio Web, delivered as part of a solution.

Générer des applications avec UI Automation​

For systems with no API, the agent drives the interface with UiPath UI Automation. Use an API where one exists.

Comment cela capture-t-il l’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.

Rester résilient​

  • 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.

Lorsqu’il n’y a pas d’application en direct​

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.

Points forts et limites​

Review these more closely, where a generic fallback can creep in:

  • Fragile selectors
  • Bespoke enterprise connectors
  • Unusual activity choices

Prompts for RPA work​

  • Créez un nouveau projet RPA à partir du modèle REFramework appelé 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.

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance(opens in new window)

Vous souhaitez apprendre ? UiPath Academy(opens in new window)

Vous avez des questions ? UiPath Forum(opens in new window)

Rester à jour