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 Platform Community / Forums / Power Automate / Send only one email ba...
Power Automate
Unanswered

Send only one email based on multiple rows

(0) ShareShare
ReportReport
Posted on by 16

Hi I am trying to build a flow with a condition that will send email if the condition is met. 

 

However, my SP list has multiple rows and I need it to send the email only after checking all rows and all rows met the condition stated. 

Categories:
I have the same question (0)
  • VictorIvanidze Profile Picture
    13,058 on at
    Re: Send only one email based on multiple rows

    Could you show your flow?

  • naokichia Profile Picture
    16 on at
    Re: Send only one email based on multiple rows

    naokichia_0-1638164143227.png

     

    Hi @VictorIvanidze this is my flow, but currently it is sending multiple emails, I like it to send only one mail once it scans the whole list. 

  • Verified answer
    v-LilyW-msft Profile Picture
    on at
    Re: Send only one email based on multiple rows

    Hi @naokichia 

    Do you want to filter out items whose value of column 'PO Ship-...' is equal to 'Chaiwan - Hong Kong' and whose value of column 'Purch’s P...' is empty and then send them in an email?

    What data type are your two columns in sharepoint?

    vLilyWmsft_4-1638250123479.png

    Assume I have a list like this.

    vLilyWmsft_5-1638250312004.png

    I set up a flow, you can take a try with the following screenshots.

    vLilyWmsft_1-1638249513918.png

    Add Filter array action and switch to advanced mode by clicking 'Edit in advanced mode'. 

    @and(equals(item()?['POShip_x002d_route'], 'Chaiwan - Hong Kong'),equals(item()?['Purchs'], null))

    Note: Where 'POShip_x002d_route' and 'Purchs' are the internal names of column 'PO Ship-route' and column 'Purch's' respectively.

    vLilyWmsft_2-1638249538508.png

    You can find column internal name via List settings -> Click on the column name -> It’s at the end of the URL on the Edit column page, after ‘Field=’.

    vLilyWmsft_3-1638250023818.png

    Add Select action and configure it.(The name placed in item() is the internal name of the column.)

    vLilyWmsft_6-1638250560183.png

    vLilyWmsft_7-1638250727896.png

    vLilyWmsft_8-1638250749376.png

    Save and test the flow.

    After flow runs, items that meet the filter conditions will be filtered out and send an email.

    vLilyWmsft_10-1638250943012.png

     

    vLilyWmsft_9-1638250882675.png

    Hope the content above may help you.

    Best Regards

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

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard