Wait Flow
Simple delay mechanism to pause execution between flows for specified time duration.
How to Use
Input Requirements
To configure the Wait flow, you only need:
- Delay Duration: Number of milliseconds to wait before executing the next flow
Configuration
Basic Wait Configuration{
"milliseconds": 5000
}
This configuration will pause execution for 5 seconds (5000 milliseconds) before proceeding to the next flow.
Common Wait Durations
- 1 second:
1000
milliseconds - 5 seconds:
5000
milliseconds - 30 seconds:
30000
milliseconds - 1 minute:
60000
milliseconds - 5 minutes:
300000
milliseconds
What You Get Back
The Wait flow passes through the original input data unchanged after the specified delay period.
Configuration Examples
API Rate Limiting
Use Case: Prevent overwhelming external APIs Configuration:
{
"milliseconds": 2000
}
User Experience Delays
Use Case: Allow time for user to read notifications Configuration:
{
"milliseconds": 3000
}
Batch Processing Intervals
Use Case: Space out bulk operations Configuration:
{
"milliseconds": 10000
}
Use Cases
API Integration
- Rate limiting: Respect API rate limits between requests
- Retry delays: Wait before retrying failed requests
- Batch processing: Space out bulk operations
User Interface
- Notification timing: Allow users to read messages
- Animation delays: Coordinate with UI animations
- Progressive disclosure: Stagger information display
System Operations
- Database operations: Allow time for data consistency
- File processing: Wait for file operations to complete
- Network delays: Account for network latency