cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tobias_S
Advocate I
Advocate 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
Advocate I
Advocate 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 Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (1,598)