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
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (67,226)