If you’re ready to level up your automation skills, this is the perfect place to start. Master 6 Power Automate Control Actions Easily with this first post in our Power Automate Built-in Tools Series. This article kicks off a deep dive into Microsoft Power Automateโs most essential tools โ and weโre starting with one of the most important categories: Control actions.
๐ About This Tutorial Series
Power Automate offers several built-in tools that let you automate business processes across Microsoft 365 and beyond. In this blog series, weโll cover each category in detail to help beginners and intermediate users master automation step by step.
๐งฐ Here’s what we’ll cover in the series:

- Control
- Data Operation
- Date Time
- Flow Button for Mobile
- HTTP
- Microsoft Teams Webhook
- Number Functions
- Request
- Schedule
- Text Functions
- Variable
We begin the series with the foundational Control actions.
๐ What Are Power Automate Control Actions?
Before you can automate with confidence, you need logic. Control actions give your flows the power to make decisions, repeat tasks, and organize execution. In this guide, youโll Master 6 Power Automate Control Actions Easily, including:

- Condition
- Apply to Each
- Do Until
- Scope
- Switch
- Terminate
Each of these actions gives you more control and flexibility when designing flows.
โ 1. Condition
The Condition control allows your flow to make a True/False decision based on data.
๐ Use Case:
When a new email arrives, check if the subject contains “Invoice” but the email has no attachment. If that’s true, send a reminder email asking the sender to attach the required invoice.
๐ง How to Use:
- Start your flow with the โWhen a new email arrives (V3)โ trigger from Outlook.
- Click the plus (+) icon below the trigger to add a new action.
- You can either:
- Search for
"Condition"in the search box, then select Condition or - Go to Built-in > Control, then select Condition.
- Search for

- In the Condition action:
- In the first row, click the flash icon (dynamic content) and select Subject.
- Set the condition to contains โ type
"Invoice". - Click on + New Item to add another condition.
- In the new row, click the flash icon again and select Has Attachment from the dynamic content list.
- Set the condition to is equal to โ type “
false“.

- The Condition control creates two paths:
- True โ when the condition is met.
- False โ when it’s not met.
- Under the True section:
- Add the Send an email (V2) action.
- In the To field, click the flash icon, and select From to use the sender’s email address dynamically.
- Add a Subject and Body for your reminder, such as:
- Subject: Missing Invoice Attachment
- Body: Hi, it looks like your email with subject โInvoiceโ didnโt include an attachment. Could you please resend it with the invoice attached?

๐ 2. Apply to Each
The Apply to Each control is used when you want to loop through a collection such as rows in an Excel table, a SharePoint list, or any array of items. It processes each item one at a time in sequence.
๐ Use Case:
Send a personalized email to each contact listed in an Excel file with a table containing the following columns:
Email AddressNameSubjectMessage

๐ Trigger to Use:
Use the “Manually trigger a flow” action (from the Flow Button for Mobile connector), which is great for manually launching a flow when you’re ready to send emails.
๐ง How to Use:
- Add the โList rows present in a tableโ action to read the rows.
- Select the Location, Document Library, file and the table.
- Click the plus (+) icon below this action to add a new step.

- Either search for โApply to eachโ in the search box,
or go to Built-in > Control > Apply to each. - In the Apply to each input field:
- Select the value field from dynamic content (this represents each row in the table).

- Inside the Apply to each container:
- Add a Send an email (V2) action.
- In the To field, select the Email Address from dynamic content.
- In the Subject field, insert the Subject column value.
- In the Body, include a personalized message like:
Hi [Name],
[Message]
Use dynamic values for Name and Message from the Excel row.
- Add a Send an email (V2) action.

Now, the flow will loop through all 3 rows and send a custom email to each contact based on the data in the table.
โณ 3. Do Until
Do Until is a control action that repeats a set of actions until a specific condition is met โ or until it times out. Itโs ideal for monitoring dynamic data, like tracking updates in an Excel table.
๐ Use Case:
You have an Excel file with daily sales data stored in a table.
You want to check throughout the day if total sales exceed $1,000.

