{

How to use triggered mailings

A triggered mailing is a long running mailing that can be triggered from somewhere else. This trigger can come from our customer data platform and no coding would be needed, but with a little coding it can also come from your own tooling. For example when someone is registering for your site, or is resetting his password. The advantage of using a triggered mailing instead of a normal mail is that the template can be maintained within our web app, so no technical skills are needed. This makes it easy for your marketeer to change the mailing, without the need for a developer. Your marketeer can also see the statistics of this mailing which makes it easier to see how this mailing is performing.

How to create a triggered mailing

You can create a triggered mailing via our web app. This makes it easy to add a subject, from address and design your email.

Using merge fields in your triggered mailing

You can use whatever merge field you want in your campaign, you just have to make sure your trigger is also including a value for this field. If no value is provided in the trigger the value will be an empty string. To add a merge field, simply add it in the campaign settings tab while creating the triggered mailing. After it is created you can use it in the editor while designing your mailing.

Sending a trigger

To send a trigger via code you'll need the accountID, the mailingID, the to address and the mergefield values. The accountID is the default accountID that is necessary to use the email campaigns api. In the intro section we already explained how you can obtain your accountID. To obtain your mailingID, you can go to the edit modus of the campaign and copy it from the url. Of course you can also call the Get Mailings method of this api. The details on the send triggered mail api method can be found here.