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 / How to track changes i...
Power Automate
Suggested Answer

How to track changes in the attachments of SharePoint List in PowerAutomate Flow.

(0) ShareShare
ReportReport
Posted on by 12
I'm building a flow that has to be triggered only when there is changes in the attachments of SharePoint List item.
How can I achieve this ?
Flow1.jpg
Categories:
I have the same question (0)
  • MS.Ragavendar Profile Picture
    6,334 Super User 2026 Season 1 on at
     
    If there is no complex process associated you to need to capture only the modified information from the file why can't you use the SharePoint Rules.
     
     
    If you need only the flow can you explain the business requirement in detail.
     
    Please click Accept as solution if my post helped you solve your issue and help others who will face the similar issue in future.
    ❤️ Please consider giving it a Like, If the approach was useful in other ways.
    🏷️ Please tag me @MS.Ragavendar if you still have any queries related to the solution or issue persists.
  • Cgangweg01 Profile Picture
    870 Super User 2026 Season 1 on at
    Hello @migj2003,
     
    Pictured is a SharePoint list item with an attachment.
    In this example, do you mean that the file pictured example_response.docx has been modified?
     
  • migj2003 Profile Picture
    12 on at
    This is not a simple rule, I want to know if the attachments has been changed, added or removed
  • Suggested answer
    David_MA Profile Picture
    14,090 Super User 2026 Season 1 on at
    I don't think you'll be able to reliably do what you are asking. Unless my understanding is wrong, attachments are saved persistently between versions and not saved with each version. To get started with what you want to do you would set your flow up like this:
     
    The get changes for an item or file returns two pieces of data for attachments.
    1. Has attachments - true or false
    2. Has attachment count changed - true or false
     
    If you have a condition where you check if it has attachments like above, and someone deletes all of the attachments then the condition will evaluate false. How do you handle this? If the item has one attachment and someone deletes it and replaces it with a new file, the attachment count will remain as 1, so the has attachment count changed value will return false even though a file was replaced.
     
    Once you figure out what your logic should be, then you have the issue of how you figure out what and if any of the attachments has changed since the attachments are not saved with each version you cannot compare the files between versions. You only can get the attachments that are currently attached to the item. You would need to figure out a method to save details of the attachments somewhere else so that they can be compared every time the item is modified.
     
    The attachments are actually saved within a hidden folder structure in the list: /Lists/<ListName>/Attachments/<ItemID>/
     
    Before modern SharePoint, you could navigate this folder structure, but modern SharePoint no longer allows this and you'll get this error if you try:
     

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard