# Human-in-the-loop tasks

> Suspend an automation for human approval, enrichment, or exception handling in Action Center.

A human-in-the-loop (HITL) step suspends an automation until a reviewer submits a task in Action Center. Works in **Maestro BPMN**, **Case Management**, **Flow**, and **Agents**.

Your coding agent adds them with the `uipath-human-in-the-loop` skill ([Skills catalog](skills-catalog.md)). It designs the task schema with you, binds variables to fields, and wires outcomes to branches.

## Quick Form tasks

Define the form inline in the process node: no app, no deployment, no additional cost. The schema is versioned with the process.

For a case, the agent can't author a Quick Form. Add one in the Studio Web case designer, or use a deployed Action App.

| Form element | Purpose |
| --- | --- |
| Input fields | Read-only context from workflow variables or expressions. |
| Output fields | Values the reviewer fills in, written back on submission. |
| InOut fields | Pre-filled values the reviewer can edit. |
| Multiple outcomes | Labeled actions, such as **Approve** and **Reject**, that route to branches. |

For node ID `quickForm1` and field ID `approvalNote`, the value is at `$vars.quickForm1.output.approvalNote`.

More: [Quick Form tasks](https://docs.uipath.com/action-center/automation-suite/2.2610/user-guide/quick-form-tasks).

## When to add a human step

For a clear review pattern, such as a sign-off requirement, the agent inserts a HITL step without being asked. It tells you where and why, and records it in its final report so you can remove it.

Common patterns:

- Approval gates
- Exception escalation
- Write-back validation
- Data enrichment

## Add an approval step after a risk score

> Add an approval step after the risk score is calculated. The reviewer should see the vendor name, risk tier, and confidence score, and can either approve or reject with a reason.

The agent lists the schema in its final report so you can adjust it.

## Other human steps to ask for

- Add a human review before the agent's drafted reply goes to the customer.
- If Intelligent Xtraction and Processing (IXP) confidence is below 80%, route to a human for correction.
- Add a four-eyes check before the SAP payment record update.

To build the flow, see [Flows in Maestro](build-maestro-flows.md).
