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 / Send emails to particu...
Power Automate
Unanswered

Send emails to particular contacts on a Sharepoint list

(0) ShareShare
ReportReport
Posted on by 91

Please can I get some help in building the following:

 

I have a sharepoint list with Person/Group formatted column with colleagues email addresses.

 

And I have an Excel file with a list of colleagues email addresses who should not receive an email

 

I need to build the rule of 'if email address on sharepoint is on excel, do not send an email' 

 

Any tips? Thanks

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @MB35,

     

    You can use a Filter Query field in the List rows present in table action. In that field you can check if any rows are found which match the value in your person or group type of field.

     

    Below is an example

     

    1. The Excel file with the table1

     

    donotemaillsit.png

     

    2. The flow which checks if the email value of my SharePoint list item (field name is Colleague) is found in that table.

     

    3. Filter Query used in the List rows present in a table action

    Email eq '@{triggerOutputs()?['body/Colleague/Email']}'

     

    4. Expression in the Condition action to check if no matches are found

    length(outputs('List_rows_present_in_a_table')?['body/value'])

    is equal to 0

     

     

    donotemail.png

  • MB35 Profile Picture
    91 on at

    Thankyou for your reply, I'm trying this but not quite getting the filter query right. 

    However, what I should have been clearer on, is, where the email address is in the excel, I still want to send an email but rather to a shared mailbox than direct to the person. 

    I envisaged if the email add on Sharepoint is listed in the excel, send email to shared, if not listed in the excel it can send to the colleague.

    I'm going round in circles, so any support is really appreciated, thankyou

  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @MB35,

     

    Thank for clarifying.

     

    Can you share a screenshot of your Excel table format? (obfuscate/hide data like email addresses in the screenshot if needed). This way I can change my example.

  • MB35 Profile Picture
    91 on at

    My excel table is just a single column table of email adds with 'Email' as the header, example below

    1000024533.jpg

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard