BlocksCore Functions
Delay
Pause the flow execution for a specified amount of time.
Delay Block
The Delay Block pauses the execution of your endpoint flow for a set duration before continuing to the next block.
Configuration
| Field | Required | Description |
|---|---|---|
| Duration | ✅ | The time to wait (e.g., 1000 for 1 second). |
| Unit | ✅ | The unit of time (Milliseconds, Seconds, etc.). |
Behavior
When the flow hits the Delay block, it will "sleep" without consuming CPU resources. After the specified time elapses, it wakes up and continues. This is useful for rate-limiting downstream API calls or waiting for an external asynchronous process to finish.
Output Variable
Specify an Output Variable name to store the executed delay duration.
Success Payload
1000(The raw number representing the duration in milliseconds)
Errors & Responses
If an error occurs, the variable will be populated with:
{
"error_key": "INVALID_DURATION",
"error_message": "Duration must be a positive number."
}Common Error Keys: INVALID_DURATION, DELAY_RUNTIME_ERROR
