cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Pulling multiple list items into one email

My current setup is I have 3x SharePoint lists and each list has a case reference number, which I can then use to match up the items in one list with the items in another. I now want to be able to send an email that does a look up from one list to another, and sends all of the list items in one email.

 

I have managed to use an array to combine them into one email using a Create html table, but the formatting isn't great and I can't get rid of the square brackets. Is there a better way to be doing what I'm doing?

 

Screenshots below:Img1.PNG

 

Img2.png

 

Img3.png

 

3 REPLIES 3
Highlighted
Super User
Super User

Re: Pulling multiple list items into one email

This looks pretty good to me, are you filtering the Get Items to get only the ones that match the item on your flow trigger?

Highlighted
Community Support
Community Support

Re: Pulling multiple list items into one email

Hi @sammybridge,

 

You can use two replace function during you create HTML table, for example:

replace(replace(item()?['ColumnA'],'[',''),']','')

 

Annotation 2019-10-16 143234.png

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

Highlighted
Community Support
Community Support

Re: Pulling multiple list items into one email

Hi @sammybridge,

 

Has your problem been solved?
If your problem has been solved, You could go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

Best Regards,
Community Support Team _ Lin Tu

Helpful resources

Announcements
firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

Top Solution Authors
Users online (10,801)