cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MrAutomate
Advocate I
Advocate I

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
v-yuazh-msft
Community Support
Community Support

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
v-yuazh-msft
Community Support
Community Support

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

GabrielStJohn
Microsoft
Microsoft

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
Power Automate | Power Virtual Agents
Super User Program Manager



Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,918)