Skip to content

Wait

Wait stops the flow for the number of seconds you set and then lets the data or message it received pass through, unchanged.

Use it when you need to give another service time before continuing, or to space out actions that shouldn’t all happen at once.

When to use it

  • Wait for an external service to finish processing a file before checking the result.
  • Space out sending several messages so you don’t overwhelm the recipient.
  • Respect the request limits of a service that doesn’t accept many calls in a row.
  • Leave a margin between creating a record and looking it up.

Configuration

FieldWhat it does
DataThe data you want to hold. If you connect this field, Message is hidden.
MessageThe message you want to hold. If you connect this field, Data is hidden.
SecondsHow many seconds the pause lasts. The default is 5.

If what arrives is empty, the component doesn’t wait and continues straight away.

Output

The component returns exactly what it received, once the pause is over:

  • Data, if you connected data.
  • Message, if you connected a message.

Connect the output to the component that should run after the wait.

Example

A flow uploads a document to a processing service and then asks for the result. Since the service takes a few seconds, a Wait with Seconds set to 10 sits between the upload and the request. That way the request arrives when the result is ready.