What Is Human Approval?
Human Approval is a workflow step that requires manual intervention:- Pause Execution: Workflow pauses at the approval step
- Wait for Decision: System waits for human approval or denial
- Resume or Terminate: Workflow continues or stops based on the decision
- Audit Trail: All approval decisions are logged for compliance
Key Benefits
1. Control Over Critical Decisions
Not all decisions should be automated. Human approval gives you control over:- Financial Transactions: Approve large payments or transfers
- Data Changes: Review and approve critical data modifications
- User Actions: Approve sensitive user operations
- System Changes: Control infrastructure or configuration changes
2. Reliability and Safety
Human approval adds a safety layer to automated systems:- Prevent Errors: Catch mistakes before they cause problems
- Compliance: Meet regulatory requirements for manual oversight
- Risk Management: Reduce risk in critical operations
- Quality Control: Ensure high-quality outcomes
3. Flexibility
Human approval integrates seamlessly into workflows:- Any Step: Add approval at any point in your workflow
- Conditional: Make approval conditional based on workflow data
- Multiple Approvals: Require multiple approvals for extra security
- Timeout Handling: Configure timeouts for approval requests
4. Audit and Compliance
Complete audit trail of all approvals:- Who Approved: Track which user made the decision
- When Approved: Timestamp of approval/denial
- What Was Approved: Context and data at time of approval
- Compliance Ready: Meet audit and compliance requirements
How It Works
Workflow Execution Flow
Approval Request
When a workflow reaches a human approval step:- Approval Request Created: System creates an approval request
- Notification Sent: User receives notification (email, dashboard, etc.)
- Context Provided: User sees relevant workflow data and context
- Decision Required: User must approve or deny
Decision Handling
If Approved:- Workflow continues to next step
- Approval decision logged
- Workflow execution resumes
- Workflow stops (or follows configured failure handling)
- Denial decision logged
- Optional notification sent
Use Cases
Financial Transactions
User Account Modifications
Content Moderation
System Configuration Changes
Data Deletion
Integration with Workflows
Adding Approval Steps
Human approval steps can be added to workflows:- Via Dashboard: Use visual workflow builder to add approval steps
- Via API: Programmatically add approval steps to workflow templates
- Conditional: Make approval conditional based on workflow variables
Approval Context
When requesting approval, provide context:- Workflow Data: Relevant variables and data from previous steps
- Request Details: What is being requested
- Impact Assessment: What happens if approved/denied
- Supporting Information: Additional context for decision-making
Timeout Handling
Configure timeouts for approval requests:- Timeout Duration: How long to wait for approval
- Timeout Action: What to do if timeout expires (deny, retry, escalate)
- Reminders: Send reminders as timeout approaches
Approval Decision API
Use the Human Approval API to:- Get Pending Approvals: List all pending approval requests
- Approve Request: Approve a specific request
- Deny Request: Deny a specific request
- Get Approval History: View past approval decisions
- Cancel Request: Cancel a pending approval request
Best Practices
- Clear Context: Provide clear, actionable context in approval requests
- Reasonable Timeouts: Set appropriate timeout durations
- Multiple Approvers: Require multiple approvals for critical operations
- Audit Everything: Log all approval decisions for compliance
- Notification Strategy: Ensure approvers are notified promptly
- Fallback Handling: Define behavior for timeouts and denials
- Review Regularly: Periodically review approval patterns and optimize
Security Considerations
- Authentication: Only authorized users can approve requests
- Authorization: Role-based access control for approvals
- Audit Trail: Complete logging of all approval decisions
- Non-Repudiation: Approval decisions cannot be denied later
- Encryption: Secure transmission of approval requests
Example Workflow with Approval
Related Documentation
- Workflow Template Overview - Learn about workflow templates
- Scheduling Overview - Schedule workflows with approval steps

