Template variables
Waypoint's template builder takes advantage of the LiquidJS template language to populate the dynamic parts of a template.
This data is passed into the template while sending templated emails. This data can also be mocked by using test data within the template builder.
To output the value of one of your variables, you can use LiquidJS output syntax. Example:
Data – the data in your test data or passed through the API.
{ "user": { "firstName": "Jordan" } }
Input – within template builder content block inputs or template metadata.
Hello {{user.firstName}}
Output – shown on the template rendering.
Hello Jordan