Human-in-the-Loop

The Human-in-the-Loop (HITL) node pauses workflow execution and sends a review request to a human. The workflow resumes only after someone clicks an action button: Approve, Reject, or a custom option.

Type: HITL / HITL_V2 Color: Blue (#2563EB) Credits: None Test module: Yes (cannot skip)

Templates

Human-in-the-Loop node
HITL: pause and wait for human review

Three pre-built templates:

TemplateButtonsTimeout
Approval RequestApprove (green) + Reject (red)24 hours
Data ReviewConfirm (green) + Request Changes (orange) + Reject (red)48 hours
Manual InputSubmit (blue) + Cancel (gray)72 hours

Configuration fields

FieldTypeRequiredDescription
Template typeSelectYesapproval, categorization, or escalation
InstructionsFX formulaYesMessage shown to the reviewer; explain what needs to be reviewed
Summary contentFX formulaYesThe data to review; can be text or HTML
EditableBooleanNoWhether the reviewer can edit the summary content
ButtonsArray (min 2)YesAction buttons shown to the reviewer
TimeoutDurationNoHow long to wait before auto-action
FallbackConfigNoWhat to do on timeout (auto-select a button)
BrandingConfigNoCustom logo, colors for the review page
FilesArrayNoFile attachments to include in the review

Button configuration

Each button has:

PropertyDescription
LabelDisplay text (e.g., "Approve", "Reject")
ValueMachine value, auto-generated from label (lowercase, underscores)
Colorgreen, red, blue, orange, gray, or purple

You must have at least 2 buttons.

Timeout and fallback

If no human responds within the timeout:

FieldDescription
EnabledTurn timeout on/off
DurationNumber + unit (minutes, hours, days)
Actionauto_trigger: automatically click a button
Fallback valueWhich button to auto-click on timeout

Output variables

VariableWhat it contains
{{hitl.selectedButton}}The label of the clicked button
{{hitl.value}}The machine value of the clicked button
{{hitl.timestamp}}When the button was clicked
{{hitl.editedContent}}Modified content (if editable was enabled)

Common patterns

Approval before payment

Trigger → Calculate refund → HITL (Approve/Reject) → If-Else (check value) → Process refund or notify

Content review

AI Writer (draft email) → HITL (Send/Edit/Discard) → If "Send" → Send Email

Data validation

Form Submission → HITL (Confirm data is correct) → If confirmed → Create Record
Warning

HITL pauses the entire workflow execution. If the reviewer doesn't respond and no timeout is configured, the workflow stays paused indefinitely.

Tip

Always configure a timeout with a fallback action for production workflows. An approval that waits forever is worse than an auto-rejected one.