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

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

@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 II
Dual Super User II

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

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
New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (59,665)