Skip to main content

Hello,

I created a custom event from the API using a payload similar to this:

 


How do I use ‘grade’ and ‘description’ in an email template?

{{ grade }} or {{ event.grade }} or what should it be ?

Thank you

Hi @Fernando!

If you’re triggering the email with the custom event, the syntax would be {{ event.grade }}. If you want to check that you’re using the correct syntax, you can click on the “Preview & test” button in the template editor:

Then, click on “Event”, find the event in the dropdown menu, and check the template to see if a preview value is displayed:

 

 

Hope that helps!

Best,

Brian


Reply