Template variables
Waypoint’s template builder uses LiquidJS to render the dynamic parts of a template.
You pass this data into the template when sending a templated email. You can also mock it with test data inside the template builder.
Example
Section titled “Example”Use LiquidJS output syntax to print a variable value.
The data in your test data, or passed in via the API.
{ "user": { "firstName": "Jordan" }}What you write inside content blocks or template metadata in the builder.
Hello {{user.firstName}}Output
Section titled “Output”What the template renders.
Hello Jordan