# Recipe: extract data from a desktop app

> Build an RPA workflow that exports values from a desktop application with no API to a spreadsheet.

Build a Robotic Process Automation (RPA) workflow that reads values from a desktop application with no API and writes them to a spreadsheet.

## Prerequisites

- [Install and set up](install-and-set-up.md) complete, and you are signed in.
- The target desktop application installed and reachable, with a record open or searchable.
- The `UiPath.UIAutomation.Activities` package, version 26.10.4 or later. The agent asks for your consent before it installs or upgrades it. If you decline, it leaves targets marked `TODO Indicate`.

## Export desktop records

1. Open your coding agent in your project folder, with the application running.
2. Describe the task:

   "Build an RPA workflow that opens each record listed in `ids.xlsx` in our desktop app, reads the customer name, status, and balance, and writes them to `export.xlsx`."

3. Let the agent capture the fields and register them in the Object Repository.
4. Review the fields and the navigation between records.
5. Ask the agent to run the workflow.
6. Confirm `export.xlsx` matches the application.
7. Refine handling for missing records or slow fields.
8. Run again to confirm the fix.
