I've built a SharePoint list of all the teams in my organization and their owners. I'm trying to create an email digest for each owner of the teams that they own.
For Example:
I'd like each owner to get a single email detailing the teams that they own. We'll be using this to alert them as teams go stale or have major changes that they need to be alerted on.
I've gone so far as to make another SharePoint list of unique owners to try and get a comparison list going.
Any thoughts or ideas? Greatly appreciated.
Hi @Dgeorge318 ,
You could consider using Recurrence as the trigger, then execute the Flow every other month and pass the team information to the Owner.
Use Get items to traverse all the items, nesting an Apply to each to traverse all the owners contained in the current item.
Edit the information that needs to be included in the email and configure the Owner's email address in the To field.
Image reference:
Please take a try.
Best Regards,
So I've added a second list with the unique owners on it. I'm parsing the list of owners and trying to compare it to the list of managedby. In my filter if I do item()?['managedby'][0]?[Email] and the owneremail is the first in the list, it works. Which I'm assuming is because it can query the array and only get the single member back to validate against and that makes it happy.
Could I do an apply to each item()?['managedby'] and build the number of times it needs to iterate through the list?
I'm using http://johnliu.net/blog/2018/6/do-group-by-in-flow-with-two-simple-elegant-loops as a reference for a piece of the puzzle.
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
85 | |
58 | |
47 | |
38 | |
34 |
User | Count |
---|---|
91 | |
75 | |
74 | |
61 | |
41 |