cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
MrAutomate
Level: Powered On

Need help building a flow/ Mail, Sharepoint, and Time of day

I sucessfully built a flow that scans email, and using keywords, sends specific email data to a sharepoint list entry so in the morning, people can focus on priority communications that need actioning.  Great...

Well, I am eating up my flows, and quickly!  I turned to office 365 admin center, Exchange admin center, and could not see a way to COPY all messages received from 4PM EST to 8:00 EST to a folder called AFTERHOURS.  If I could do this, I could then just run the flow once a day against that entire folder, and hopefully use just 1 flow.  If there is a way to do this, please share !

 

Assuming there is not free way to do the above, any of these possible?

1.  Can a Flow fun a flow ?  Can it enable another flow between certain hours?

2.  Any thoughts on creating a flow that runs just once, at 7:45AM, M-F, that can evaluate all messages received between these hours, or will it use up a flow evaluating each email?

3.  Any better ways to do this I had not considered?  (prefer to avoid machine scheduled tasks and any locally installed Outlook software) 

 

Apprciate help as I learn the Flow feature!

 

Thanks all

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Need help building a flow/ Mail, Sharepoint, and Time of day

Hi @MrAutomate,

 

For your requirement to COPY all messages received from 4PM EST to 8:00 EST to a folder called AFTERHOURS, you could create a flow as below:

Capture.PNG

 

The expression in the Condition as below:

@and(greater(formatDateTime(body('Convert_time_zone'), 'HH:mm'), '16:00'),less(formatDateTime(body('Convert_time_zone'), 'HH:mm'), '8:00'))

 

Best regards,

Alice

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Need help building a flow/ Mail, Sharepoint, and Time of day

Hi @MrAutomate,

 

For your requirement to COPY all messages received from 4PM EST to 8:00 EST to a folder called AFTERHOURS, you could create a flow as below:

Capture.PNG

 

The expression in the Condition as below:

@and(greater(formatDateTime(body('Convert_time_zone'), 'HH:mm'), '16:00'),less(formatDateTime(body('Convert_time_zone'), 'HH:mm'), '8:00'))

 

Best regards,

Alice

View solution in original post

Administrator
Administrator

Re: Need help building a flow/ Mail, Sharepoint, and Time of day

Hello, @MrAutomate!

 

Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @v-yuazh-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!


Thank you for being an active member of the Flow Community!

 

-Gabriel
Flow Community Manager

-Gabriel
Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,265)