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

Create HTML table with when item is created or modified!

Hello,

I'm looking to include the modifications of an item in a SharePoint list the send email by an automated flow.

with get items this works fine, but creating an HTML table for the modified item fields is not working for me.


What is the right way I should do that?

 

Thanks for all.

 

Greg68_0-1652714767417.png

 

3 REPLIES 3
ScottShearer
Super User
Super User

@Greg68 

Can you explain a little further - do you want just the changed values and column names in the table?

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
Greg68
Helper II
Helper II

Hi @ScottShearer 

Yes, I need the changed columns names and values in the table and other columns and values as well.
Would it be possible?

v-yujincui-msft
Community Support
Community Support

Hi @Greg68 ,

 

Do you want to create an html table with a single record returned by the trigger?

The Create html table Action expects an array as input, so you could build an array manually with the Variable Action.

 

I have made a test for your reference.

1. Here is my list.

vyujincuimsft_0-1652941752770.png

2. Here is my flow.

{
  "ColumnName1": Dynamic Content1,
  "ColumnName2": "Value",
  "ColumnName3": Dynamic Content2
}

vyujincuimsft_1-1652941812901.pngvyujincuimsft_2-1652941849722.png

Result Screenshot:

vyujincuimsft_3-1652942008362.png

 

 

Best Regards,

Charlie Choi

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (3,958)