cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper 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
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
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

Administrator
Administrator

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
Power Platform Communities

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (10,825)