Skip to main content
Solved

How to add a table to an email template

  • June 2, 2020
  • 1 reply
  • 190 views

Hi, I would love to build a table on my email template with specific content from my vendor to be  displayed on the body of the email. Is it possible? 

Best answer by Felipe Scholz

Hi @Peter Alexander , pipefy enables users to add tables to email templates using html (click here to learn more about creating tables in html).

You can use the <table>, <tr>, <th> and <td> tags to create tables as well as some inline styling such as width, border, background color, etc.

Here's what the code to a simple table would look like:

image.png

<table style="width:100%; border:1px solid black">
<tr style="border:1px solid black">
<th style="border:1px solid black">Row 1 title</th>
<th style="border:1px solid black">Row 2 title</th>
</tr>
<tr style="border:1px solid black">
<td style="border:1px solid black">Row 1 content 1</td>
<td style="border:1px solid black">Row 2 content 1</td>
</tr>
<tr style="border:1px solid black">
<td style="border:1px solid black">Row 1 content 2</td>
<td style="border:1px solid black">Row 2 content 2</td>
</tr>
</table>

This is what it looks like in the received email:

image.png

View original
Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+5
  • Pipefy Staff
  • 94 replies
  • Answer
  • June 3, 2020

Hi @Peter Alexander , pipefy enables users to add tables to email templates using html (click here to learn more about creating tables in html).

You can use the <table>, <tr>, <th> and <td> tags to create tables as well as some inline styling such as width, border, background color, etc.

Here's what the code to a simple table would look like:

image.png

<table style="width:100%; border:1px solid black">
<tr style="border:1px solid black">
<th style="border:1px solid black">Row 1 title</th>
<th style="border:1px solid black">Row 2 title</th>
</tr>
<tr style="border:1px solid black">
<td style="border:1px solid black">Row 1 content 1</td>
<td style="border:1px solid black">Row 2 content 1</td>
</tr>
<tr style="border:1px solid black">
<td style="border:1px solid black">Row 1 content 2</td>
<td style="border:1px solid black">Row 2 content 2</td>
</tr>
</table>

This is what it looks like in the received email:

image.png


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings