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 / Grouping row by user a...
Power Automate
Answered

Grouping row by user and sending email from sharepoint

(0) ShareShare
ReportReport
Posted on by 504

Hello guys I hope you can help me. I tried searching online but can't find any. I have a Sharepoint list and want to send an email of all the rows under their name. My Sharepoint list look like this:

 

UserEmailPriceProductStatus
Saffa Delaneysaffa.delaney@outlook.com70ChairSold
Kaylee Flowerkaylee.flower@outlook.com150TableCart
Kaylee Flowerkaylee.flower@outlook.com15BottleSold
Kaylee Flowerkaylee.flower@outlook.com2SpoonSold
Saffa Delaney
saffa.delaney@outlook.com67TentSold

 

So it will be like receipt

Each user will receive an email on all the product and price under their name with status of sold.

this will be send on a scheduled basis

 

Thank you so much for your help. Stay safe 

Categories:
I have the same question (0)
  • v-LilyW-msft Profile Picture
    Microsoft Employee on at

    Hi @nagestiada 

    Thank you for posting.

    According to your description, you want to send email to user with all the products and price under their name with status of sold.

    I created a Flow can achieve it, you can refer to the screenshots as below:

    vLilyWmsft_0-1625714598524.png

    Filter Query: Status eq 'Sold'

    Get the items which status is sold.

    vLilyWmsft_1-1625714598534.png

    vLilyWmsft_2-1625714598538.png

    vLilyWmsft_3-1625714598552.png

    vLilyWmsft_4-1625714598555.png

    Expression: outputs('Search_for_users_(V2)')?['body/value'][0]['Mail']

    vLilyWmsft_5-1625714598559.png

    This is my list

    vLilyWmsft_6-1625714598561.png

    After flow runs, lilywang and Test2 will receive the email as below:

    vLilyWmsft_7-1625714598562.png

    vLilyWmsft_8-1625714598563.png

    Hope the content above may help you.

    Best Regards

    If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • nagestiada Profile Picture
    504 on at

    Hello @v-LilyW-msft, thanks for your reply

    Do I really need to search the user even if i already have a column for email?

  • Verified answer
    v-LilyW-msft Profile Picture
    Microsoft Employee on at

    Hi @nagestiada 

    Yes, you can also not use search the user, I made a slight modification to the flow, the same can be achieved, you can refer to the screenshot below:

    vLilyWmsft_0-1625722181616.png

    vLilyWmsft_1-1625722181625.png

    vLilyWmsft_2-1625722181630.png

    vLilyWmsft_3-1625722181633.png

    Best Regards

    If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • nagestiada Profile Picture
    504 on at

    Thank you so much for your help!

     

    Last question if you wouldn't mind.

    Is it possible to Update list item via SharePoint REST API

    where on the HTML table I am sending i will add a link and when click it will automatically update the status column to Sold

  • WHSBPjM Profile Picture
    59 on at

    @v-LilyW-msft ,

     

    Hi, I'm trying to duplicate the exact same solution, however, your second screenshot is a bit confusing. Could you possibly explain where you got these dynamic items from in the Apply to Each loop as mine ran 125 emails instead of the expected 9 that I was expecting?

    WHSBPjM_0-1687570053975.png

     

     

    In my Apply to each after the union expression, where I attempted to use a compose, Power Automate puts it in its very own Apply to each, essentially having one inside another. 

     

    WHSBPjM_3-1687568905376.png

     

     

     

     

     

     

     

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 248 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 160 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 142 Super User 2026 Season 2

Last 30 days Overall leaderboard