Human-in-the-Loop (HITL)
Human-in-the-Loop enables workflows to pause and wait for human decisions, approvals, or input before continuing. Not everything should be fully automated -- HITL gives you the guardrails to keep humans in control of what matters.
Why Human-in-the-Loop?
- High-stakes decisions -- Approve large purchases or sensitive operations
- Quality control -- Review AI-generated content before publishing
- Compliance -- Ensure human oversight for regulated processes
- Exception handling -- Escalate edge cases that humans handle better
How HITL Works
When a workflow reaches a Human Approval step, execution pauses and the request goes to the designated approvers. The assignee receives a notification, reviews the context, and responds. Once the human responds, the workflow continues with their input.
Outcomes
| Status | Description |
|---|---|
| Pending | Waiting for a response |
| Approved | A person approved the request |
| Rejected | A person rejected the request |
Timeouts
In the Visual Builder, an approval that reaches its timeout is approved automatically. Use a timeout for low-risk, routine decisions that should not hold up the work. Leave it empty for decisions that must have a human answer.
Configuring Human Nodes
In Workflows
Add a Human Approval node in the Visual Builder and configure:
| Setting | Description |
|---|---|
| Approval Message | What the reviewer is asked to decide |
| Assignee | Team Lead, Manager, or a Specific User |
| Timeout (hours) | After this delay the step approves automatically. Leave it empty to wait without limit |
| On Reject | Stop Flow, Retry Previous Step, or Route to Alternative Agent |
Context for the reviewer
Write the approval message so the reviewer can decide without hunting for information: state what is being approved, the amount or scope, and why. The reviewer sees it together with the work the previous steps produced.
Multi-Level Approvals
Create approval chains by adding multiple Human nodes in sequence. Combine them with Condition nodes for threshold-based escalation:
- Team lead approves all requests
- Manager approves only if amount exceeds a threshold
- Finance approves only if amount exceeds a higher threshold
This keeps routine approvals fast while adding oversight for larger decisions.
Responding
- Open Work › My Tasks. Workflow steps waiting on you are listed in the inbox.
- Open the request to see the prompt and the context the workflow passed along.
- Fill in the requested fields.
- Click Approve or Reject. The workflow continues immediately.
Approvals that agents request for their own actions (outside workflows) are handled in Work › Approvals. See Approvals.
Best Practices
"Approve expense report #1234 for $2,500 (Travel - Q4 Conference)" is actionable. "Please review" is not.
Include all relevant data from the workflow so reviewers can decide without hunting for information.
Because a timeout approves automatically, keep it for routine steps (for example 24 hours) and leave compliance or financial approvals without one.
Choose On Reject deliberately: stop the flow, retry the previous step, or route the work to another agent.
Next: Learn about Agent-to-Agent Communication for building collaborative agent systems.