Dynamic HTML in SendGrid templates shows up as code

Hey fellas,

I have a SendGrid transactional email template set up, in which I need to insert some HTML.

I have placed a Code Module in the template, and inside it is the substitute tag:


However, when I test send the email, it’s formatted as code, instead of actually rendering the HTML:

Thought this would be pretty straightforward, but I must be missing something here.

Anyone know how this can be fixed?

Add an extra layer of {}

So for your example it should be {{{itineraryText}}}

1 Like

Worked like a charm! Thanks @Vin :slightly_smiling_face:

1 Like