- 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 Maestro Flow
- Recipe: coded app and API workflow
- Recipe: verify a release with Test Manager
- Recipe: extract data from documents with IXP
- Advanced
- Help
This recipe walks through building a Robotic Process Automation (RPA) workflow with a coding agent: it reads a CSV file, transforms each row, and writes a result file. It shows the full loop from your prompt to a workflow you can run, and what to look for along the way.
Prerequisites
- A coding agent set up for UiPath work, with an authenticated session (see Install and set up).
- A working folder containing a sample
input.csv.
Build the workflow
-
Open your coding agent in the folder that holds your sample file.
-
Describe the task:
"Build an RPA workflow that reads each row of
input.csv, calculates a total for each row, and writes the totals tooutput.csv." -
Review what the agent produces, including how it reads the file and how it handles empty or malformed rows.
-
Check for the common gaps before you accept it: placeholder steps standing in for real logic, the wrong activity for a step, or hard-coded values that should be inputs (see Reviewing and validating output).
-
Ask the agent to run the workflow.
-
Open
output.csvand confirm the totals are correct. -
Refine in conversation, for example by adding error handling or a new calculated column.
Result: a runnable RPA workflow that turns input.csv into a correct output.csv, reviewed for stubs and correct logic.
Exact activities, file structure, and run commands vary by agent and prompt. Confirm success from the output file and your own review, not from the agent's "done" message.