Flow Automation: Delay
You can use Delay in Flow Automation to pause a workflow when it reaches this step, then continue with the next steps after a specified amount of time. For example, you can wait 1 hour after an order is created before checking whether the customer has completed payment, or wait 3 days after an order is shipped before sending an email reminding the customer to leave a review.
This guide explains when to use Delay, its field descriptions, and usage notes, and provides a practical example.
When to Use Delay
Use Delay when:
- You want to allow customers or staff some processing time before checking the result. For example, give customers 1 hour to complete payment after placing an order.
- You want notifications to be sent a certain period of time after an event occurs, rather than immediately.
- You want to wait for the system to finish certain processes before the workflow continues, such as waiting for an order’s fraud analysis results to be generated, which usually takes 1-2 hours.
Field Descriptions
| Field | Description |
| Delay duration | Enter the amount of time to wait (as a number). |
| Time unit | Select Seconds, Minutes, Hours, or Days. |
Usage Notes
- Information may change during the wait: While the workflow is paused, order or customer information may change. For example, the customer may complete payment during this period. If subsequent steps depend on the latest information, we recommend adding a query action (such as Batch query orders) after the delay to retrieve the latest data, and then setting up your conditions.
- Can be used multiple times: You can add Delay multiple times to the same workflow to run different steps in stages.
- Running record: In the Flow running record, a workflow that is waiting will be shown as running. It will resume execution once the delay ends.
Supported Triggers
Delay is a general step and can be used in workflows initiated by any trigger.
Example Use Case
Here is a practical example of using Delay to automatically follow up on unpaid orders.
Scenario: If a customer still hasn’t completed payment 1 hour after placing an order, add a tag to the order and notify the customer service team to follow up.
- Trigger: Order creation
- Delay: 1 hour
-
Action 1: Batch query orders
- Query conditions: [Order IDs], with the value set to [System order number]
- How to sort query results: Select [Most recently created order] or [Earliest order created] as needed.
- The quantity to keep in the query result: Enter a number as needed, up to 100 orders.
- Condition: [Payment status] equals [Unpaid]
-
Action 2: Update order tags
- Order tags: Pending Payment
-
Action 3: Send email
- Subject: Order [System order number] still unpaid 1 hour after placement
- Content: Please contact the customer promptly to check whether they need help completing the payment.
- Recipient: Manually enter the email address of your customer service team.
- Outcome: Orders that remain unpaid 1 hour after placement will be automatically tagged, allowing your customer service team to follow up efficiently and improve payment conversion.
| Note: To insert the information shown in square brackets (such as the system order number), click + Add variable and select the corresponding parameter. |