cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
peterstelmach
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
efialttes
Super User
Super User

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!



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

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!



Pstork1
Dual Super User III
Dual Super User III

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,239)