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

Push notification for new emails that isn't from a list of email addresses

I would like to get a push notification for new emails that isn't from a list of email addresses. 

I've tried to create a flow for new emails with a condition on the from address but it looks like I'm limited to 5 email addresses? I can't seem to add more. I have around 25 email addresses that I'd like to filter.

What is the most efficient way of achieving this? Any help greatly appreciated.

Thanks.msflow.png

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User II
Dual Super User II

Re: Push notification for new emails that isn't from a list of email addresses

Here's a demo I built using a button to get a sample FROM address. Then I create a String variable called ChkList and enter the email address list I want to test against. Then do my condition.

screenshot.png



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

4 REPLIES 4
Highlighted
Dual Super User II
Dual Super User II

Re: Push notification for new emails that isn't from a list of email addresses

Instead of adding the email addresses directly create a string variable with a semicolon delimited list of email addresses.  Then use the variable where your list of email addresses currently exists. I didn't go all the way to 25, but was able to do 6 that way.  If the string gets too long you may have to break it into two strings and a nested condition.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Highlighted
New Member

Re: Push notification for new emails that isn't from a list of email addresses

Thanks for the reply. Any pointers on how to do that? I'm pretty new to this and have only experimented with the basic templates.

Highlighted
Dual Super User II
Dual Super User II

Re: Push notification for new emails that isn't from a list of email addresses

Here's a demo I built using a button to get a sample FROM address. Then I create a String variable called ChkList and enter the email address list I want to test against. Then do my condition.

screenshot.png



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Highlighted
New Member

Re: Push notification for new emails that isn't from a list of email addresses

Thank you very much, I'll try that.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (4,773)