# Recipe: enter data into a web app

> Build an RPA workflow that fills and submits a web form with UI Automation, then reads back the confirmation.

This recipe builds a workflow that opens a web application, fills a form from a spreadsheet, submits it, and reads back the confirmation. It shows how a coding agent uses UI Automation to drive an interface that has no API.

## Prerequisites

- A coding agent set up for UiPath work, with an authenticated session (see [Install and set up](install-and-set-up.md)).
- Access to the target web application, and a sample `requests.xlsx` with the values to enter.

## Build the workflow

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

   "Build an RPA workflow that opens our requests portal, fills the new-request form with each row of `requests.xlsx`, submits it, and writes the returned confirmation ID back to the spreadsheet."

3. Let the agent capture the screens and elements it needs. When it cannot reach the live application, it leaves each interaction marked for you to capture in Studio.
4. Review the captured targets and the order of the steps.
5. Confirm the form fields map to the right spreadsheet columns.
6. Ask the agent to run the workflow against the application.
7. Confirm a request was submitted and the confirmation ID was written back to `requests.xlsx`.
8. Refine any selectors that failed, or add a wait for slow-loading screens.
9. Run the workflow again to confirm the fix.

**Result:** a workflow that drives the web form end to end, using captured, reusable targets in the Object Repository.

:::note
Exact activities, captured selectors, and run commands vary by agent, application, and prompt. Confirm success from the application and the spreadsheet, not from the agent's "done" message.
:::
