cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
pp
Level: Power Up

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
Dual Super User
Dual Super User

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
Dual Super User
Dual Super User

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.
pp
Level: Power Up

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.

Dual Super User
Dual Super User

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

pp
Level: Power Up

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (6,080)