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

Send custom Sharepoint File list every day

Hi,

Maybe it's easy but i can't figure out how to send the complete filelist in just one mail...

 

If i use that flow , i get a mail for each file in the list ...

flow2.PNG

If i use "Create HTML Table" , i get illegible mail like " ...table><thead><tr><th>Id</th><th>Name</th..."

 

I just want this :

File1 = modified today at 10:00

File2 = no update today

File3 = modified today at 9:00

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Send custom Sharepoint File list every day

@FlorentP 

What Send an Email Connector are you using?

If you are using the old connector (not V2), then you need to click on "Show advanced options" and set "Is HTML" to yes.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

3 REPLIES 3
Highlighted
Super User III
Super User III

Re: Send custom Sharepoint File list every day

@FlorentP 

What Send an Email Connector are you using?

If you are using the old connector (not V2), then you need to click on "Show advanced options" and set "Is HTML" to yes.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

Highlighted
Dual Super User
Dual Super User

Re: Send custom Sharepoint File list every day

Hi @FlorentP 

 

Your issue is you are using the send email action inside of the for loop

 

first create an array variable 

then inside for loop append to array variable - here you can add your fil1 modified or no update

 

after for loop you have all results in the array

 

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Highlighted
Frequent Visitor

Re: Send custom Sharepoint File list every day

That's right thank you Scott

Here's the final result:

flow2.PNG

 

expression for last_update = 

if(equals(formatDateTime(item()?['LastModified'],'yyyy-MM-dd'),formatDateTime(utcNow(),'yyyy-MM-dd')),'Update OK','No change')

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (8,707)