cancel
Showing results for 
Search instead for 
Did you mean: 

Converting JSON to HTML Table for Email Snap

matt_bostrom
New Contributor II

Hello. Let’s say I have JSON like the following:

[
{
“OwnerName”: “Mike Waltz”,
“OwnerEmail”: “mwaltz@testcompany.com”,
“LeadName”: “John Doe”,
“LastModifiedDate”: “2017-10-05T13:43:39.000+0000”
},
{
“OwnerName”: “Mike Waltz”,
“OwnerEmail”: “mwaltz@testcompany.com”,
“LeadName”: “Jane Smith”,
“LastModifiedDate”: “2017-10-05T18:32:46.000+0000”
}
]

How can I convert that into an HTML table to send in an email via the Email Sender Snap? Example is from an online source that does it to get the desired output from the JSON from this URL: Best Online JSON to HTML Converter:Display JSON into HTML format

image

image

5 REPLIES 5

Preeta
New Contributor II

Hi,
Using a similar scenario,but i don’t have a defined set of records to hardcode the table body . I can only hardcode the headers but will end up receiving multiple records. How can I address such a situation? @matt.bostrom @del

Thanks,
Preeta