Trigger mailings
Description
![]() | Trigger mailing is our ultimate tool for composing transactional messaging. In other words, if you select this mailing, a marketing message is automatically delivered after a specific event has occurred. Trigger mailings send one message to each subscriber who fits trigger launch conditions. It can be used as a standalone feature or as a part of a Scenario tool — a state of the art solution for composing marketing automation and creating customer journey paths. To create a new mailing, select Mailings → Triggers and click on the "Create" button, or you can use the mailings calendar. |
General settings
In the main settings, specify the name and description of the new mailing, and if needed, set the access group, add tags and attributes for additional grouping. You can also specify a statistics SUBID for the mailing here. In the upper right corner, there's a toggle that activates the trigger, putting it into standby mode:

Mailing settings
The following information is defined in mailing settings: communication channels, subscribers, templates with content, and schedule for mailing.
Channels
On the first tab, you can select a communication channel you want to use. Channel you want to use must be available in at least one subscriptions resource, which you can select on the next tab.
For Email sending, you can use the field with the main subscriber contact information – Email field.

Subscribers
On this tab, select the resource form drop-down menu. There is no audience source in trigger mailings. The mailing audience depends on the event trigger.
Mailings are sent to customers who subscribe to a certain resource. Make sure that recipients are subscribed to a selected resource.
If database import is used as a trigger event, make sure that the database is available in the resource selected for the mailing. Otherwise, messages will not be sent.

Additionally, you can filter recipients by resource categories. To enable this functionality, you need to have categories created in the resource. In mailing settings, select the categories to which the profile should be subscribed to receive a message.
You can also filter recipients by custom channel fields. To do this, select either a standard or custom subscription field. In the "Selection condition" field, choose a logical operator and, if necessary, specify a value. You can combine rules using the logical AND (all conditions must be met) and OR (at least one condition must be met).

Templates
On this tab, you can select the content that you want to use in the mailing. In Altcraft, messages templates combine content for mailing by all available channels.
Please, make sure, that the template has content for the selected channel.
Click the "Add" button and select a prepared template. Any mailing type can use up to 8 templates. The mailing will send one message to each customer using selected templates in random order in equal parts.
Click on the template miniature to see a preview, or click on the template name to open the template editor:

Trigger
Trigger mailings use the sender's priority channel to deliver messages instantly after a trigger event occurs.
You can also enable the Highest priority — ideal for urgent transactional messages. In this case, content generation tasks go to a dedicated priority queue in the message broker (oxy_triggers_prior), so the message is prepared faster.
After content is generated, the message is moved to the general sending queue, where priority is no longer considered — messages are sent in the order they arrive. The only exception is the email channel with AKMTA. In this case, a dedicated virtual queue is used on the sender side to deliver high-priority messages faster. For all other channels, priority doesn’t affect the sending order.
Additionally, you can set a delay for each trigger in days, hours, and minutes.

The types of trigger events are described in the next paragraph of this article.
When you've done with settings, click "Finish". The parameters you've chosen will be displayed in the "Trigger option" section. Use the buttons in the upper right corner to edit settings, check the log of the mailing or see the channel report.

In the mailing log for trigger mailings, the "Total time spent" field may display a value of 30 seconds, even if the message was sent almost immediately after the triggering event occurred.

For trigger mailings, the "Total time spent" value is recorded when the mailing is completed, not at the moment a specific message is actually sent. During this interval, the trigger continues to accept new events, after which the campaign is completed and aggregated statistics for the period are recorded.
As a result, the same time value is shown in the log regardless of when a particular message was actually sent.
To find the actual time of message generation and sending, use the profile history, where the corresponding events are recorded.

