cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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
Highlighted
Community Support
Community Support

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
Highlighted
Community Support
Community Support

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

Highlighted
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
Community Manager
Microsoft Power Automate | Power Virtual Agents
Are YOU a member of a Power Platform User Group?
Fill out This Form to claim your Community User Group Member Badge!

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (4,270)