Can you layout a table in HTML in the send email automation node

Ste404
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 28, 2022

Hi there,

I am using this in the body of a send email in automation

 

<html>
<table border="1">
<tr>
<th align = "left">Key</th>
<th align = "left">Name</th>
<th align = "left">Created Date</th>
<th align = "left">Updated Date</th>
</tr>
{{#lookupObjects}}
<tr>
<td align = "left">{{Key}}</td>
<td align = "left">{{Name}}</td>
<td align = "left">{{Created.format("dd/MM/yyyy")}}</td>
<td align = "left">{{Updated.format("dd/MM/yyyy")}}</td>
</tr>
{{/}}
</table>
</html>

 

It is coming out in quite the random manner, is it possible to structure HTML in the body of the send email?

There is a blank line above everything, above the headings, then above each returned line in the lookupbojects as well as a weird extra single space cell between each value.

 

thanks 

1 answer

1 vote
Tansu Akdeniz
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 28, 2022

Hi @Ste404 

Yes, it is possible to structure HTML.

In Send Email action, there is a More Options button. Unselect the box to correct body.

Ekran Resmi 2022-11-29 09.03.45.png

Ste404
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 29, 2022

ah great thanks, my eyes went to the 'Send as' option but didn't even think about the checkbox.

ta

Tansu Akdeniz
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 29, 2022

You are welcome !!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events