Power Automate Trigger Conditions

Do you want to add trigger conditions in Power Automate? In this Power Automate tutorial, I will explain everything about “Power Automate trigger conditions“, Power Automate trigger conditions syntax, and various Power Automate trigger conditions examples, etc.

Trigger Conditions in Power Automate are like rules that you set for your automated tasks. They make sure your task only runs if certain conditions are met.

Previously, you had to monitor tasks as they progressed to ensure they were progressing well. This sometimes led to tasks running without doing anything useful, using up your resources. Trigger conditions prevent that from happening by stopping tasks if the conditions aren’t right.

In this Power Automate tutorial, we will see what a trigger condition is and how to add a trigger condition to a flow in Power Automate.

Also, we will cover some examples to better understand the usage of trigger conditions in Power Automate.

Here are the topics we will cover

  • What is the trigger condition in Power Automate?
  • How to add a trigger condition in Power Automate?
  • Power Automate trigger condition list
  • Power Automate trigger condition example
    • Power Automate trigger conditions not equal
    • Power Automate trigger conditions equal
    • Power Automate trigger conditions AND
    • Power Automate trigger conditions OR
    • Power Automate trigger conditions contains
    • Power Automate trigger conditions AND OR
    • Power Automate trigger conditions choice
  • Power Automate SharePoint trigger conditions
  • Power Automate when an item is created trigger conditions
  • Multiple Trigger Conditions in Power Automate

Trigger condition in Power Automate

In Power Automate, a trigger condition is a feature that allows us to specify particular conditions that must be met before an automated flow can run/ trigger. These conditions work as filters to control when your flow starts.

If the conditions are not satisfied, the flow won’t proceed, which helps prevent unnecessary or incorrect executions of your workflow.

The trigger conditions ensure that your flow operates only when specific requirements are met, thus improving the efficiency of your automated processes in Power Automate.

For example, you have created a flow that will trigger when a new email arrives in Outlook. So, this flow will trigger whenever a new email arrives in Outlook. However, when a subject contains ‘Need Help’, only the flow will trigger. In this situation, we can use a trigger condition that will prevent the trigger from firing until the trigger condition is satisfied.

How to add a trigger condition in Power Automate

Let’s see how to add a trigger condition in Power Automate.

For example, I have a Product details SharePoint list, which contains the following columns:

  • Title: Single line of text
  • Name: Single line of text
  • Price: Currency
  • Quantity: Number
  • Status: Choice [ In stock, Out of stock, Low stock]
power automate trigger conditions

When an item is modified and the Status is changed to ‘Low stock’, then only the flow will trigger in Power Automate.

1. Open Power Automate Cloud, create an Automated Cloud flow, and then select the trigger action as ‘When an item is created or modified‘. Then provide the below information:

  • Site Address: Provide the SharePoint site address.
  • List name: Provide the Sharepoint list name.
power automate trigger conditions list

2. To add the trigger condition, click the More button (…), then select Settings, as shown in the screenshot below.

add trigger condition in power automate

3. If you scroll down, you can see an option for the Trigger condition. By clicking on the +Add button, you can add the trigger condition.

add trigger condition in power automate

4. Once you click on the +Add button, the formula box will open, where we will add the trigger condition. So the trigger condition we are going to use is below:

@equals(triggerOutputs()?['body/Status/Value'], 'Low stock')
how to add trigger condition in power automate

Then add a compose action and add some data.

Now, save the flow and run it manually. Modify an item from the SharePoint list, ensuring the Status is set to ‘Low stock’. Otherwise, the flow will not trigger.

power automate trigger conditions syntax

As I have modified the Quantity and Status of the Product, you can see that our flow runs successfully because the status is now equal to ‘Low stock’.

when an item is created or modified trigger conditions

Check out Power Automate OData Filter Query with Examples

Power Automate trigger conditions list

Here, we will see a list of trigger conditions in Power Automate.

List of trigger conditions in Power Automate.

