Pause workflow or agent execution at critical decision points and wait for a human to review, approve, or provide input before continuing. Use human approval workflows when execution must pause until a user:Documentation Index
Fetch the complete documentation index at: https://koreai.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
- Approves a request
- Reviews workflow data
- Provides structured input
- Completes a business validation step
- Approval tasks
- Data Entry tasks
- Workflow-based approvals
- Multi-step approval chains
Human-in-the-loop workflows support durable execution. The platform preserves workflow state while waiting for user action, allowing execution to resume from the paused step after the task is completed.
How Human-in-the-loop Workflows Work
When a workflow reaches an Approval or Data Entry node, execution pauses until an assigned user completes the task.Workflow-based Approvals
Use workflow-based approvals for multi-step approval processes, for example:- Manager approval followed by VP approval
- Compliance review followed by security approval
- Sequential business validation workflows
- Create a workflow with approval steps.
- Each approval step creates a human task.
- The workflow orchestrates the sequence.
ABL Configuration and Human Task APIs
The following sections describe ABL configuration patterns and the Human Task APIs used in human-approval workflows.Define Form Fields for Data Collection
When structured human input is required, define form fields in the Data Entry task definition. Example:- text
- number
- boolean
- select
- textarea
- date
Human Task APIs
Human Task APIs allow applications and workflows to programmatically manage approval and Data Entry tasks. Use Human Task APIs to:- View tasks
- Claim tasks
- Resolve tasks
- Assign tasks
View Pending Tasks
Claim a Task
Resolve a Task
After resolution, workflow or agent execution resumes with the human decision available in the execution context.Assign a Task
Assign a task to a specific user:Troubleshooting
| Issue | Resolution |
|---|---|
| Escalation never triggers | Verify trigger conditions reference valid runtime variables |
| Human task not appearing in the Inbox | Verify task assignment and user permissions |
| Workflow not resuming after task completion | Verify on_human_complete handlers and task resolution |
| Required field validation errors | Ensure all required fields are provided |
| Task expired before resolution | Increase task timeout duration or escalation coverage |