cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
meg2
Frequent Visitor

Weekly email for certain list view

I have a master sharepoint list my team uses to track and assign tickets that we receive from the sales team.  I currently have a view for each sales VP (3 views total). 

 

I want to create a flow that will send from this particular view and in an attached spreadsheet provide the information from the view as long as the status is anything other than "completed".  I only want to show lines that have "completed" if it was completed in the past 7 days. 

 

I also want the system to update the report only (not sharepoint) for any status that says "completed" to "decision made".

 

I want the report to go out weekly on Fridays at 5am.

 

I would also like to include a line in the email that says something like "Please note there are ___ items in the queue".  The blank should pull in the count of all lines in the master list (not just for that sales VP team) and all statuses that are not complete. 

 

Any ideas on how to do this?  I honestly don't even know where to start other than with "scheduler".   I also would like the report to send using email notification (V3), so it comes from the system instead of from my name.

1 REPLY 1
Jronash
Solution Supplier
Solution Supplier

Start by looking at the SharePoint 'Get Items' action.  You can use this to get your list of items.  I believe you can specify views here if you want, or you could just use it to get all of the items and filter them later in your flow.

 

'Filter Array' is very helpful for filtering a list down to specific items.  Play around with that to see if you can use it to filter just the list items with the status of "completed".

 

Flow has an length() expression that you can use to count the number of items in a collection.  If you use Filter array to get just the items you want, you can use the expression length(outputs('Filter_array')) to get your count.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (1,746)