Attente
Pauses the workflow for a defined duration (timer) or until an external event is received.
Common parameters
| Parameter | Type | Required | Variable | Description |
|---|---|---|---|---|
waitType | choice (timer, event, condition) | Yes | No | Wait type: timer, external event, or polling condition. |
outputVariable | text | No | No | Output variable name to reference the result in subsequent blocks. |
Parameters by wait type
timer — Timer
Pauses execution for a fixed duration.
| Parameter | Type | Required | Variable | Description |
|---|---|---|---|---|
timerMs | dynamic value | Yes | Yes | Wait duration in milliseconds. Can be a fixed number or a variable. |
Parameters marked Variable = Yes accept the
{{blockName.field}}syntax.
event — Event
Waits for an external event before continuing.
| Parameter | Type | Required | Variable | Description |
|---|---|---|---|---|
eventType | text | Yes | No | Expected event type (e.g. webhook_received, file_uploaded, user_action, approval_received, or custom). |
eventFilter | array | No | No | Filter conditions on the received event. Only events matching the filters trigger resumption. |
timeout | number | No | No | Maximum wait time in milliseconds before timeout. Presets: 30s, 1min, 5min, 15min, 1h, 24h. (Default: 60000, min 5000, max 86400000) |
condition — Condition
Periodically evaluates an expression and resumes when it returns true (polling).
| Parameter | Type | Required | Variable | Description |
|---|---|---|---|---|
conditionExpression | text | Yes | No | JavaScript expression evaluated periodically. The wait ends when it returns true. |
timeout | number | No | No | Maximum wait time in milliseconds before timeout. Presets: 30s, 1min, 5min, 15min, 1h, 24h. (Default: 60000, min 5000, max 86400000) |
Output
Output variable : waitResult
{
"waitedMs": 0
}
Example
Wait 5 seconds before continuing.
Input :
{}
Output :
{"waitedMs": 5000}
Tip
{{waitResult.waitedMs}} indicates the actual wait duration in milliseconds. In durable mode (Run), the wait is persisted and survives restarts.