Dynamic e-mail content
Our API allows for inserting dynamic content into Email templates. This removes the need to create individual templates for particular recipients. All you have to do is create a single, universal template and use an API request to insert relevant data.
Email template
The options available with templates are:
Simple content insertion If you wish to use a predefined variable in a template and actually display its value:
Conditional instructions If you’re unsure whether the variable will always be set or would like to differentiate a part of the template depending on the variable’s value, use conditional instructions:
Conditional instructions can contain the following operators: ==
, !=
, <
, <=
, >
, >=
Loops Our interface also allows for passing on datasets (product lists, for example) and dynamically generating content for each of its elements:
Passing on data used in the dynamic content
Data can be passed on for both a specific recipient, using the vars
field, and an entire request using globalVars
field: