Random Wait icon

Random Wait

Wait a random amount of time between min and max

Random Wait

AI-generated

Summary

Pause workflow execution for a random duration between the specified minimum and maximum values, using the selected time unit.

Inputs

  • Wait Unit (required) — The unit of time to use for the wait duration. Options are milliseconds, seconds, minutes, hours, or days.
  • Min Wait (required) — The minimum random duration to wait, as a non-negative number.
  • Max Wait (required) — The maximum random duration to wait, as a non-negative number greater than or equal to Min Wait.

Output shape

a single item representing the original input data, passed through after the wait period

The node execution is delayed by a randomized period between Min Wait and Max Wait based on the chosen unit. If the wait is less than 65 seconds, it uses a standard JavaScript timeout; otherwise, it uses n8n's internal execution hold to pause the workflow. Errors occur if inputs are invalid or if Min Wait is greater than Max Wait.

Discussion