Showing results for 
Search instead for 
Did you mean: 
New Member

Save attachment to Sharepoint site and then send attachment of last file by date or created by mail to specific recipients

I have started with the template "Save email attachments in a SharePoint library and receive a notification" and I have been filling it in for sending the file as an attachment by mail, but it does not work for me.


in the Sharepoint site path will be stored monthly files that are received by mail from external user, the idea is to send the last file of the corresponding month by mail to other recipients.

Super User II
Super User II

Hi @clecca 


In the "Get Files" action, you can use the "Order By" to sort your data by Date and then the "Top Count" to 1 to get the latest file.


Then you have only one file that you can send to the person..


Can you please check if and let me know if you have any questions?


If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.


Helpful resources

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (98,435)