cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
YEUNG_Gabriel
Advocate I
Advocate I

How to send out the Sharepoint online list via email (and the contents are in ONE email but NOT....

Hi

 

could you please advise on how to send out a Sharepoint online list via email. The LIST contents should be in ONE email but NOT 1 record per 1 email....

 

I wonder it also automatically added the "Apply to each" and seems I cannot remove it so 1 record per 1 email being sent out.....

 

T0.pngT1.png

6 REPLIES 6
v-monli-msft
Community Support
Community Support

Hi @YEUNG_Gabriel,

 

Flow will always add the Apply to each if you add the dynamic content from Get items to the fields in Send an email. This is because that Get items will get multiple items but flow can only send the value one at a time.. 

 

If you really need this, please consider to submit an idea:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Regards,

Mona Li

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
efialtes
Kudo Kingpin
Kudo Kingpin

@YEUNG_Gabriel Have you tried either "Create HTML table" or "Create CSV table" action blocks; and then send this output in the email body?

https://flow.microsoft.com/en-us/blog/html-tables-csvs-computer-vision/

Hope this helps

Hi,

 

your information is helpful and it seems can group the item(s) to a HTML table / format...

 

However, the email will show the HTML code instead of readable format ... Do you have any idea ???

 

 

HTML-Table.png

 

After shift to HTML=YES, not much help ....

 

HTML-Table1.png

 

 

 

 

You mean you are using "Office 365 Outlook Send an email" and set "Is HTML" flag to Yes?

IsHTML.png

 

YES ...

 

HTML-Table2.png

Please have a look to this thread

https://powerusers.microsoft.com/t5/General-Flow-Discussion/SharePoint-List-as-HTML-table/td-p/31710

 

As @v-micsh-msft suggests, the problem you describe can be related to Lookup fields. On the thread you will find a couple of recommendations (on is to use "Send me an email notification" action block; if the problem persists, try adding a Select action block which allows to reformat the Sharepoint get items output before applying "Create HTML table"). I also experienced formatting problems issues as the one you describe and finally applied the "Select" action block approach to solve them

Hope this helps

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.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,052)