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

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

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

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (8,870)