- If sales reach the goal within the day โ send a “Congrats!” email.
- If not by the end of the day โ send a “Letโs improve sales” email.
๐ง How to Use:
- Trigger: Scheduled Flow
- Trigger: Recurrence
- Frequency: every morning (e.g., 8:00 AM daily)

- Add a Variable TotalSales and set its value to 0

- Add a Do Until control
- This loop will keep checking today’s sales total every 30 minutes, for up to 12 hours.
- Configure Do Until timeout
- Timeout: 12 hours – PT12H
- Count: 24 iterations
- If the Timeout and Count options are not visible, click on ‘Advanced Parameters‘ and check them.
- Set the Do Until condition to exit when:
TotalSales is greater than or equal to 1000

- Inside the Do Until loop:
- Add the โList rows present in a tableโ action to read the rows.
- Select the Location, Document Library, file and the table.
- Add a Filter Query to retrieve only the rows for the current day
In the filter field, enter: Date eq ‘<write expression here>’.
Click on the fx icon, paste the expression formatDateTime(utcNow(),’dd/M/yyyy’) into the field, and then click the Add button.

- Calculate total sales
Add the Apply to each action:- Input: Select an output body/value from the Excel ‘List rows present in a table’ action
- Add action: Increment variable
- Name:
TotalSalesValue:items('Apply_to_each')?['Amount']Add the value from the dynamic values list by clicking on the flash icon, or click on the fx icon, paste the expression there, and click the Add button
AmounttoTotalSales. - Name:

- Add a Delay of 30 minutes

- One more action we need is to reset the
TotalSalesvalue before the “List rows present in a table” action. This ensures that in the next cycle of the Do Until action, the values from the previous cycle donโt get added to the current cycle.
Add a Set variable action and set the Value to0.

- After the loop: Add a Condition
- If TotalSales is greater than or equal to 1000 โ send a โCongrats!โ email
- Otherwise โ send a motivational or alert email

๐ฆ 4. Scope
Scope helps you group multiple actions together โ useful for organization and error handling.
๐ Use Case:
Group all actions related to invoice approval into one scope.
๐ง How to Use:
- Add a Scope action.
- Drag related steps inside it.
- Monitor success or failure of the whole group.

๐ 5. Switch
Switch is similar to Condition but is better for handling multiple possible values.
๐ Use Case:
Trigger different actions based on department: Sales, HR, or IT.
๐ง How to Use:
- Choose a variable (e.g., Department).
- Add cases like Sales, HR, IT.
- Include a Default case for unhandled values.

๐ 6. Terminate
Terminate lets you end the flow early with a specific status: Failed, or Cancelled.
๐ Use Case:
Stop the flow if required the status is Failed or Cancelled.
๐ง How to Use:
- Use ‘Terminate‘ after a condition check. Note that ‘OR‘ is selected and there are two conditionsโif either one is true, the ‘True‘ section will run and terminate the flow. Otherwise, it will continue and send an email

๐ง Summary: Control Actions in Power Automate
Hereโs a quick overview of the 6 actions we covered:
| Action | Function |
|---|---|
| Condition | Make decisions (If/Else) |
| Apply to Each | Loop through arrays or lists |
| Do Until | Repeat until condition is true |
| Scope | Group actions together |
| Switch | Handle multiple cases |
| Terminate | End the flow with status |
When you Master 6 Power Automate Control Actions Easily, youโre building a strong foundation for more advanced flows.
๐ก Final Thoughts
That wraps up the first part of our Power Automate Built-in Tools Series! When you Master 6 Power Automate Control Actions Easily, you gain the power to build intelligent, structured, and reliable flows. These tools form the logical backbone of any process automation.
Next up, weโll dive into Data Operations โ stay tuned!