Skip to main content

Notifications

Power Automate - Using Flows
Answered

Run Flow only if attachments have changed

(0) ShareShare
ReportReport
Posted on by 158

Hello,

 

My sharepoint list is populated from PowerApps, attachments are stored in each element at each form submit.

 

My flow works well with the trigger when new item is created, and handles only some attachments depending on the file extension. As soon as I update the item, I want my flow to start it only if the attachments have changed. Currently it starts each time.

 

How could I trigger this? I found no way to track the version related with the attachment column.

 

Thanks for your help.

Paul

  • polo1604 Profile Picture
    polo1604 158 on at
    Re: Run Flow only if attachments have changed

    hi,

     

    you first have to "get attachments" from your sharepoint list, and then you can "get file metadata".

  • tmoore1 Profile Picture
    tmoore1 23 on at
    Re: Run Flow only if attachments have changed

    Please show me how to get the file metadata for a SharePoint list attachment. As far as I can tell, "get file metadata" only works on files in document libraries and not attachments.

  • polo1604 Profile Picture
    polo1604 158 on at
    Re: Run Flow only if attachments have changed

    @Taylor_Becktold 

    thanks a lot, exactly what I needed !

  • Verified answer
    TaylorBecktold Profile Picture
    TaylorBecktold 295 on at
    Re: Run Flow only if attachments have changed

    @polo1604 -

     

    Have you looked into the 'get file metadata' action? https://learn.microsoft.com/en-us/connectors/sharepointonline/#get-file-metadata

    Taylor_Becktold_0-1672951304252.png

     

    You would need to trigger on change of the item still and compare the modified date of the file to the item's modified date. I am not sure of a way to only trigger on change of a file in a column. 

     

    Did my reply help? Please give it a thumbs up.
    Did my reply answer your question? Please mark it as a solution!
    If you liked my response, please consider giving it a thumbs up.
    Check out my blog: https://azwhizkid.com

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard

Featured topics

Restore a deleted flow