Skip to main content
All CollectionsAPIGeneral
How to manage transactional templates
How to manage transactional templates

Learn about how to create and send Transactional Templates in Elastic Email.

Support Team avatar
Written by Support Team
Updated over 5 years ago

Elastic Email gives you the option to use Templates created with our Email Designer or HTML Editor in your transactional emails. This feature allows you to pass personalized content to each of your recipients.

It is simple and easy to implement - you just need to prepare your template and few new parameters in your email/send API Call.

Create template eg. "PurchaseOrder" and add somewhere inside of it merge tag:

{creditamount}

Then in your API Call specify two parameters :

template=PurchaseOrder

merge_creditamount=2000$

Now merge functionality will replace {creditamount} in the mail with your value - in this case: 2000$

You can use HTML in Merge= value. You can use as many merge parameters as you want. Each should have the different name.

Did this answer your question?