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

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Comparing Two SharePoint Lists

(0) ShareShare
ReportReport
Posted on by 16

Hello,

 

I need help creating a conditional statement for a flow to send a notice (email) after filtering on IDs from two different SharePoint lists. 

 

If IDs from List A exist anywhere in List B then the flow needs to stop running. If items from List A do not exist in List B then the flow should trigger an email notice and update a field in List A (All Reviews Complete).

 

List A Example Output for IDs: 2, 5, 8, 10

- each instance is unique

List B Example Output for IDs: 2, 2, 7, 7, 7, 6, 10, 10

 

Expected Results:

- ID # 2 and 10 would not run because they do exist in List B

- ID #5 and 8 would continue to run and successfully trigger the email 

 

Would appreciate any helpful insight on how to create this flow!

I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at
    Re: Comparing Two SharePoint Online Lists to Trigger Actions

    Hi @inubaranaz :

    Do you want to send mail only for items with id 5 and 8?

    If so,please try this flow:

    2.JPG3.JPGThe Result:

    1.JPG

    Best Regards,

    Bof

  • inubaranaz Profile Picture
    16 on at
    Re: Comparing Two SharePoint Online Lists to Trigger Actions

    Thank you for this - it ran exactly was wanted. However question for you, why the need for the last boolean?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 614 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 401 Moderator

#3
chiaraalina Profile Picture

chiaraalina 282

Last 30 days Overall leaderboard