Wait

Pause workflow execution for a specified duration

The Wait block pauses your workflow for a specified amount of time before continuing to the next block. Use it to add delays between actions, respect API rate limits, or space out operations.

Wait Amount*
10
Max: 600 seconds or 10 minutes
Unit*
Select...

Overview

The Wait block enables you to:

Add time delays: Pause execution between workflow steps

Respect rate limits: Space out API calls to stay within limits

Schedule sequences: Create timed workflows with delays between actions

Configuration

Wait Amount

Enter the duration to pause execution:

  • Input: Positive number
  • Maximum: 600 seconds (10 minutes) or 10 minutes

Unit

Choose the time unit:

  • Seconds: For short, precise delays
  • Minutes: For longer pauses

Wait blocks can be cancelled by stopping the workflow. The maximum wait time is 10 minutes.

Outputs

  • <wait.waitDuration>: The wait duration in milliseconds
  • <wait.status>: Status of the wait ('waiting', 'completed', or 'cancelled')

Example Use Cases

API Rate Limiting

Scenario: Stay within API rate limits

  1. API block makes first request
  2. Wait block pauses for 2 seconds
  3. API block makes second request
  4. Process continues without hitting rate limits

Timed Notifications

Scenario: Send follow-up messages

  1. Function sends initial email
  2. Wait block pauses for 5 minutes
  3. Function sends follow-up email

Processing Delays

Scenario: Wait for external system

  1. API block triggers job in external system
  2. Wait block pauses for 30 seconds
  3. API block checks job completion status

Best Practices

  • Keep waits reasonable: Use Wait for delays up to 10 minutes. For longer delays, consider scheduled workflows
  • Monitor execution time: Remember that waits extend total workflow duration