How to Use Delay Flow Action in Power Automate?

Have you ever used Delay and Delay Until flow actions in a Power Automate? In this Power Automate tutorial, I will explain how to pause a flow using the Delay and Delay Until flow action using Power Automate.

Here, we will see a few examples of the delay action in Power Automate.

  • Power Automate Delay action until 1 Minute
  • Power Automate Delay Milliseconds
  • Power Automate flow Delay till the Next Day
  • Power Automate Delay until a Specific Date and Time

How to Use Delay Flow Action in Power Automate

Delay Action: The Power Automate Delay action waits for a number of units, such as Seconds, Minutes, Hours, Days, Weeks, and Months, before proceeding with the execution of the following step.

Delay Until: Power Automate Delay until action waits for the specific Timestamp until the following action runs. The time stamp will be in ISO Standard format for a particular date and time.

A user can manually enter the Timestamp in ISO format or retrieve it from the SharePoint date column in ISO format.

Power Automate delay flow action
Power Automate delay until flow action

This is the overview of the Power Automate Delay flow action.

Power Automate Delay action until 1 Minute

In this section, I will explain an example of Power Automate delay action until 1 minute.

We will go through how to delay a Power Automate flow for one minute using delay action.

Example:

Within this example, my requirement is to pause the Power Automate flow for one minute. For this example, I will create a Power Automate flow that will send an email notification to the user when an item is created in the SharePoint list.

For that, I have taken a SharePoint list named ‘Conference Details‘ with different columns, as shown below:

Power Automate Delay action

Follow the below instructions to create an Automated Cloud flow:

1. Login to Power Automate -> click +Create -> Select Automated cloud flow -> Choose the trigger When an item is created -> Tap the Create button. Give the details in the trigger.

  • Site Address: Select a site name from the drop-down.
  • List Name: Select a list name from the drop-down.
Use Wait conditions in Power Automate

2. In the next step, add a Delay action under the trigger and set the below properties.

  • Count: Enter the number of counts manually.
  • Unit: Select the unit of time from the drop-down menu.
Use Wait conditions in the Power Automate flow

3. Next, add a Send an email (V2) action and provide below details:

  • To: Provide user email.
  • Subject: Enter the subject of the email.
  • Body: Provide the details as mentioned in the code below.
How to Use Wait conditions in the Power Automate flow

4. Now that the flow is created, let’s Save and run it manually. Add an item to the SharePoint list, and you can see that the flow is running, but it gets paused for 1 minute.

Power Automate flow how to use wait conditions

5. After one minute, the flow runs successfully and sends an email to the user as shown below:

Power Automate how to use wait conditions
How to delay a Power Automate flow execution till one minute

This is how to delay the Power Automate flow by 1 minute using the delay action.

Power Automate Delay Milliseconds

Here, I will discuss pausing a Power Automate flow until milliseconds using a delay flow action.

Power Automate delay milliseconds will also function like delay until a minute.

Example:

According to the requirement, we wanted to delay the Power Automate flow for 10 seconds. For that, I will create a Power Automate Instant cloud flow to retrieve the current date with a specific date format.

Follow the below step-wise process:

1. Open Power Automate Home page -> Click on +Create -> Select Instant cloud flow -> Choose Manually trigger a flow -> Click on Create.

2. Add an Initialize variable flow action to take the expression of formatdatetime to get the current date. Set the variable parameters.

  • Name: Enter the variable name manually as the Current Date.
  • Type: Select the type of a variable as a String from drop-down.
  • Value: Select field -> Click Expression -> Add the code.
Value: formatDateTime(utcNow(),'MM/dd/yyyy HH:mm:ss tt')

After that, click OK.

Power Automate Delay Milliseconds

3. Add a Delay flow action to pause the flow until a specific period of seconds. Specify the details like.

  • Count: Enter the count manually.
  • Unit: Take the unit as Seconds from the drop-down.
Power Automate flow delay flow action

4. To check the output of the current date expression, add the Compose flow action.

  • Inputs: Click the field -> Select the Current Date variable from dynamic content.
Delay flow action in Power Automate

After that, save and run the flow manually.

5. The screenshot below shows the expected output, which returns the current date value in the compose action after the delay action performs for 10 milliseconds.

Power Automate delay until 10 seconds

This is all about Power Automate flow delay until milliseconds.

Power Automate Flow Delay Until the Next Day

