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 / Update document librar...
Power Automate
Answered

Update document library folder when sharepoint list attachment is modified/updated

(1) ShareShare
ReportReport
Posted on by 9

hi, i have a sharepoint list.
The list contains separate rows of issues. 
Each issue requires attachment upload from the respective person. 
There is a separate document library mapped for each issue. 

How to create a flow such that: 
When a person uploads their attachment (modifies the attachment column), 
Power automate is triggered and updates the corresponding document library folder for the sharepoint list item (modified). 

 

Kind rgds

t

Categories:
  • sandeepstw Profile Picture
    312 Moderator on at

    hi @Tiang8383 

     

    To achieve this, you can use a SharePoint trigger "When an item is created or modified" trigger for SharePoint, in Power Automate to detect when an attachment is modified in the list. Then,
    you can use the "Create file" action to update the corresponding document library folder with the uploaded attachment.
    Ensure proper mapping between the list item and the document library folder.

     

    Thanks,

    Sandeep Mishra

  • Tiang8383 Profile Picture
    9 on at

    Hi Sandeep-jii.


    This is my setup flow. However it is only able to create folder, and move first time attachment in sharepoint list. 
    Any modification, addition, removal from the sharepoint row attachments, will not be reflected. Could you advise how i can revise it more accurately?

    Tiang8383_0-1711527466601.png

     

  • Verified answer
    sandeepstw Profile Picture
    312 Moderator on at

    Instead of using the generic "When an item is created or modified" trigger, use the "When an item is created" and "When an item is modified" triggers separately.

     

    Within each trigger, add conditions to check if the attachment column has been modified. You can use the "Get changes for an item or a file" action to compare the previous and current values of the attachment column.

  • Tiang8383 Profile Picture
    9 on at

    hi sanjeep. it worked perfect!. however, i am not able to point the changes column to "attachment". Instead i need to refer to another column to detect changes. can this be corrected, please?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 317 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 247

#3
Henil Profile Picture

Henil 117

Last 30 days Overall leaderboard