cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BrandonMcG
Resolver I
Resolver I

Aggregate list of files uploaded to SharePoint Online document library

I am working on my first Flow and my goal is to get a list of all files uploaded to a SharePoint Online document library, and send an e-mail to a group with that list of files at the end of the day.

I am using the template for when a file is created, to send an e-mail.. but I can't figure out how to add some custom code in there to aggregate a list of files uploaded.

Any help or resources are appreciated! 

1 ACCEPTED SOLUTION

Accepted Solutions
ScottShearer
Super User
Super User

@BrandonMcG :

 

The Flow below should help you out.  Please note the single quotes in the OData filter.  You may need to make a minor adjustment in calculating the variables to account for your time zone.

 

UPDATE:  you actually only need one variable - varToday.  The OData filter would be as follows:

Created ge 'VarToday'

 

TodayFiles.jpgTodayFiles1.jpgTodayFiles2.jpgTodayFiles3.jpgTodayFiles4.jpg

 

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

Scott

View solution in original post

2 REPLIES 2
ScottShearer
Super User
Super User

@BrandonMcG :

 

The Flow below should help you out.  Please note the single quotes in the OData filter.  You may need to make a minor adjustment in calculating the variables to account for your time zone.

 

UPDATE:  you actually only need one variable - varToday.  The OData filter would be as follows:

Created ge 'VarToday'

 

TodayFiles.jpgTodayFiles1.jpgTodayFiles2.jpgTodayFiles3.jpgTodayFiles4.jpg

 

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

Scott

Thank you for this @ScottShearer !

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,883)