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 III
Super User III

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
User Groups Public Preview

Join us for our User Group Public Preview!

Power Automate User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (49,649)