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 / Find specific items in...
Power Automate
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

 

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

    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

  • CU-20080800-0 Profile Picture
    on at

    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

  • v-yetonggu-msft Profile Picture
    on at

    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

    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!

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard