Skip to content

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.

The data in your test data or passed through the API.

{
"user": {
"firstName": "Jordan"
}
}

The content block inputs or template metadata within the template builder.

Hello {{user.firstName}}

Rendered output shown on the template rendering.

Hello Jordan