I have a large SharePoint list that contains expiry dates for items. I'm looking to create a flow that scans the list daily and emails expiry notifications 2 weeks prior and also on the expiry date.
I've got this to work, but it's sending out a separate email for each item. When there are multiple expirys on the same day, I want the flow to combine these in a single email. I believe I need to use the Create HTML Table function, but i've played around with it for hours and cannot figure it out. Any help is much appreciated! Below is the working flow that currently sends out separate emails:
Have your Get Items filter out the date you are looking for in the Filter Query section and then add in a "Compose" and in the Input for that put this expression:
length(body('Get_items')?['value'])
Then you can refer to that Compose in the email and it is counting for you how many items pull in for your Get Items function.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
28 | |
26 | |
23 | |
17 | |
10 |
User | Count |
---|---|
63 | |
55 | |
29 | |
27 | |
25 |