A delay step, also called a wait step, is a workflow action that pauses a running automation for a defined period, until a specific date and time, or until an expected event occurs, and then resumes execution at the next step. In automation platforms, the delay step is the basic tool for controlling timing inside a workflow: it spaces out follow-up messages, waits for external systems to finish their work, respects rate limits and aligns actions with business hours.
A delay step does not keep a process running in memory while it waits. Mature workflow engines persist the workflow state to storage, schedule a wake-up and release resources, which is why a single workflow can wait for minutes, days or even months without consuming compute. Understanding this mechanism explains both the power of delay steps and their most common failure modes.
How a delay step pauses and resumes a workflow
When execution reaches a delay step, the engine records the workflow state and a resume time, then stops processing that run. The saved state includes workflow variables, the position in the step sequence and any data collected from the trigger or earlier actions.
A scheduler or timer service checks for runs whose resume time has passed and places them back in the execution queue. The run then continues from the step after the delay, using the stored data. Because resumption depends on a queue, the actual resume moment is approximate rather than exact, typically within seconds to a few minutes of the target, depending on platform load and polling interval.
This design has a practical consequence: data captured before the delay may be stale when the workflow resumes. A customer who was eligible for a reminder on Monday may have completed the purchase by Wednesday, so robust designs re-read critical data after a long wait.
Types of delay steps
Automation platforms offer several delay variants, each suited to a different timing problem. The table compares the forms found in most workflow builders, whether low-code or code-based.
| Variant | How the resume time is set | Typical use |
|---|---|---|
| Fixed duration delay | A set interval, such as 2 hours or 3 days | Spacing follow-up messages |
| Delay until date or time | An absolute timestamp or a time of day | Sending at 9:00 local time |
| Relative date delay | Offset from a stored date field | Reminder 7 days before renewal |
| Business hours delay | Next open window in a working calendar | Avoiding night or weekend actions |
| Wait for event | Arrival of a webhook or record change | Waiting for a payment confirmation |
| Wait for condition with timeout | Condition becomes true or a deadline passes | Approval or escalation flows |
The last two variants differ from pure delays because an external signal ends the wait. They should always include a timeout, otherwise a missing event leaves the run suspended indefinitely and quietly consumes workflow quotas.
Key parameters and their effects
Configuring a delay step correctly means setting a handful of parameters that determine its behavior. Small differences in these settings often explain why two seemingly identical workflows behave differently.
| Parameter | Typical values | What it affects |
|---|---|---|
| Duration or target time | Seconds to months | When the run resumes |
| Time zone | Account, user or record time zone | Local time of the resumed action |
| Business calendar | Working days, holidays | Whether nights and holidays are skipped |
| Timeout | Minutes to weeks | Maximum wait for an event or condition |
| Maximum delay limit | Platform-specific, often 30 days to 1 year | Longest permitted pause |
| Behavior on edit | Keep old version or migrate runs | Which definition waiting runs follow |
The time zone setting causes the most production incidents. A delay until 9:00 evaluated in the server time zone may resume in the middle of the night for customers on another continent, and daylight saving changes can shift a recurring delay by an hour.
Delay step compared with related workflow elements
A delay step controls when the next action runs, while neighboring elements decide whether, how often or in what order actions run. The comparison helps designers choose the right element instead of approximating one with another.
| Element | Primary purpose | Key difference from a delay step |
|---|---|---|
| Delay step | Pause the current run | Changes timing only |
| Scheduled trigger | Start a new run at set times | Creates runs instead of pausing one |
| Condition | Choose a path based on data | Evaluates once, with no waiting |
| Loop step | Repeat actions over items | Iterates; may contain delays inside |
| Approval workflow | Wait for a human decision | Specialized event wait with assignees |
A frequent anti-pattern is a loop with a short delay used for polling, for example checking an order status every minute. Where the external system can send a webhook, a wait-for-event step is cheaper and more reliable, because it avoids hundreds of redundant runs and API calls.
Designing reliable delays
Reliable delay design rests on re-validation, idempotency and observability. The following practices prevent most timing-related defects in long-running workflows.
- Re-check conditions after the delay, for example confirming that a cart is still unpaid before sending a reminder.
- Make resumed actions idempotent, so a duplicate resume does not send a message twice.
- Store dates as timestamps with explicit time zones rather than as local text.
- Add a timeout and a fallback path to every wait for event or condition.
- Log the planned and actual resume times in the execution log to detect drift.
Teams should also decide in advance what happens to waiting runs when the workflow is edited. Some platforms keep each run on its original version, while others apply the new definition, which can skip or repeat steps for thousands of suspended runs.
Common problems with delay steps
Most delay defects appear only in production, because tests rarely wait for real durations. The table links typical symptoms to their underlying causes and fixes.
| Symptom | Likely cause | Fix |
|---|---|---|
| Messages arrive at night | Server time zone used | Set the recipient time zone |
| Reminder sent after purchase | Stale data after the wait | Add a condition after the delay |
| Runs never finish | Event wait without timeout | Add a timeout branch |
| Duplicate actions | Retry after a resume failure | Use idempotency keys |
| Testing takes days | Real durations in test runs | Use shortened test durations |
Understanding it simply
A delay step tells an automated process to wait before doing the next thing. It works like a kitchen timer. You put the dish in the oven, set the timer and come back when it rings.
The wait can be a fixed time, such as two days, or it can last until something happens, such as a customer paying an invoice. The key point is timing. A delay step makes sure each action happens at the right moment, not too early and not too late.
Applied in practice
An online training provider sends a welcome email when a learner registers. The workflow then uses a fixed 3-day delay before checking whether the learner has opened the first lesson. If not, a condition routes the run to a reminder email, scheduled with a delay until 9:00 in the learner’s time zone.
A later step waits for a course completion event with a 30-day timeout. Learners who finish receive a certificate at once, while those who reach the timeout are offered a call with a tutor. After the team added the post-delay condition and local time zones, complaints about irrelevant or late-night reminders dropped sharply, and course completion rates rose over the following quarter.