- 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 flow in Maestro
- Recipe: build a Maestro Case
- Recipe: coded app and API workflow
- Recipe: build a coded function
- Recipe: verify a release with Test Manager
- Recipe: extract data from documents with IXP
- Advanced
- Help
Recipe: build an agent
Build a support-triage agent end to end by prompting your coding agent, then run it.
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.
- For the approval step, an Action Center app of kind Workflow Action deployed in Orchestrator, or provisioned by the agent in the same solution.
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. The run is real: the agent calls its tools and escalations, and when the approval step is reached, it creates an Action Center task. The coding agent asks for your consent before it starts the run.
-
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.