Skip to main content
Create workflows that pause for human approval, enabling oversight for critical operations like expense processing, deployments, and sensitive data operations.

Overview

This example demonstrates human-in-the-loop patterns:
  • Approval workflows with email notifications and web interfaces
  • Timeout handling with escalation mechanisms
  • Multi-step processes that pause for human decisions
  • Expense processing with manager approval requirements
  • Deployment gates requiring human sign-off
  • Audit trails for all approval decisions
Perfect for compliance-driven processes, financial operations, or any workflow requiring human oversight.

Task Definitions

REST API Endpoints

Usage Examples

Submit Expense for Approval

Make Approval Decisions

Check Status and Pending Approvals

Advanced Approval Patterns

Multi-Level Approval

Conditional Approval Logic

Frontend Integration

Approval Dashboard Component

Production Considerations

  • Timeout strategies: Implement appropriate timeouts with escalation
  • Notification reliability: Use multiple channels (email, Slack, SMS) for critical approvals
  • Audit requirements: Maintain complete audit trails for compliance
  • Mobile access: Ensure approvers can respond from mobile devices
  • Backup approvers: Handle approver unavailability with delegation
  • Bulk operations: Optimize for high-volume approval scenarios

Next Steps

Error Handling

Handle approval workflow failures

AI Agent Actions

Combine AI automation with human oversight