cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
mmattar
Level 8

Send only one email

Hello,

 

I am gathering/filtering records from my SQL server, once i get all records i need i am trying to send only one email containing all these records. What is happening now is that it is sending one email per record, so if i get 10 records thiers 10 emails sent. How can i get all in one email.

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Send only one email

Hi @mmattar 

 

Use Select action and pick the columns from the SQL server that you need to show in your email

Then Use Create HTML Table action to create HTML table for your Select action output

 

Then use send email action, and include HTML table output in your email body

 

Regards,

Reza Dorrani

 

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

View solution in original post

1 REPLY 1
Dual Super User
Dual Super User

Re: Send only one email

Hi @mmattar 

 

Use Select action and pick the columns from the SQL server that you need to show in your email

Then Use Create HTML Table action to create HTML table for your Select action output

 

Then use send email action, and include HTML table output in your email body

 

Regards,

Reza Dorrani

 

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

View solution in original post

Helpful resources

Announcements
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!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,109)