ExpressionDescriptionExample
andThis accepts two Boolean arguments and returns true only if both values are true.This expression returns true:
and(greater(10,1),equals(0,0))
orIt accepts two Boolean arguments, the function returns true if either of the arguments is true. It is essential that both arguments provided are of Boolean data type.This expression returns true:
or(greater(1,10),equals(2,2))
equalsIt will return if both are equalThis expression returns true:
equals(2,2)
lessIt accepts two arguments and returns true if the first argument is numerically less than the second argument. It’s important to note that the supported data types for these arguments are integer, float, and string.This expression retuns false:
less(10, 1)
lessOrEqualsIt accepts two arguments and returns true if the first argument is numerically less than or equal to the second argument. It’s important to note that the supported data types for these arguments are integer, float, and string.This expression returns true
lessOrEquals(9,9)
greaterIt accepts two arguments and returns true if the first argument is numerically greater than the second argument. Please be aware that the supported data types for these arguments are integer, float, and string.This expression returns false:
greater(14,14)
greaterOrEqualsIt accepts two arguments and returns true if the first argument is numerically greater than or equal to the second argument. It’s important to note that the supported data types for these arguments are integer, float, and string.This expression returns true:
greaterOrEquals(100,100)
emptyReturns true if the object, array, or string lacks content or is empty.This expression returns false:
empty(‘To’)
notIt returns the opposite of a Boolean value.
This expression returns true
not(contains(‘200 Success’, ‘400’))
ifIt accepts value based on whether the expression evaluates to true or false.if(equals(10, 10), ‘true’, ‘false’)

Check out Copy SharePoint Files From One Tenant to Another Tenant Using Power Automate

Power Automate Trigger Conditions Examples

Now, let’s examine a few Power Automate trigger condition examples.

1. Power Automate trigger conditions not equal

Here, we will see how to use the not equal trigger condition in Power Automate

For example, we will use the above SharePoint Product List and set the trigger action to ‘When an item is created or modified’ in Power Automate. This action will only trigger when the Status is not equal to Out of Stock.

For this, we will use the expression below when an item is created or modified, trigger conditions:

@not(equals(triggerOutputs()?['body/Status/Value'], 'Out of Stock'))
power automate trigger conditions not equal

Next, we will add a Compose action to check the output of the trigger action. For this, click on + New step -> select Compose action. Then provide the below information:

  • Inputs: Provide the value below to see the name and Status of the modified product.
Product Name: @{triggerOutputs()?['body/Name']}
Status: @{triggerOutputs()?['body/Status/Value']}
power automate trigger condition not equal

To run the flow manually, you can modify an existing item or create a new one in the SharePoint list.

For example, I have modified the quantity of the Keyboard from 1200 to 2000, and the status is In stock.

not equal trigger condition power automate

Now you can see that our flow runs successfully, as the Status is not equal to ‘Out of stock’.

not equal trigger condition power automate

Check out Copy File When a File is Created or Modified in SharePoint using Power Automate

2. Power Automate trigger condition equal

Here, we will see how to use an equal operator in the Power Automate trigger condition.

For example, we will use the same SharePoint Product details list explained above, along with the trigger action ‘When an item is created or modified’.

When a new item is created in the SharePoint list with the product name Keyboard, only the flow will trigger.

For this, we will use the following expression: ‘When an item is created or modified, trigger condition:

@equals(triggerOutputs()?['body/Name'], 'Keyboard')
power automate trigger conditions examples

Next, we will add a compose action to show the output of the trigger action. So, click on the + New step, select Compose action, then provide the information below:

  • Inputs: Provide the below expression:
Product Name: @{triggerOutputs()?['body/Name']}
Status: @{triggerOutputs()?['body/Status/Value']}
trigger conditions power automate examples

Now save the flow and run it manually. Then create an item in the SharePoint list to trigger the flow.

power automate trigger condition examples

You can see the flow run successfully, as the trigger condition in the Power Automate flow is satisfied.

trigger condition power automate

Check out Copy and Rename File in Power Automate

3. Power Automate trigger condition AND

Here, we will see how to use the AND operator in the Power Automate trigger condition.

For example, we will use the above SharePoint list (Product details), and we will use the trigger action When an item is created or modified. This action will only trigger when an item is modified or created with the product name equal to ‘Keyboard’ and the Status is equal to ‘Out of stock’.

