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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Lookup dataset > flow ...
Power Automate
Answered

Lookup dataset > flow condition based on result

(0) ShareShare
ReportReport
Posted on by 34

Hi Folks,

 

Wondering if this Flow is possible as a proof of concept?

 

We want users to submit an MS Form, then a flow will check whether the user is present on a database (Excel Sheet of SP List) by looking up their email.

 

If they are present on the DB, they receive an email with one set of instructions. If they're not on the DB they receive a separate set of instructions.

 

I'm okay with all parts of the flow, except looking up the DB to check.

 

Any help appreciated, thanks, Jason.

Categories:
I have the same question (0)
  • Verified answer
    v-LilyW-msft Profile Picture
    on at

    Hi @jasonmurphy 

    Thank you for posting.

    According to your description, you want to check whether the user is present on a database when an From is submitted.

    I set up a simple Flow with the data is stored in excel.

    I use Filter Query to filter the row that meet the condition. If there is no row that meet the condition, indicates the user does not exist on DB, otherwise,the user exists on the DB

    You can refer to as below:

    v-LilyW-msft_0-1623393452360.png

    v-LilyW-msft_1-1623393452372.png

    Expression:empty(outputs('List_rows_present_in_a_table')?['body/value'])

    v-LilyW-msft_2-1623393452375.png

     

    v-LilyW-msft_3-1623393452377.png

    This is my database in Excel

    v-LilyW-msft_4-1623393452380.png

    After Test2 submit a form, Test2 will receive an email as below:

    v-LilyW-msft_5-1623393452381.png

    Hope the content above may help you.

    Best Regards

    Lily

  • jasonmurphy Profile Picture
    34 on at

    Hi @v-LilyW-msft, thanks so much for this detailed explanation and example. Greatly appreciated. I will give this a go and report back. Have a great weekend, Jason.

  • v-LilyW-msft Profile Picture
    on at

    Hi @jasonmurphy 

    Has your problem been solved?

    If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

    Best Regards!

  • jasonmurphy Profile Picture
    34 on at

    Thanks @v-LilyW-msft, yes, this works well. I have accepted it as a solution. Thanks again for your help. Jason.

  • jasonmurphy Profile Picture
    34 on at

    Hi @v-LilyW-msft

    I have now got this working. Thanks!

     

    Thanks, Jason.

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard