cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Mail notification when new files are created - schedule periodically

Hello all,

 

I'd like to build a flow which is triggered when new files are created in an OneDrive folder, a user should receive a mail notification.

But instead of sending a mail for each file, is it possible to schedule that every 12h/or every time 10 new files have been created and send a list of the filenames in the mail?

 

Many thanks in advance!

4 REPLIES 4
Highlighted
Dual Super User III
Dual Super User III

Re: Mail notification when new files are created - schedule periodically

Hi

Did you already have a look to the REcurrence trigger?

https://docs.microsoft.com/en-us/power-automate/run-scheduled-tasks

 

This thread describes an scenario  similar to the one you are looking for

https://powerusers.microsoft.com/t5/General-Power-Automate/Create-Daily-Summary-of-Files-Uploaded-to...

 

Hope this helps

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Highlighted
Regular Visitor

Re: Mail notification when new files are created - schedule periodically

 But how to to setup a trigger afterwards when a new file is being created in a specific OneDrive folder?

Dual Super User III
Dual Super User III

Re: Mail notification when new files are created - schedule periodically

Hi again

Not sure I understood you requirements:

"instead of sending a mail for each file, is it possible to schedule that every 12h/or every time 10 new files have been created and send a list of the filenames in the mail"


@peterstelmach wrote:

 But instead of sending a mail for each file, is it possible to schedule that every 12h/or every time 10 new files have been created and send a list of the filenames in the mail


This thread describes an scenario  similar to the one you are describing

https://powerusers.microsoft.com/t5/General-Power-Automate/Create-Daily-Summary-of-Files-Uploaded-to...

 


@peterstelmach wrote:

 But how to to setup a trigger afterwards when a new file is being created in a specific OneDrive folder?


I've found the following template for this purpose. Please note it is defined for OD4B, but there is a similar trigger available for One Drive

https://emea.flow.microsoft.com/en-us/galleries/public/templates/352516eb50dd4f5685be03d9fb97cdc0/se...

 

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Highlighted
Dual Super User II
Dual Super User II

Re: Mail notification when new files are created - schedule periodically

As @efialttes says you can easily use a recurrence trigger to start a workflow at a specific point (or points) in the day and check for files that were created within the last x number of hours. Store all those names or links in a variable using a loop and then send that out as an email.

 

There is no easy way to do this based on the number of files created, ie after 10 new files.



-------------------------------------------------------------------------
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

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (5,987)