Skip to main content

Sleep Component

Pause execution for a specific amount of time

Component key: sleep

Description#

The sleep component temporarily stops the execution of an integration for a specified amount of time. This is handy if your integration needs to wait for a known amount of time while a third party service performs some task.

Sleep time is measured in milliseconds. For example, to sleep for 5.5 seconds, enter 5500 as your ms input. Note that relying on sleep is not generally best practice for development. If you are waiting on a third-party service to complete a task, check if the third party offers an endpoint you can query for task status, and build a code block or custom component around that.

Actions#

Sleep#

Sleep for a number of milliseconds before continuing the integration. | key: sleep

InputKeyDefaultNotesExample

Milliseconds

string
/ Required
ms1000The number of milliseconds to sleep1000