Launching a Triggered Campaign on Event

Creation will differ depending on the event category, but the main steps are as follows:

Step 1. Create an Event Type

Create an event manually or send it via API. All created events are displayed in Automation → Event types.

Create an Event Type

Step 2. Create a Workflow

Create a workflow that will be launched by the created event. For example:

  • click in the message (Click);
  • subscription (Subscribe/Unsubscribe);
  • import of new contacts (Import);
  • migration of subscribers from active to passive (RFM);
  • website and app activity (Other, Subscription, View);
  • order (initialized, in progress, delivered, canceled).
  1. Go to Automation Workflows and click New workflow.
Create a workflow
  1. Enter the workflow name and description (optionally).

  2. Build the workflow by dragging the necessary blocks and connecting them.

This is an example of the workflow that will be triggered by a click on the Learn more button in the message. All contacts that have clicked this button will be added to a separate segment Opened, and will receive an additional message with details of the previous offer.

Building the workflow

📘

Note

To extract the data out of order and pass it to the message, use Get order block

Step 3. Link the Event to the Workflow

  1. Go to AutomationWorkflows and click Trigger configuration.
Trigger configuration
  1. In pop-up window activate Start configuration switcher and select the event.
  2. Click the Event-based tab and select one of the process unique events option:
  • Each time: to launch the workflow each time when receiving the event. For example, choose this option for the triggered workflow Order. Each time your customer makes an order, they will receive a corresponding message (for example, confirmation). If they make 3 separate orders per day, they will receive 3 messages.
  • Once: to launch the workflow only once regardless of the number of events sent by the same contact. For example, choose this option for a welcome series after the first purchase: no matter how many orders the customer makes, they will receive only one welcome series.
  • Once in every ____ hours/days/weeks/months: to launch the workflow once within a given period of time. For example, choose once in 1 hour for abandoned carts. If the same customer abandons cart 3 times in an hour, the workflow will process only one event and send only one message.
Start configuration
  1. Click Apply.
    The event will appear in Launch conditions of the configured workflow. The workflow will appear in Linked workflow of the assigned event.
Launch conditions

Step 4. Launch the Workflow

Click the Activate icon and confirm your action.

Workflow activation

The status of the workflow will change to active.

Workflow status

After you link the event to the workflow, this event will trigger the workflow launch for the contact whose information (email address, phone number, token) is sent in the event. Contact information is sent in an integral part of the event.

{
  "params": [
    {
      "name": "ContactId",
      "value": "22222"
    },
    {
      "name": "EmailAddress",
      "value": "[email protected]"
    }
  ]
}

Dependencies of Event Type

An event type dependency is the linking of the event type with the workflow

To view the dependencies, go to the Triggers → Event Types.

Event Types tab

In the Dependencies column, opposite the event type, the associated workflow is displayed. A single event type can have multiple linked workflows.

Dependencies

Start/Stop icons indicate that an event starts and/or stops a workflow.

Click in the workflow field to open the Dependencies of event type window with linked workflows.

Dependencies of event type window

You can review all dependent workflows by clicking the workflow view icon and copying their IDs.

Event History

You can view the events sent to the system in AutomationEvent history.

Event history tab

If no events have been sent, the tab will be empty.

You can track events sent to eSputnik, filter them by name and time, and search by key.
Event type, its key, linked workflow, the contact found (if event segmentation is used), and time when the event is registered, are displayed in the general list of events.

Event type selection

Click the event to see its parameters.

Event parameters

This information will allow you to monitor the workflow in progress.

If you have any questions, please contact our support team at [email protected].