Human in the Loop
Pause workflow execution and require manual approval before proceeding.
Overview
Human in the Loop (HITL) allows you to pause workflow execution and require manual approval before proceeding. When a workflow reaches an approval step, it stops and waits for someone with editor access to review and approve before continuing.
How It Works
When a workflow reaches an approval step:
- Workflow pauses execution
- Editors receive a notification
- An editor reviews the details and approves to continue
- Workflow resumes and executes the next steps
You can also finish waiting approvals from Monitor. Open Workflows, select Monitor, then click Review under Action required to Approve or Reject.
Example Use Cases
Financial Transactions
Trigger: Invoice received
β Agent: Extract invoice details
β Approval: Review payment
ββ Shows: Payment amount and vendor
β Action: Create payment
β Notification: Confirm payment processedWhy approval needed: Financial transactions should have oversight, especially for amounts over a certain threshold.
Data Deletion
Trigger: Cleanup request
β HTTP Request: Fetch old records
β Code: Filter records older than 90 days
β Approval: Review deletion
ββ Shows: Record count and preview
β Action: Delete records
β Notification: Confirm deletion completeWhy approval needed: Data deletion is irreversible and requires verification.
Customer Communications
Trigger: Form submission
β Agent: Generate response
β Approval: Review message
ββ Shows: Email draft generated by agent
β Action: Send email to customer
β Notification: Email sent confirmationWhy approval needed: Customer-facing communications represent your brand and may need quality review.
Production Changes
Trigger: Manual or scheduled
β Agent: Review configuration changes
β Approval: Review deployment
ββ Shows: Change summary
β Action: Update production system
β Notification: Deployment completeWhy approval needed: Production changes carry risk and benefit from review.
When to Use Human in the Loop
β Good use cases:
- Financial transactions over a threshold
- Data deletions or irreversible operations
- Customer communications requiring review
- Production system changes
- Compliance-sensitive actions
- High-value decisions
β Avoid for:
- Routine, low-risk actions
- Steps that need to run immediately
- Actions that happen frequently throughout the day
- Workflows where manual approval becomes a bottleneck
Combining with Conditions
Smart approval workflows use conditions to require approval only when needed:
Agent: Calculate invoice amount
Condition: Amount > $5000?
ββ Yes β Approval: Review high-value payment
β β Action: Create payment
ββ No β Action: Create payment (auto-approved)This pattern gives you:
- Automation for routine cases
- Oversight for exceptional cases
- Efficient use of your time
Best Practices
Don't require approval for every stepβfocus on actions with real risk or significant impact. Too many approvals slow down automation benefits.
Ensure the workflow provides enough information at the approval step. Include relevant details like amounts, recipients, or data previews so you can make informed decisions.
Consider who has editor access and can approve. For time-sensitive workflows, ensure someone on the team can respond promptly.
Run test workflows to ensure approval notifications arrive correctly and you have the information needed to approve confidently.
Next Steps
- Send Notification β Get notified when approval is needed
- Condition Node β Add conditional logic to your workflows
- Getting Started β Build your first workflow
- Core Concepts β Understand workflow fundamentals
FAQ
Use Human in the Loop when a workflow should pause for review, approval, or manual input before continuing. It is useful for sensitive actions, quality checks, approvals, and workflows where users must make a decision.
Check who needs to approve or complete the step, whether they received the request, and whether the workflow is waiting for required input. Editors can also Review waiting approvals under Action required on Monitor. Also confirm that downstream nodes have access to the data produced by the approval step.