How to Create Button in Email Template

You can use CSS to style an href into a button in an email template using the following code as an example:

<table cellspacing="0" cellpadding="0"> <tr> <td align="center" width="300" height="40" bgcolor="#00ff00" style="-webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; color: #ffffff; display: block;"> <a href="$baseURL$/pricefx/$partition$/directaction/approve/$workflow.externalActionToken$?output=html" style="font-size:16px; font-weight: bold; font-family: Helvetica, Arial, sans-serif; text-decoration: none; line-height:40px; width:100%; display:inline-block"><span style="color: #FFFFFF">Approve the quote now</span></a> </td> </tr> </table>

This will result in this button in the workflow email:

 

Found an issue in documentation? Write to us.