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 / Flow to send digest em...
Power Automate
Unanswered

Flow to send digest emails to "assigned user" column from a SharePoint online list based on status column items "In Progress" for items from the last 7 days

(0) ShareShare
ReportReport
Posted on by 247

hello all,

 

I am trying to make a flow with recurrence once per day and specifically to send a daily digest emails to "assigned user" column from a SharePoint online list based on status column items "In Progress" for items from the last 7 days.

 

example:

Assigned userStatus
User 1In Progress
User 1Completed
User 1In Progress
User 2In Progress

 

so based on the above example the flow at the time of recurrance will send two emails:

  •  One digest at User 1 with the two things which are "In progress"
  •  One digest at User 2 with the one thing which is "in progress"

 

 

 

Pic 1Pic 1

 

Flow part 2.png

 

Flow part 3.png

 Flow part 4.png

 

but if I put the "Assigned User" as the TO: at the Send an email then it will send emails for all the items which the "assigned user" has status "in progress" and not as digest.

 

any ideas?

Categories:
I have the same question (0)
  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    Hi @kouliscon 

     

    You need to follow a grouping logic as the below:

    1. You need to get the list of distinct users from your List where status = In Progress

    So Initialize an array and call it Users Array; in my example it is array of disticnt IDs

    Mira_Ghaly_1-1599711002397.png

     

    In my example the list is called Reservation List , so only retrieve items where status = In Progress by using the ODATA filter Query

     

    Mira_Ghaly_0-1599710977237.png

    2. Now you need to Loop on this Get Items to append the distinct Users ID

    Reservation ID is the User in my Example, so first you check if it is not added before then append it to the Array

    Mira_Ghaly_2-1599711102609.png

    3. Now you will have to loop on the distinct array of users , Get the related items specific to this users by using the ODATA filter,

    So dependent whether you will save email in your array , you can use the odata filter as UserID eq 'Current Item from Array'

    Mira_Ghaly_4-1599711453626.png

    4.  you can use the output of the GetItems 2 in a create HTML Table and use the output in send email.

     

     

     

     

     

     

     

  • kouliscon Profile Picture
    247 on at

    @Mira_Ghalyhello,

     

    tried to apply what you mention but I couldn't as is pretty complicated and I am not so familiar

     

    can you paste the complete flow if you have it so I will understand better of what needs to be done.

     

    thank you in advance.

  • kouliscon Profile Picture
    247 on at

    hello @Mira_Ghaly 

    can you assist me on this pls?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard