Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

New picture flow - only one notification and create folder with date as name

(0) ShareShare
ReportReport
Posted on by 6

Hi - I'am reading for quite some time in this forum but now I have an issue i need to post for the first time 😉

 

I have created a pretty simple flow that puts picture from OneDrive to Sharepoint and then sends a notification.

Now I want to do some optimizations:

 

1. The notification is send for every file. The flow runs every five minutes and if there are 10 new pictures it sends 10 notifications. Is there a possiblity to only send one notification for each run?

 

2. I would like the flow to create a folder with the date as name and put the pictures in this folder. If there is already a folder of this day it should use this folder. Is this something u can handle with PowerAutomate?

 

Here is a picture of the flow but it is in German 😅

 

Screenshot 2021-01-29 123645.png

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at
    Re: New picture flow - only one notification and create folder with date as name

    @Dirk112 from your flow screenshot it looks like you have the flow to trigger when file is created in onedrive, so your flow will run everytime a new file is create or uploaded to folder "Pictures/Camera Roll" in onedrive. 

     

    So for each file what is uploaded, the email notification will be sent for each file. Do you want to change the flow to check for new files every X mins, or every X days, then move the file to SharePoint and send email? 

  • Dirk112 Profile Picture
    6 on at
    Re: New picture flow - only one notification and create folder with date as name

    Sorry for the late answer. I am doing this regarding a volunteer engagement and can't look into this every day 😉

    Also I am doing this the first time and some of your questions i cant answer offhand but i try.

     

    • Are you using recurrence trigger for the flow to trigger every 5 mins?
      • It is set as default within the Office365 cloud - see screnshoot:Screenshot 2021-02-05 130906.png
      • Is it possible to change this?
    • Are you using apply to each action to loop through 10 new files? If yes, is the Send Email action added under the apply to each action? 
      • Best idea I have to answer this is please have a look at the full flow 😅:Screenshot 2021-02-05 131454.png

    Thank you very much so far 😀

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at
    Re: New picture flow - only one notification and create folder with date as name

    @Dirk112 , can you share full screenshot of your flow for me to understand why flow is sending 10 notifications? Are you using recurrence trigger for the flow to trigger every 5 mins? Are you using apply to each action to loop through 10 new files? If yes, is the Send Email action added under the apply to each action? 

  • Dirk112 Profile Picture
    6 on at
    Re: New picture flow - only one notification and create folder with date as name

    @annajhaveri Thx

    The second issue is solved and works fine

     

    Regarding the first one I have to specify the issue a little bit more accurate.

    The flow checks every 5 minutes if there are new files. If yes and there are 10 new files, I get 10 notifcations. Is it possible to just get one notification even when there a mulitble new files? 

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at
    Re: New picture flow - only one notification and create folder with date as name

    @Dirk112 , the trigger of your flow is when file is created in onedrive, so your flow will trigger whenever a file is added to your onedrive, so i did not get your below question:

     

    1. The notification is send for every file. The flow runs every five minutes and if there are 10 new pictures it sends 10 notifications. Is there a possiblity to only send one notification for each run? (currently the flow should be sending email for each run)

     

    2. I would like the flow to create a folder with the date as name and put the pictures in this folder. If there is already a folder of this day it should use this folder. Is this something u can handle with PowerAutomate? -- yes you can do this, configure following actions in your flow:

     

    1. Add Initialize Variable action and assign it value as per below expression

    formatDateTime(utcNow(),'yyyy-MM-dd')
     

    2. Now add action "Create new folder", and configure it as follows:

    Screenshot 2021-02-01 171705.png

     

    Create new Folder action, will create the folder it is doesnt exists and if it exists, it wont do anything.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492