cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tobias_S
Helper I
Helper I

Possibility to run Outlook.com rules for mails having a specific age or staying for specific duration in Inbox

Hello Power Automate Experts,

is there any possibility to run mail rules in Outlook.com for mails only having reached a specific age / specific duration in the Inbox?

e.g. Mails from communities shall rely for 2 weeks in the Inbox and should be moved then in folder "Communities".

 

Your help would be appreciated.

 

Thank you in advance.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Tobias_S 

When you have multiple possible values, and want to have different workflows for each. You can use Switch Action.

vLilyWmsft_1-1644540962508.png

vLilyWmsft_0-1644540947929.png

Hope the content above may help you.

Best Regards

If my reply helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
v-LilyW-msft
Community Support
Community Support

Hi @Tobias_S 

Do you run Flow once a day, then get emails that were received 14 days ago, and move them to a specific folder?

You can use the following formula in Search Query in Get emails to get emails that were received 14 days ago.

received:@{formatDateTime(addDays(utcNow(),-14),'yyyy-MM-dd')}

vLilyWmsft_0-1644470267862.png

Then add Move email action to move email.

vLilyWmsft_1-1644470454999.png

Hope the content above may help you.

Best Regards

If my reply helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Tobias_S
Helper I
Helper I

Hello @v-LilyW-msft,

 

thank you for your support. This is exactly what I was looking for.

 

Is there also the possibility to e.g. separate the for-each by sender/mail title?

 

E.g. For each mail from Microsoft, move it to folder: Microsoft, for each mail from Vodafone, move it to folder: Vodafone?

Hi @Tobias_S 

When you have multiple possible values, and want to have different workflows for each. You can use Switch Action.

vLilyWmsft_1-1644540962508.png

vLilyWmsft_0-1644540947929.png

Hope the content above may help you.

Best Regards

If my reply helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (3,152)