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

Collecting records to send in one email

Hello All,

 

I've been trying to create a flow that collects  records from an entity in the CDS and send it in one email.

 

I used "Get List of records" to filter the records I want, and I was able tu put in the email body the rows I want to retrive, but when I ran the flow, it automatically created and apply to each to the send email acction and it send 1 email per each record. 

 

Is there is a way to create an output that collects the whole records into a table format and be able to put that output into the email body ?

 

Thank you,

Lucas

 

 

 

 

2 REPLIES 2
Community Support
Community Support

Hi @Lucas,

 

Yes, there is.

We could take use of the Create HTML table Action, check the following blog for more details:

Build flows with HTML Tables, CSVs and other new features like OCR and image content detection

 

Flow the configuration shown in the image:

Note:

Under the Create HTML table, click Advanced option, select to include headers.

Under Advanced option of the Send an Email Action, Select Is HTML as YES.

33.PNG

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello @v-micsh-msft,

 

Thank you for you quickly answear Michael, I've tried this before, but it seems like the IS HTML as YES doesn't work.

 

followupflow.png

 

This is how the body of the email looks like. ( the Header option was on YES).

 

no headers.png

And this is how it looks like without Header.

 

Regards,

Lucas

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

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 (82,161)