cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
FlorentP
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
Super User
Super User

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
Super User
Super User

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

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

FlorentP
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

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (5,989)