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 / Selecting and attachin...
Power Automate
Unanswered

Selecting and attaching newest attachment when modifying a sharepoint list item

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I am currently working on an approval flow using power automate and sharepoint list. My goal is to set up a list item where my drafting department can insert the preliminary drafts and supporting documentation then, on initial creation, it will go to a preselected approver who will "approve/reject" the package. Afterwards, the approver will add their "comments" file to the list item. Upon doing so, the "when an item is created or modified" flow will trigger again and go through a condition loop to compare if the approver is the same as the last modifier to the list. If yes, it will send an email to the creator of the list item with the attachments.

 

I currently have the approval flow working and pulling all attachments in the list item. It will pull all attachments and attach to the approval flow (which is what I want). However, when the approver adds their "comments" file I want the condition loop to pull only the latest attached files and send an email to the creator of the list item. Currently, I have a condition command that looks for attachments containing "comments" and appends them to array. However, when the flow runs it still attaches all attachments to the response email.

 

Is there a way for power automate to pull and attach only the attachments added during the modification cycle (cycles beyond initial creation) while still retaining the attachments that are already there?

 

Any help will be greatly appreciated.

FLOW QUESTION.jpg
Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @cleist06 

     

    May be try this approach 

     

    Nived_Nambiar_0-1710346125793.png

     

    Nived_Nambiar_1-1710346154762.png

     

    Nived_Nambiar_2-1710346183347.png

     

    Nived_Nambiar_3-1710346203255.png

     

    And finally use the attachment content to send email.

     

    The flow which i have designed is looking for attachment who name contains text comments.

     

    Hope this helps !

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 248 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 204

#3
Haque Profile Picture

Haque 179

Last 30 days Overall leaderboard