Wait for Input
Overview
The Wait for Input node pauses workflow execution and waits for external input — enabling human-in-the-loop approval flows, manual data entry steps, and interactive workflows. The workflow resumes when input is provided through the API or when the timeout is reached.
Category
Flow Control — flowcontrol/waitForInput
Settings
| Setting | Type | Default | Description |
|---|---|---|---|
| timeout | Number | 300 | How long to wait before timing out |
| timeoutUnit | String | seconds | Time unit: seconds, minutes, hours |
| expectedSchema | Array | [] | Field definitions for the expected input (reuses Form Input format) |
| timeoutBehavior | String | error | What happens on timeout: error, default_values, cancel |
| defaultValues | Object | {} | Default values to use when timeout behavior is default_values |
| waitDescription | String | — | Human-readable description of what input is needed |
Inputs & Outputs
- input1 — Upstream data (preserved during pause)
- output1 — Upstream data merged with the provided input
Use Cases
- Approval workflows — Pause for manager approval before processing a purchase order
- Data enrichment — Wait for a human to classify or tag records that AI couldn't categorize
- Interactive forms — Collect additional user input mid-workflow