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 Automate
Unanswered

If Then Expression?

(0) ShareShare
ReportReport
Posted on by 24

Does anyone know if IF/THEN expressions are possible in flows? I have a form with a dropdown allowing people to pick a facility. If they pick a certain facility, I'd like my manager column in my list to populate with the associated manager. 

 

Example, If Location equals "TEST" then "Jane Doe"

 

I work in tableau, so these expressions are foreign to me. Thanks for any help!!

Categories:
I have the same question (0)
  • wskinnermctc Profile Picture
    6,519 Moderator on at

    Here is a full list of expressions for power automate: 

    https://learn.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference 

     

    There is an if() expression to use in power automate.

     

    Your example would be something like:

    if(equals({formresponse},'TEST'),'Jane Doe','None')

     

    This is using the equals() expression inside of the if() expression.

     

    However, for the form response in power automate, you might want to use something like a Condition which checks the output and then directs the flow. But it is up to you.

     

    Control ConditionControl Condition

  • martii20 Profile Picture
    27 on at

    I wanted something similar in my flow, but I ended up using a VLOOKUP function to accomplish this. If you are collecting responses in an Excel file by adding a new row each time, this could work for you. 

     

    I created a separate reference table with the list of facilities and managers:

    martii20_0-1693937490406.png

     

    Then I created a table that collects the responses and added a column that uses the lookup function to reference the first table. "Form ID" and "Facility" are collected in the Form and added to this table using "Add a row into a table" with Excel. The "VLOOKUP" column should automatically update with each new row. 

    martii20_1-1693937594525.png

     

  • jessicamclaugh Profile Picture
    24 on at

    I completely forgot about the Conditions option, thank you!

  • jessicamclaugh Profile Picture
    24 on at

    Hmmm, I'm collecting the data in a list. I'm not sure if I can use vlookup as an option there, but I like the idea. I will check it out, thanks!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard