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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send an email v2 on fi...
Power Automate
Answered

Send an email v2 on filtered sharepoint list

(0) ShareShare
ReportReport
Posted on by 504

I have a column role in SharePoint list which has User and Admin and I want my Send an email v2 to send email on all users that has User as role.

I already have set the email but just needs the filter.
Anyone could help?

Categories:
I have the same question (0)
  • Rahber Profile Picture
    1,935 on at

    First of all you will use GetItems action of SharePoint to get the records. I am using OData query Role eq 'User' to filter records that have user role only

    get items.PNG

     

    then i am using apply to each variable to send an email to all the records filtered.  I am using the dynamic column value in to that i got from above function

    email.PNG

     

    Here is my SP structure

    SP.PNG

     

    Please click Accept as Solution if it resolved your problem or give it a Thumbs Up if it helped you in anyway this will allow other people to search correct solutions effectively.

    Thanks,

    Rahber

  • nagestiada Profile Picture
    504 on at

    @Rahber How will this be triggered? Is it possible if this will be  triggered when a new item is created in sharepoint?

  • nagestiada Profile Picture
    504 on at

    @Rahber This works but when I add new item in sharepoint it does run all the users who has User as Role.
    So If I added a new row it also sends an email to old rows.

    nagestiada_0-1594082664174.png

     

  • Verified answer
    Rahber Profile Picture
    1,935 on at

    You will use a condition then instead of Get Items.

     

    1) When an item is created

    2) Condition on user Role

    3) If true send email

    \if true.PNG

     

    Please click Accept as Solution if it resolved your problem or give it a Thumbs Up if it helped you in anyway this will allow other people to search correct solutions effectively.

    Thanks,

    Rahber

  • nagestiada Profile Picture
    504 on at

    It worked!
    Thank you!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 273 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 149 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 144 Super User 2026 Season 2

Last 30 days Overall leaderboard