Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Find specific items in SharePoint List and send emails

(0) ShareShare
ReportReport
Posted on by

I'm currently trying to build a flow:

1. Get items from SharePoint List

2. Use condition to check each value in SharePoint List, whether the Condition_now is Inactive or Active

3. If the Condition_now is Inactive, do the following actions, if it's active, do nothing

    Under Inactive condition

    (1) Get those Inactive items (I tried to filter query already in get items)

    (2) create HTML table for these inactive items individually

    (3) Send the emails to me (their contact email addresses 

But the question is that, I received 41 individual emails who satisfy Inactive condition because there are duplicated emails, but actually only 7 items satisfy the Inactive condition, so I should only receive 7 emails. Can someone check what's problem of this flow I've created?

Yue_Jiang_0-1709866198721.pngYue_Jiang_1-1709866229462.pngYue_Jiang_2-1709866267155.png

Yue_Jiang_3-1709866299019.png

 

  • CU-20080800-0 Profile Picture
    on at
    Re: Find specific items in SharePoint List and send emails

    Oh, sorry. Perhaps I expressed incorrectly. I want to send emails to those items with Inactive condition, but your method really worked. Thank you so much!

  • v-yetonggu-msft Profile Picture
    on at
    Re: Find specific items in SharePoint List and send emails

    Hi @Yue_Jiang ï¼Œ

    If I understand correctly, do you want to send these people's email addresses to yourself when Condition_now is active?

     

    Best Regards,

    Sunshine Gu

  • CU-20080800-0 Profile Picture
    on at
    Re: Find specific items in SharePoint List and send emails

    Hi Sunshine Gu,

    I wonder whether it's true that I send the emails if the condition is false, which means that there are inactive items

  • Verified answer
    v-yetonggu-msft Profile Picture
    on at
    Re: Find specific items in SharePoint List and send emails

    Hi @Yue_Jiang ,

    There are not that many steps required, you just need to receive an html table email with their name and email address.

    I did a test for your reference.

    In my scenario:

    My SharePoint List:

    vyetonggumsft_0-1709868461461.png

    My Outlook Inbox:

    vyetonggumsft_6-1709868242525.png

    My Flow:

    vyetonggumsft_2-1709867779849.png

    vyetonggumsft_4-1709867962939.png

     

    Condition_now eq 'Inactive'
    length(outputs('Get_items')?['body/value'])
    item()?['Title']]
    item()?['Email']

     

    Best Regards,

    Sunshine Gu

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1