#How to pass in the button URL in Novu template?

1 messages · Page 1 of 1 (latest)

quartz gust
#

@grave basalt <tr>
<td style="padding: 0px 25px;">
<table border="0" cellpadding="0" cellspacing="0" align="center" class="" >
<tr>
<td>
<div class='center'>
<a class='action-btn' href='{{{url}}}' target='_blank'>Accept Invite</a>
</div>
</td>
</tr>
</table>
</td>
</tr>

     I am passing  {{{url}}} = "https://xxx.abc.ca/reset-password?token=ZivBpjNLlsmrqsJSdvCvEtKKiOKhpIl8h4Sj4NqvlO9k2Md1InMLyCPhs0xv8GxK" when email come then   {{{url}}} = "http://url9599.xxx.ca/ls/click?upn=MAfCWrRxSDWW1YVSXE3MQqR6WBL4qqysdiTh0pAdhONduMZkLXQU4k5z5MVF39crvAtjT0kNVYt-2Fq8nZMDHmpMtJGZMNlgcQXIVCVA-2FgGQNQlmgUrCIa2OUIpxbOPlXvQkdVZJy1rS3hyXlODEyTxtRLekW0Nin0si-2BDoujfeMY-3D0bmL_VantMtssvRuobCYRKELp6FTjqLh9vTf6h-2BMH5Sl406Vn2DfrWcmM-2F4Y9bcquoh02wU8yzx5lfd2n7rFBn3UERJlL85-2B-2BLSxn3KwwUFut59PGBc6wDnJVDIh3wlQBbMfI5fAg-2BZED2W3JH2z-2B-2FVrVffCwSNubM7iTOzukzA6-2BygUW-2Bc1SCs9E9AxKc-2BiVkkjSjDY4sSjUVeYO3i-2FHoRE5OEB7y9Dkjb0wQ1wacT8wwsofNy2VnoFVn8-2BCp1WQ4e2Hnsi5-2FJTX2F03TmtxXXCln-2BBNTkxde-2FdaNX15fE7LFca7DTLkNokcZyoq-2Fp3sjI2-2BViOf1zIsnnkLlQTUXZOJproYohZEYdh1Oko3gFTK-2BxIvMZ-2BVjlD4Q3zWK-2B0iLWAB0-2BqoEGiiJ4P0lBXuqfH-2FnOl9qosiMzYVkayeoa30msu9tvqkUw-2B0oXnP8Q6wsDtmiAaELEX-2Bt7Rv3DNRLQ0mMeqmdbkcdV0iELD1dSmVO2RO-2FwmNaQj1IRZKvrMUEk8zecFJevVetTl-2BJLWaMKam55Mva8kpByMqgQEAkMv3jEG-2FKK1vfXR2j4f55UEAJEoQ9k5n2sM9fiiiaq83l3BfIg-3D-3D"
valid yacht
#

Are you referring to sending an email template with Novu?

#

If yes,

here is a template you can use for inspiration:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Email Template</title>
</head>
<body style="font-family: Arial, sans-serif; background-color: #f4f4f4; margin: 0; padding: 0;">
    <table width="100%" cellspacing="0" cellpadding="0" border="0">
        <tr>
            <td align="center" style="padding: 20px;">
                <table width="600" cellspacing="0" cellpadding="0" border="0" style="background-color: #ffffff; border-radius: 10px; box-shadow: 0px 0px 10px rgba(0,0,0,0.2);">
                    <tr>
                        <td align="center" style="padding: 40px;">
                            <h1 style="color: #333333;">Hello!</h1>
                            <p style="color: #666666;">This is a sample email template with a button:</p>
                            <a href="https://www.example.com" style="background-color: #0073e6; color: #ffffff; padding: 10px 20px; text-decoration: none; border-radius: 5px; font-weight: bold; font-size: 16px;">Click Me</a>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</body>
</html>
quartz gust
#

@valid yacht I have added code based on above text file but it's not working

valid yacht
#

You also can test the functionality of your email content in the Preview tab.

valid yacht
#

@quartz gust Can you please let me know if it helped you?