# uip rpa get-workflow-example

> `uip rpa get-workflow-example` downloads the XAML content of a curated workflow example. The verb is the second half of a discover-then-fetch pair: [`uip rpa list-workflow-examples`](./uip-rpa-list-workflow-examples.md) returns example keys (paths in the example catalog), and this verb resolves a key into the actual XAML you can save into a project.

`uip rpa get-workflow-example` downloads the XAML content of a curated workflow example. The verb is the second half of a discover-then-fetch pair: [`uip rpa list-workflow-examples`](./uip-rpa-list-workflow-examples.md) returns example keys (paths in the example catalog), and this verb resolves a key into the actual XAML you can save into a project.

Studio resolves the example index, so the verb requires a Windows runner.

## Synopsis

```
uip rpa get-workflow-example --key <string>
```

## Options

| Flag | Description |
|---|---|
| `--key <string>` | Blob key/path of the example workflow, as returned by `list-workflow-examples`. Example: `email-automation/add-new-gmail-emails-to-keap-as-contacts.xaml`. |

For the complete option list on your installed tool version, run:

```bash
uip rpa get-workflow-example --help
```

## Examples

```bash
# Fetch a specific example XAML by key
uip rpa get-workflow-example \
  --key "email-automation/add-new-gmail-emails-to-keap-as-contacts.xaml"

# Pipe the result to a file in your project
uip rpa get-workflow-example \
  --key "web-api-automation/post-message-to-slack.xaml" \
  --output plain > Workflows/PostToSlack.xaml
```

## Related

- [`uip rpa list-workflow-examples`](./uip-rpa-list-workflow-examples.md) — discover example keys to fetch.

## See also

- [RPA tool overview](./uip-rpa.md)
- [Global options](./global-options.md)
- [Exit codes](./exit-codes.md)
