# Recipe: build an agent

> Build and run a support-triage agent.

Build an agent that classifies a support ticket's urgency and drafts a reply for human approval.

## Prerequisites

- [Install and set up](install-and-set-up.md) complete, and you are signed in.
- An empty working folder.
- An Action Center app of kind Workflow Action, deployed in Orchestrator or created by the agent in the same solution.

## Classify support tickets

1. Open your coding agent in the folder.
2. Describe the agent:

   "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."

3. Review the agent definition and approval step.
4. Ask the agent to run it with a sample ticket. It asks for your consent first. The run calls the agent's tools and escalations and creates an Action Center task. For a low-code agent, it also overwrites the agent's Studio Web solution.
5. Inspect the classification, draft reply, and approval behavior. The reply waits for approval.
6. Adjust the urgency criteria or draft tone.

See [Example: social sentiment agent](https://docs.uipath.com/agents/automation-suite/2.2610/user-guide/example-social-sentiment-agent).
