Approval Gate
Pause and wait for a human approval signal before continuing.
About this Node
Pauses workflow execution until an authorized reviewer approves or rejects the pending step from the dashboard or API. Approving resumes downstream execution and records the reviewer's decision payload under `output_key` (default `approval_result`), while rejecting fails the run with a clear audit trail.
Ports & Branches
inPort 0Inbound execution flowoutPort 1Outbound execution flow after approval decisionHow this Node Reads Data
| Input | Access | Field | Example | Description |
|---|---|---|---|---|
| Review Context & Reviewer Signal | Payload | — |
— |
Displays upstream scoped state to the reviewer and captures the approval/rejection comment and actor metadata upon decision. |
State Keys Written (Outputs)
| Key Pattern | Type | Role | Description |
|---|---|---|---|
{output_key} |
object |
Primary | Approval decision payload (including reviewer decision and optional comment) merged alongside incoming scoped state. |
Tips & Best Practices
- Role-based permissions (`approve_roles`, `reject_roles`) restrict which workspace roles can act on the gate.
- Approval waits durably without holding compute resources while paused.
Commonly Paired With
Settings Parameters (1)
Configuration schema synchronized with the workflow catalog
| Field | Type | Default | Allowed Options | Description |
|---|---|---|---|---|
timeout_hours |
integer |
48 |
— | Hours to wait before auto-expiring |
48-Hour Finance Sign-Off Gate
Pause high-value purchase orders for up to 48 hours until a workspace Admin or Owner approves release.
Node Configuration
{
"Id": "action_approval_1",
"Type": "action_approval",
"Config": {
"timeout_hours": 48
}
}Sample Input State
{
"order_id": "PO-7721",
"amount": 18500
}Expected Output State
{
"approval_result": { "approved": true, "comment": "Verified against Q4 budget" },
"order_id": "PO-7721",
"amount": 18500
}Tip: Pair Approval Gate with an upstream Condition node so low-risk items auto-proceed while high-risk items pause for review.
Indefinite Compliance Hold
Set `timeout_hours: 0` when a workflow must wait indefinitely for legal or security review without auto-expiring.
Node Configuration
{
"Id": "action_approval_1",
"Type": "action_approval",
"Config": {
"timeout_hours": 0
}
}Sample Input State
{
"release_tag": "v4.2.0"
}Expected Output State
{
"approval_result": { "approved": true }
}