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

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

@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
RezaDorrani
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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (1,688)