For this, we will use the expression below in the ” When an item is created or modified trigger condition.

@and(equals(triggerOutputs()?['body/Title'], 'Keyboard'),equals(triggerOutputs()?['body/Status/Value'], 'Out of Stock'))
power automate trigger conditions and

Next, we will add a compose action to show the output of the trigger action. So, click on the +New step, select Compose action, then provide the below information:

  • Inputs: Provide the below expression:
Product Name: @{triggerOutputs()?['body/Name']}
Status: @{triggerOutputs()?['body/Status/Value']}
power automate trigger conditions and

Now save the flow and run it manually. Then, modify a SharePoint list item status column from ‘In stock’ to ‘Out of stock’, as shown in the screenshot below.

power automate multiple trigger conditions

You can see the flow run successfully, and you can see trigger outputs in Power Automate.

power automate trigger condition and

Read Send an Email With Options in Power Automate

4. Power Automate trigger conditions OR

Here, we will see how to use the OR operator in the Power Automate trigger condition.

For example, we will use the above SharePoint Product list and use the trigger action as When an item is created or modified. This action will only trigger when an item is modified or created with the product name equal to the Keyboard or Mouse.

For this, we will use the expression below in the ” When an item is created or modified trigger condition.

@or(equals(triggerOutputs()?['body/Name'], 'Keyboard'), equals(triggerOutputs()?['body/Name'], 'Mouse'))
or trigger condition power automate

Next, we will add a compose action to show the output of the trigger action. So, click on the +New step, select Compose action, then provide the below information:

  • Inputs: Provide the below expression:
Product Name: @{triggerOutputs()?['body/Name']}
Status: @{triggerOutputs()?['body/Status/Value']}
power automate trigger conditions or

Now save the flow and run it manually. Modify an item in the SharePoint list. As shown in the screenshot below, I have updated the Status of the Mouse from ‘Low Stock’ to ‘In Stock’.

power automate trigger conditions or

You can see the flow run successfully, and you can see trigger outputs in Power Automate.

power automate trigger condition or

Read Create a SharePoint Online Communication Site Using Power Automate

5. Power Automate trigger condition contains

Here, we will see how to use the contains operator in the Power Automate trigger condition.

For example, we will use the above SharePoint Product list, and use the trigger action as When an item is created or modified. This action will only trigger when an item is modified or created if the name contains Mouse.

For this, we will use the expression below in the When an item is created or modified trigger condition.

@contains(triggerOutputs()?['body/Name'], 'Mouse')
power automate trigger conditions contains

We will add a compose action to show the output of the trigger action. So, click on the +New step, select Compose action, then provide the below information:

  • Inputs: Provide the below expression:
Product Name: @{triggerOutputs()?['body/Name']}
Status: @{triggerOutputs()?['body/Status/Value']}
power automate trigger conditions contains

Now save the flow and run the flow manually. Modify an item in the SharePoint list. You can view the screenshot below. I have updated the status from ‘Low Stock’ to ‘In Stock’.

power automate flow trigger conditions

You can see the flow run successfully, and you can see trigger outputs in Power Automate.

power automate trigger conditions contains

Check out Send an Email with @mention in Power Automate

6. Power Automate trigger condition AND OR

Here, we will learn how to use the AND and OR operators in the Power Automate trigger condition.

For example, we will use the above SharePoint Product list and trigger action ‘When an item is created or modified’. This action will only trigger when an item is modified or created if the name equals the keyboard or it contains a Mouse, and the quantity of these two products must be greater than 60.

For this, we will use the expression below in the When an item is created or modified trigger condition.