Similarly, I will brief you on another example, Power Automate delay until the next day.

So, let’s look at how to pause a Power Automate flow execution till the next day.

Example:

Within this example, we wanted to pause the Power Automate flow for 1 day. Here, I will create a Scheduled cloud flow that will run every week and send the user an email notification featuring the weather report daily.

Follow the above-mentioned steps to build a Power Automate flow.

1. In Power Automate, create a Scheduled cloud flow with a one-week frequency, as shown below.

  • Interval: Enter several intervals manually.
  • Frequency: Select the frequency from the drop-down menu.
Power Automate Pause a flow by Delay function

2. In this step, add the Get Current weather action and provide the below parameters.

  • Location: Enter the location manually.
  • Units: Select units from the drop-down menu.
How to Pause a flow for next day by Power Automate

3. Next, add the Delay action and set details of the parameters.

  • Count: Take the count as 1 manually.
  • Unit: Select the unit as Day from the drop-down.
Power Automate delay a flow until next day

4. Then, take a Send an email(V2) flow action and provide parameters of it like below.

  • To: Specify the email address of the user.
  • Subject: Provide the purpose of the email.
  • Body: Enter the detailed description of the email.
Pause a flow using delay action until next day

5. Once the flow has been created, click on Save and Test the flow manually. As you can see, the flow is running, but it will get paused for 1 day, as shown below screenshot:

Pause a Power Automate flow using delay action till one day

6. After one day, it will send an email notification to the user about details of the weather report like below.

Delay a Power Automate flow using delay action till one day

This is how to pause a Power Automate flow execution till the next day using a delay action.

Power Automate Flow Delay Until a Specific Date

Now, I will discuss an example of Power Automate Delay until a specific date and time.

Example:

In this scenario, when a new task is added to the ‘Task List,’ the flow will check the Task Due Date, and a reminder email will be sent to the assigned person on the task due date.

For that, I have taken a SharePoint list named ‘Task List’ with different datatypes with different columns, as shown below:

Power Automate Delay Until Specific Date and Time

Follow the below step-by-step guide to build a Power Automate Automated cloud flow:

1. Select an Automated cloud flow with the trigger When an item is created. Provide the below given details in the trigger.

  • Site Address: Select a SharePoint site name from the drop-down.
  • List Name: Select a list name from the drop-down.
Use Wait conditions in Power Automate flow

2. Under the trigger, take an Initialize variable flow action to initialize the date. Set the following details.

  • Name: Give the name as Task Due Date.
  • Type: Select the datatype as a String.
  • Value: Select field -> Provide the Task Due date from the dynamic content.
@{triggerOutputs()?['body/TaskDueDate']}
How to use Delay Until Action in Power Automate

3. Next, add a ‘Convert Time Zone’ flow action and provide below details like:

  • Base time: Select the initialized date variable from the dynamic content.
  • Format string: Select the format date string from the drop-down.
  • Source time zone: Select a source time zone from the drop-down menu.
  • Destination time zone: Set the destination time zone from the drop-down menu options.
How to use Power Automate wait timer conditions

4. After that, take the Delay Until flow action and add the Timestamp value that is generated from the convert time zone as shown below:

  • Timestamp: Select the field -> Take the value of the converted time zone.
@{body('Convert_time_zone')}
Pause a flow by Delay until function Power Automate

5. Finally, add a ‘Send an email (V2)‘ flow action. Set the below-given parameters.

  • To: Specify the email address of the user.
  • Subject: Provide the purpose of the email.
  • Body: Enter the detailed description of the email.
Pause a flow by Delay until action Power Automate

6. Now, the flow is ready to run. Click on save and test the flow manually. Even if the flow starts running, it will delay the flow until a specific date, as shown below.

How to Delay a Power Automate flow execution till a specified date

7. On the specific due date of a task, the assigned person will receive a reminder email notification, as shown below.

Delay a Power Automate flow execution till a specified date

This is how to use the Delay Until flow action to pause the Power Automate flow till a specific date.

Conclusion

Through this Power Automate tutorial, I have explained how to use Delay and Delay Until action to pause a Power Automate Flow. Along with this, I have also covered the mentioned topics:

  • Power Automate Delay action until 1 minute
  • Power Automate Delay Milliseconds
  • Power Automate Flow Delay until the next day
  • Power Automate Flow Delay until a specific date

Also, you may like: