# Upload a file, download the result

Source: https://zshot-app.com/help/enhance-leads/
Markdown: https://zshot-app.com/help/enhance-leads/index.md
Section: [Help](https://zshot-app.com/help/) › Navigate
Kind: Agent

Have an agent log in, upload a file, and bring back the file the page makes from it.

Requires a Pro license.

Video: [enhance-leads.webm](https://zshot-app.com/media/help/enhance-leads.webm)

## What to do

1. **Paste it** Paste this into the URL field: `https://zshot-cli.com/example_assets/zrm/`
2. **Choose Download** Click the settings button beside the URL field, then Screenshot, then Extract content. Click More, then Download.
3. **Say what to do** Click Navigate, choose your model under Model, and describe the job: `Log in, open the Lead Enhancer, upload the leads file, enhance it, and download the enhanced CSV`
4. **Add the login** Click Advanced Options, then Credentials, and add a username and a password.
5. **Add the file** Click Files, add a file named leads, enter where it lives, then click Save. `https://zshot-cli.com/example_assets/zrm/leads.csv`
6. **Capture it** Click Capture. The status line follows each step, and the file the page produced opens as the result.

Do this from the command line: https://zshot-cli.com/examples/enhance-leads/
Reference: [--navigator-file](https://zshot-cli.com/reference/flags/navigator/navigator-file/)

## Related

- [Log in, then capture](https://zshot-app.com/help/navigate-login/) — An agent logs in and captures the page behind it.
- [Turn a bug into a test](https://zshot-app.com/help/agent-regression-test/) — An agent checks a behavior and writes the test.

## Navigation

- [ZShot](https://zshot-app.com/)
- [Help](https://zshot-app.com/help/)
- [Download ZShot](https://zshot-app.com/download.html)
- [CLI documentation](https://zshot-cli.com/)

Site index: https://zshot-app.com/llms.txt