@and(or(equals(triggerOutputs()?['body/Name'], 'Keyboard'), contains(triggerOutputs()?['body/Name'], 'Mouse')),greater(triggerOutputs()?['body/Quantity'], 60)
Power Automate trigger condition AND OR

Now, to show the output of the above trigger action, we will use the Compose action. For this, click on the +New step -> select Compose action. Then provide the below information:

  • Inputs: Provide the below expression:
Product Name: @{triggerOutputs()?['body/Name']}

Status: @{triggerOutputs()?['body/Status/Value']}
Quantity: @{triggerOutputs()?['body/Quantity']}
Power Automate trigger condition AND OR

Now save the flow and run it manually. Modify an item in the SharePoint list; for example, I have modified the price here.

power automate trigger conditions and or

You can see that the flow runs successfully and the trigger output in Power Automate.

Power Automate trigger condition AND OR

7. Power Automate trigger condition choice column

Here, we will see how to apply the Power Automate trigger condition on the SharePoint Choice column.

For example, in the above SharePoint Product list, the Status column is a choice type column. We will use the trigger action ‘When an item is created or modified’. This action will only trigger when the status is Low Stock or In Stock.

For this, we will use the expression below in the When an item is created or modified trigger condition.

@or(equals(triggerOutputs()?['body/Status/Value'], 'Out of Stock'), equals(triggerOutputs()?['body/Status/Value'], 'In Stock'))
power automate trigger conditions choice

We will add a compose action to show the output of the trigger action. So, click on the +New step, select Compose action, then provide the below information:

  • Inputs: Provide the below expression:
Product Name: @{triggerOutputs()?['body/Name']}
Status: @{triggerOutputs()?['body/Status/Value']}
power automate trigger conditions choice column

Now, save and run the flow manually. Modify an item in the Sharepoint list to trigger the flow, e.g., I have modified the quantity from 45 to 60 in the SharePoint list.

trigger conditions power automate choice column

You can see your flow runs successfully and trigger output in Power Automate.

power automate trigger conditions choice column

Check out Power Automate Dynamic Content

Power Automate SharePoint trigger conditions

Here, we will see how to use SharePoint columns in Power Automate trigger conditions.

For example, I have a SharePoint list, called Employee, which contains the following columns:

  • Title: Single line of text
  • Name: Single line of text
  • Department: Choice
  • Joining Date: Date and time
  • Designation: Single line of text
  • IsActive: Yes/No
power automate trigger condition examples

When an item is created or modified in the SharePoint list, the flow will trigger if the IsActive column of the created or modified item is set to true. Otherwise, it will not trigger. If it is true, we will send an email with the Employee details.

In Power Automate Cloud, create an Automated cloud flow that will trigger when an item is created or modified. Provide the below information:

  • Site Address: Provide the SharePoint site address
  • List name: Provide the SharePoint list name
trigger conditions power automate sharepoint list

Next, we will add a trigger condition so that the flow only triggers when the item is created or modified if the isActive column equals true.

For this, I have used the following expression in the trigger condition in Power Automate.

@equals(outputs('Get_item')?['body/IsActive'], true)
Power Automate SharePoint trigger conditions

To send an email with employee information. For this, click on the +New step -> select Send an email(v2) action. Then provide the below information:

  • To: Provide the recipient’s email
  • Subject: Provide the subject of an email
  • Body: Provide the body of an email like below.
sharepoint trigger conditions

Now, save and run the flow manually. You can modify an item in the SharePoint list or create a new one. For example, here I have modified the joining date of ‘Joni Sherman’, who is an active employee.

Power Automate SharePoint trigger conditions

Once the flow runs successfully, you will receive an email similar to the one below.

trigger conditions power automate sharepoint list

This is an example of Power Automate SharePoint trigger conditions.

Check out Power Automate Do Until

Power Automate when an item is created trigger condition

Here, we will explore how to utilize the Power Automate trigger condition in the ‘When an item is created’ action.

For example, we will use the above SharePoint Employee list and create a flow that triggers when an item is created in this list with a Department value of IT. If the Department is not equal to IT, then the flow will not trigger.

In Power Automate Cloud, create an Automated Cloud flow, and then select the trigger action as ‘When an item is created‘. Then provide the information below:

  • Site Address: Provide the SharePoint site address
  • List name: Provide the SharePoint list name
when an item is created or modified trigger conditions

Next, we will add a trigger condition so that the flow only triggers when the item is created with the Department equal to ‘IT’.

For this, I have used the following expression in the trigger condition in Power Automate.

@equals(triggerOutputs()?['body/Department/Value'], 'IT')
power automate when an item is modified trigger conditions

2. We will send a Welcome email to that employee; for this, click on the + New step -> select ‘Send an email(V2)’ action. Then provide the below information:

  • To: Select the Employee email from the dynamic content
  • Subject: Provide the subject of an email
  • Body: Provide the body as below
Power Automate when an item is created trigger condition

Now, save and run the flow manually. To trigger the action, create an item in the SharePoint list.

power automate when an item is created or modified trigger conditions

Once the flow runs successfully, you can see the email below.

power automate trigger conditions

This is an example of Power Automate when an item is created trigger condition.

Multiple Trigger Conditions in Power Automate

Let’s say you have a SharePoint list called Employee Leave Requests.

Column NameType
Employee NameSingle line of text
Leave TypeChoice
StatusChoice (Pending, Approved, Rejected)
Start DateDate and Time
End DateDate and Time
ManagerPerson or Group
Multiple Trigger Conditions Power Automate

You want when the Status column value is Approved or Rejected flow no need to trigger.

To do this, follow the steps below:

  1. Go to Power Automate. Click Create > Automated cloud flow. Choose the trigger: When an item is created or modified (SharePoint). Select the SharePoint site and list name (“Employee Leave Requests”).
multiple trigger conditions in power automate flow
  1. Click on the trigger (When an item is created or modified). Click the Settings Tab. Scroll down to Trigger Conditions. Add the following expression:
@not(equals(triggerOutputs()?['body/Status/Value'], 'Approved'))
@not(equals(triggerOutputs()?['body/Status/Value'], 'Rejected'))
multiple trigger conditions in power automate examples

Also, you can combine these two trigger conditions into one using ‘or’ like the expression below.

@or(not(equals(triggerOutputs()?['body/Status'], 'Approved')), not(equals(triggerOutputs()?['body/Status'], 'Rejected')))
  1. Add Start and wait for an approval action, and provide the below parameters:
    • Approval type: Approve/Reject – First to respond
    • Title: Leave Request Approval – @{triggerBody()?[‘EmployeeName/DisplayName’]}
    • Assigned to: @{triggerBody()?[‘Manager/Email’]}
    • Body:
Dear @{triggerBody()?['Manager/DisplayName']},

Please review the following leave request submitted by **@{triggerBody()?['EmployeeName/DisplayName']}**.

**Leave Details:**
- **Leave Type**: @{triggerBody()?['LeaveType/Value']}
- **Start Date**: @{formatDateTime(triggerBody()?['StartDate'], 'dd MMM yyyy')}
- **End Date**: @{formatDateTime(triggerBody()?['EndDate'], 'dd MMM yyyy')}
- **Status**: @{triggerBody()?['Status/Value']}

Please choose one of the options below to approve or reject this request.
power automate trigger conditions examples
  1. Now, we will add the Condition action to check whether the request is approved or rejected. In this Condition action, select the Outcome (from Start and wait for an approval action) value equal to Approve.
How to Add Multiple Conditions in Power Automate
  1. In the True section, condition action, add a Send an email (V2) action and provide the following parameters:
    • To: Employee email address
    • Subject: Leave Request Approved – @{triggerBody()?[‘EmployeeName/DisplayName’]}
    • Body:
Hello @{triggerBody()?['EmployeeName/DisplayName']},

Your leave request has been approved.

Details:
- Leave Type: @{triggerBody()?['LeaveType/Value']}
- Start Date: @{formatDateTime(triggerBody()?['StartDate'], 'dd MMM yyyy')}
- End Date: @{formatDateTime(triggerBody()?['EndDate'], 'dd MMM yyyy')}
- Comment: @{items('For_each')?['comments']}

Thanks,
Manager

When you add the Comment, it will automatically add a for each loop.

  1. Then, add the Update item action and provide the site address and list name in the advanced options. Update the status value to ‘approved’.
Power Automate Trigger multiple Conditions Examples
  1. In the False section, condition action, add a Send an email (V2) action and provide the following parameters:
    • To: Employee email address
    • Subject: Leave Request Rejected – @{triggerBody()?[‘EmployeeName/DisplayName’]}
    • Body:
Hello @{triggerBody()?['EmployeeName/DisplayName']},

Unfortunately, your leave request has been rejected.

Details:
- Leave Type: @{triggerBody()?['LeaveType/Value']}
- Start Date: @{formatDateTime(triggerBody()?['StartDate'], 'dd MMM yyyy')}
- End Date: @{formatDateTime(triggerBody()?['EndDate'], 'dd MMM yyyy')}
- Comment: @{items('For_each_1')?['comments']}

Thanks,
Manager
  1. Then, add the Update item action and provide the site address and list name in the advanced options. Update the status value to ‘Rejected’.
Mastering Trigger multiple Conditions in Power Automate Flows
  1. After you’ve built your flow, click Save. Go to your SharePoint site. Open the list you’re using in the flow (Employee Leave Requests). Add a request.
Mastering Multiple Triggers in Power Automate

After the flow runs, the manager will receive an approval email like below:

Power Automate Trigger Condition Formulas

Once the manager approves, the employee will receive the following email.

 Power Automate Multiple Trigger Conditions

When you go to the SharePoint list, you can see that the status value has been updated.

Using multiple Trigger conditions in Powerautomate

After that, you can see that the flow is not triggered again; this type of requirement typically arises when there is more than one approval stage.

Conclusion

In this Power Automate tutorial, we saw the trigger condition in Power Automate. Also, we saw how to add trigger conditions in Power Automate and a list of trigger conditions.

Finally, we covered some of the trigger conditions example

  • Power Automate trigger conditions examples
    • Power Automate trigger conditions not equal
    • Power Automate trigger conditions equal
    • Power Automate trigger conditions AND
    • Power Automate trigger conditions OR
    • Power Automate trigger conditions contains
    • Power Automate trigger conditions AND OR
    • Power Automate trigger conditions choice
  • Power Automate SharePoint trigger conditions
  • Power Automate when an item is created trigger conditions

You may like the following tutorials:

6 thoughts on “Power Automate Trigger Conditions”

  1. Whenever I search something for power platform or SharePoint or PowerShell. I always found this site in top 10 links at first page.
    And I am very happy to say that 90% I found the stuff what I look for. Thank you Bijay!

  2. Dear Bijay,
    How can i trigger a flow in Power Automate only when, let’s say, the column “Analyst” of a List is modified, regardless it’s value?
    I’ve been searching this for hours now.
    Thanks in advance!

    • trying to find this too – Sharepoint has built in Status columns and drop downs but no one has an example for a simple Status change, if Status changed to Closed, send email to Joe

  3. Dear Bijay, I am new to Power Automate and this is a great article about adding filter conditions to flow triggers. I have a choice column where I’ve enabled multiple selections. Using your code above it doesn’t seem to ‘fire’ the trigger – even if I specify the value (presumably because it’s an array?)
    An example of a trigger condition I tried is as follows= @equals(triggerBody()?[‘Rejection Criteria’]?[‘Value’],’Other’).

    I have also tried @not(empty(triggerBody()?[Rejection Criteria’]))

    Any ideas how I can get the filter to activate if one or more choices are selected?? If I can get this to work I might have to add multiple conditions (one for each ‘choice’ available). Is there any way to simply set the filter so that it triggers when not empty (i.e. I’d only have to have one filter rather than multiple ones. Many thanks is advance.

  4. Hi Bijay, i found out that the trigger action “When an existing item is modified” is not available when searching for a trigger actions but it is available through the template “Send a push notification when a column is changed in a SharePoint list”. Do you have any idea why ? By using this template and adding a filter

Leave a Comment

Power Apps functions free pdf

30 Power Apps Functions

This free guide walks you through the 30 most-used Power Apps functions with real business examples, exact syntax, and results you can see.

Download User registration canvas app

DOWNLOAD USER REGISTRATION POWER APPS CANVAS APP

Download a fully functional Power Apps Canvas App (with Power Automate): User Registration App