Sleep
Description
Pauses execution for the given number of milliseconds before emitting the execution pin.
When to use
Use Sleep to introduce a deliberate delay in an execution flow — for example,
throttling requests inside a loop, waiting for a remote system to process a job,
or rate-limiting API calls. Place it between two nodes in the execution chain and
set duration in milliseconds. For recurring timed triggers, use Simple schedule
or Cron schedule instead.
Pins
Input pins
| Pin | Type | Default | Notes |
|---|---|---|---|
| Duration (ms) | integer | 1000 | How long to pause in milliseconds. 1000 = 1 second. |
Execution pins
| Pin | Direction |
|---|---|
| In | Input |
| Out | Output |
Example
Poll an API three times with a 2-second pause between each call. Set First index to 1
and Last index to 3 on For loop. On the Loop body execution output, wire HTTP request
followed by Sleep (Duration (ms) set to 2000), then Log message. Each iteration
pauses for 2 seconds after the request before the log step runs.