Delay Steps in Workflows
Learn how to use delay step to add a delay in the workflow execution.
The delay step allows you to pause the execution of your workflow for a specified duration. This is useful for implementing features like follow-up notifications, reminder sequences, or cooldown periods.
Common use cases
- Waiting for X amount of time before sending the message
- Wait for a short period of time before sending a push message in case the user seen the notification in the Inbox Component
- Send a reminder email 24 hours after a user abandons their shopping cart to encourage checkout completion
- Send a follow-up message 3 days after user registration to check if they need onboarding assistance
Adding a delay step
Delay steps can be inserted at any stage of your workflow execution, they can happen after or before any action. The workflow execution will be halted for the given amount of time and then resumed to the next step in the flow.
Notes:
-
Step conditions can be applied to delay step to skip the delay if certain conditions are met.
-
Delay step can be extended to subscriber's schedule. This option can be enabled in the delay step configuration. Channel notification after delay step will be sent on the next available slot in the subscriber's schedule.
-
Channel notification after delay step will be sent as per subscriber time zone if timezone attribute ofsubscriber is set. If timezone attribute is not set, then channel notification will be sent as per UTC timezone.
Changing the step content after triggering the workflow with delay step will affect the existing pending delayed notification content.
Delay types
- Fixed delay
- Scheduled delay
- Dynamic delay
Fixed delay
Fixed delay is a delay that is fixed and does not change. For example, if you want to delay the workflow for 1 day, you can use the fixed delay. It can be specified in seconds, minutes, hours, days, weeks, or months.