Blocks
Approval
Pause workflow for human approval or input
Creates a human-in-the-loop checkpoint that pauses workflow execution until a human approves, rejects, or provides input. Supports multiple approval types, timeouts, and escalation rules.
Block Preview
Approval
Pause workflow for human approval or input
Usage
- Add the block to your workflow and connect it to the upstream step.
- Configure any required credentials or tokens in the inputs.
- Fill in required inputs and optional parameters for the run.
- Run a test execution, inspect outputs, and iterate before deploying.
- Deploy the approval block with monitoring enabled in production.
Inputs (UI)
Request Type
dropdownLayout: half
Options: Approval, Input Required, Review, Escalation
Priority
dropdownLayout: half
Options: Low, Normal, High, Urgent
Request Title
short-inputPlaceholder: Enter a clear title for this approval request
Layout: full
Description
long-inputPlaceholder: Describe what needs to be approved or reviewed...
Layout: full
Context Data
codeJSON data to include with the request for context
Placeholder: { "key": "value" }
Layout: full
Assign To (Email)
short-inputOptional: Email of the person to assign this request to
Placeholder: approver@company.com
Layout: half
Timeout (minutes)
short-inputOptional: Auto-timeout after this many minutes
Placeholder: 60
Layout: half
Custom Options
tableOptional: Define custom response options
Layout: full
Condition: requestType = ["approval","input"]
Notification Channels
checkbox-listLayout: full
Options: Email, Slack, Webhook
Webhook URL
short-inputPlaceholder: https://your-webhook.com/notify
Layout: full
Condition: notificationChannels = ["webhook"]
On Timeout
dropdownLayout: half
Options: Continue with error, Auto-approve, Auto-reject, Retry
Max Retries
short-inputPlaceholder: 3
Layout: half
Condition: onTimeout = "retry"
Inputs (API)
requestType
stringRequired
priority
stringOptional
title
stringRequired
description
stringOptional
data
jsonOptional
assignedToEmail
stringOptional
timeoutMinutes
numberOptional
options
jsonOptional
notificationChannels
jsonOptional
webhookUrl
stringOptional
onTimeout
stringOptional
retryCount
numberOptional
Outputs
Primary response type:
{
"status": "string",
"response": "json",
"responseNote": "string",
"respondedBy": "string",
"respondedAt": "string",
"requestId": "string"
}