web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow triggered by Atta...
Power Automate
Answered

Flow triggered by Attachments Column only.

(0) ShareShare
ReportReport
Posted on by 78

Hello,

 

an item on SharePoint list is created by a user.

It's initially created without any attachments.

 

Another user comes and upload an attachment.

 

I want to build a flow triggered only when an attachment is uploaded only.

 

Thank you

Categories:
I have the same question (0)
  • Verified answer
    creativeopinion Profile Picture
    10,508 Moderator on at

    @amaniramahi You'll need to utilize Trigger Conditions in your flow trigger. 

     

    Check out this YT Tutorial for more details on how to add Trigger Conditions to your flow: 4 Ways You Can Use Trigger Conditions in Your Microsoft Power Automate Flow

     

    If you are using an Automated Cloud flow trigger in your flow—you need to consider adding trigger conditions.

     

    Do YOU 🫵 know what a trigger condition is? Trigger conditions can be set in most flow triggers. These conditions you set must be true for the trigger to fire. In this Power Automate tutorial, I’m going to show you how to use trigger conditions in your flows to control when your Power Automate flows trigger.

     

    If your plan has flow run limits—you can avoid triggering your flows unnecessarily by using trigger conditions.

     

    I’ll cover four different flow examples that would benefit from trigger conditions:

    ️ Triggering a flow when a column is changed to a specific value

    ️ Triggering a Flow When an Event Updated or Deleted

    ️ Triggering a Flow When a New Folder is Created

    ️ Triggering a Flow When a Specific Email is Received I’ll also show you a trick on how to easily create the expressions needed and give you a few tips on how to troubleshoot your flow.

     

    IN THIS VIDEO:

     Four different flows that would benefit from trigger conditions

     What is a trigger condition?

     How to add a trigger condition to your flow

     How to trigger a flow when a column is changed to a specific value

     How to trigger a flow when an event is updated or Deleted

     How to trigger a flow when a new folder is created

     How to trigger a flow when a specific email is received

     How to troubleshoot a trigger condition

     How to prevent case sensitivity issues with a trigger condition

     How to use the filter array action to easily compose an expression that can be used in a trigger condition

     

    Compose the Trigger Condition Expression

    As demonstrated in the YT Tutorial, add a Filter Array action (temporarily) to your flow to help compose the expression you'll need for the Trigger Condition.

     

    creativeopinion_15-1717431616228.png

    Insert the Has attachments dynamic content from the flow trigger into the first value field. Leave the operator as is equal to.

     

    In the second value field insert true.

    creativeopinion_12-1717431414991.png

     

    Click on the three dots of the Filter Array action and select Peek Code.

    creativeopinion_16-1717431730251.png

     

    Copy the expression from the @ symbol to just before the closing double quotes to your clipboard.

     

    creativeopinion_10-1717430473899.png

     

    In the flow trigger click on the three dots then click on Settings.

     

    creativeopinion_5-1717430347713.png

    In the Trigger Condition field, paste the expression from your clipboard. Press Done.

     

    creativeopinion_13-1717431439820.png

    Delete the Filter Array action. To run a test, you'll need to add at least one action to your flow. I've inserted a Compose action and the Has attachments dynamic content you can insert any dynamic content into this Compose action. It's just for testing purposes.

     

    creativeopinion_6-1717430374909.png

     

    Run a test. First, add an item to your SP list without an attachment. Your flow should not trigger. Next, add another item to your SP list with an attachment. Your flow should trigger.

    creativeopinion_14-1717431570050.png

     

    ----

     

     

     

    Hope this helps!

    If I helped you solve your problem—please mark my post as a solution .
    Consider giving me a 👍 if you liked my response!

    👉 Level up your Power Automate skills by checking out my tutorials on YouTube
    👉 Tips and Tricks on TikTok and Instagram

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 816

#2
Valantis Profile Picture

Valantis 603

#3
Haque Profile Picture

Haque 566

Last 30 days Overall leaderboard