web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Condition Containing W...
Power Automate
Unanswered

Condition Containing Wildcard String

(0) ShareShare
ReportReport
Posted on by 93

I have a Flow that auto-replies when a new email is received, excluding certain conditions. The condition is if the sender (From) contains the following, do not send a reply:

 

  • donotreply
  • do-not-reply
  • noreply
  • no-reply
  • etc

I have a Condition using OR where it checks if it contains each of those variations, I am wondering if there is a way to simplify it to something like "*no*reply"

 

The mailbox the Flow is applied to gets emails from 100s of vendors so I'm trying to simplify the condition and not update it as new variations appear.

Categories:
I have the same question (0)
  • RezaDorrani Profile Picture
    12,143 on at

    @itsmeqp 

     

    No expressions available for wildcard matching

     

    However you could use the contains expression function to check if the from contains both "no" and "reply" - but this is not a wild card match

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

     

  • Community Power Platform Member Profile Picture
    on at

    You could use an array variable containing all the bad addresses to check - makes it easier in the future if you want to add more values to the list!

    The following is a rough and ready checker. (Note - I could combine a lot of this into fewer steps - but it is a little easier to follow!

     

    Stan

     

    p1.jpgP2.jpgP3.jpgp4.jpg

  • VictorIvanidze Profile Picture
    13,079 on at

    Hi @itsmeqp,

    you can create a distribution list with no members  "noreply@yourdomain.com" and send as this DL.

    Then you do not need to analyze the addresses of ingoing messages at all, as any message delivered to "noreply@yourdomain.com" will just disappear.

     

    I understood you want to prevent reply-to reply scenario. My recommendation is: reply to any message as "noreply@yourdomain.com".

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard