web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / New picture flow - onl...
Power Automate
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

Categories:
I have the same question (0)
  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

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

  • Dirk112 Profile Picture
    6 on at

    @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

    @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

    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

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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard