cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sammybridge
Level: Powered On

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
Gristy
Level 10

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?

Community Support Team
Community Support Team

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.

Community Support Team
Community Support Team

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
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
Users Online
Currently online: 322 members 5,899 guests
Please welcome our newest community members: