cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Top_Notch
New Member

The Ultimate Spam Blocker

Hello everyone, 

 

I am attempting to use Flow to remove spam emails from my life. I would like to have a flow set up in the following manner:

When a New Email Arrives > Check the Body for common spam words > Delete the Email; and if said email doesn't have the trigger words, it can be moved to my Inbox. 

 

Outlook.com rules don't run on the junk folder, unless manually triggered in the desktop client. So I am using flow to take all emails that are sent to my junk mail and move them to my inbox. In theory, this should trigger outlook rules to run and delete the email. However, just using flow itself, I would like to target specific phrases and have them deleted. I'm not 100% sure that if I use flow to move an item from my junk mail folder to my inbox if that rules will automatically run. That's why these specific phrases are important to be targeted and deleted. 

 

Sometimes my flows are successful, but I am getting failures saying "Action 'Delete_email' failed" I have checked the logic a few times and it looks good. I have it set up to when a new email arrives, check the body for a containing word, if yes condition is triggered "Delete email" on Message Id, if no condition is triggered then the email is moved to my inbox. 

 

Flow Test.png

 

 

 

 

 

1 REPLY 1
JohnAageAnderse
Memorable Member
Memorable Member

Hello @Top_Notch 

When the Delete email action fails, what error message do you see?

Kind regards, John

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!

Top Solution Authors
Top Kudoed Authors
Users online (2,485)