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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Kudoed Authors
Users online (3,886)