Approvals & Human-in-the-Loop (HITL)
The Approvals system lets you add human oversight to your agent workflows. Require approval before sensitive actions, review tool calls before they execute, or log all agent actions for audit review.HITL Modes
| Mode | Behavior | Use Case |
|---|---|---|
disabled | No human oversight. Agent runs autonomously. | Low-risk tasks, internal tools |
blocking | Pause workflow and wait for human approval before continuing. | Sensitive actions (payments, emails to customers) |
confirm_tools | Only pause when the agent tries to use a tool. Conversation flows freely. | Tool calls that have side effects (database writes, API calls) |
audit | Log all actions but don’t block execution. | Compliance, quality review |
How It Works
Blocking Mode
Confirm Tools Mode
In this mode, regular conversation flows without interruption. The workflow only pauses when the agent attempts a tool call:- Search tool called → Approved automatically (read-only)
- Gmail send called → Paused for approval (has side effects)
Setting Up Approvals
From the Dashboard
- Go to your agent’s Flow Editor.
- Select a node that should require approval.
- In the node settings, set HITL Mode to your desired mode.
- Configure approved/blocked tool lists (for
confirm_toolsmode). - Save and deploy.
Via Workflow Configuration
In your flow graph, add HITL configuration to any node:Approval Workflow
1. Approval Request Created
When the workflow hits an approval gate, a request is created:2. Human Reviews
Approvers can review pending requests from:- Dashboard — The Approvals panel shows all pending requests with context
- Slack/Email notifications — Receive alerts when approvals are needed
- API — Programmatically approve/reject
3. Respond to Approval
4. Workflow Resumes
- Approved → The workflow continues from where it paused.
- Rejected → The agent receives the rejection reason and responds to the user with an alternative.
- Timed out → Based on configuration, either auto-rejects or escalates.
API Reference
List Pending Approvals
Get Approval Details
Approval History
Workflow Checkpoints
The system automatically creates checkpoints at approval gates, saving the complete workflow state. This means:- If the approval takes minutes or hours, the workflow resumes exactly where it left off
- No data is lost during the waiting period
- The user’s conversation context is preserved
Voice Agent Approvals
Approvals work with voice agents too. When a voice agent hits an approval gate during a phone call:- The agent tells the caller: “I need to verify this with my team. One moment please.”
- A hold message or music plays while waiting.
- The approver responds via the dashboard or Slack.
- The agent continues the conversation with the result.
Audit Mode
Inaudit mode, all actions are logged without blocking:
Best Practices
- Use
confirm_toolsfor production — Less intrusive thanblockingwhile still catching side effects. - Set reasonable timeouts — 30 minutes for async workflows, 2-5 minutes for voice calls.
- Configure notifications — Ensure approvers are notified immediately via Slack or email.
- Start with
auditmode — Monitor your agent’s behavior before enabling blocking. - Document approval criteria — Train approvers on what to look for and when to approve/reject.
- Review audit logs regularly — Even in non-blocking mode, audits reveal quality issues.

