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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Multiple Conditionals ...
Power Automate
Answered

Multiple Conditionals with Operator "Contains"

(0) ShareShare
ReportReport
Posted on by 25

Hello All

Say we have an article stored in a variable, and we want to check if it contains 10 specific words.

How do we do it?

EDIT: As an added example, this is working with 1 condition:

IF Contains(articlevar, $'''word1''', True) THEN


How do we add more words?

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    There might be a better solution, but until you have one, you could do nested ifs:

     

    If %Var% contains “word1”

        If %Var contains “word2”

             If %var contains “word 3”

                 … through “word 10”

                     ‘Do something

                 …End (from If “word 10”)

            End

        End

    End

  • Verified answer
    MichaelAnnis Profile Picture
    5,727 Moderator on at

    Here we go. Found one better. Check out @Anonymous ’s response on this post:

     

    https://powerusers.microsoft.com/t5/Power-Automate-Desktop/How-to-include-the-logical-AND-OR-operators-in-conditionals/td-p/715982

    excerpt:

     

    E2472ACA-4554-4C78-977C-6B1AADA9D75E.png

     

    Good Luck!

  • nicoper Profile Picture
    25 on at

    Ah, perfect..
    Thanks a million Michael!

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 427

#2
Vish WR Profile Picture

Vish WR 316

#3
David_MA Profile Picture

David_MA 260 Super User 2026 Season 1

Last 30 days Overall leaderboard