- 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 builds a small agent that reads a support ticket, classifies its urgency, and drafts a reply for a human to approve. It shows the full loop from prompt to running agent.
Prerequisites
- The
uipCLI and skills installed, and an authenticated session (see Install and set up). - An empty working folder.
Build the agent
-
Open your coding agent in the empty folder.
-
Prompt it with the goal:
"Create a UiPath agent that takes a support ticket as input, classifies its urgency as low, medium, or high, and drafts a suggested reply. Add a human approval step before the reply is sent."
-
Review the generated project — the agent definition, its inputs and outputs, and the approval step.
-
Ask the agent to run it with a sample ticket.
-
Inspect the classification and draft reply the agent produces.
-
Refine conversationally — for example, adjust the urgency criteria or the tone of the draft.
Result: a working triage agent that classifies a ticket and produces a draft reply gated by human approval.
The generated file layout and run commands depend on your agent and prompt. Use the classification and approval behavior, not the exact files, as your signal of success.
See also
For a more detailed example of an agent built with coding agents, see Example: social sentiment agent in the Agents user guide.