Wait
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.

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
- API block makes first request
- Wait block pauses for 2 seconds
- API block makes second request
- Process continues without hitting rate limits
Timed Notifications
Scenario: Send follow-up messages
- Function sends initial email
- Wait block pauses for 5 minutes
- Function sends follow-up email
Processing Delays
Scenario: Wait for external system
- API block triggers job in external system
- Wait block pauses for 30 seconds
- 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
