---
updatedAt: 2026-09-15T08:44:26.000Z
agentTools:
  projectIndex: https://docs.esputnik.com/llms.txt
---

# Launching a Triggered Campaign on Event

Creation will differ depending on the [event category](https://docs.esputnik.com/docs/events-category), but the main steps are as follows:

## Step 1. Create an Event Type

You can create events automatically (via API) or manually.

The event sent via API is automatically registered in the Other category. Read more on API integration.

To create an event manually:

1. Go to *Automation* → *Event types* and click *New event type*.

<Image src="https://files.readme.io/741cbc3-event-type-parameters-en-00.webp" alt="Automation menu with the Event types tab and the New event type button highlighted" align="center" width="80% " />

## Step 2. Create a Workflow

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

* [click in the message](https://docs.esputnik.com/docs/linking-workflow-to-the-button) (*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*.

<Image src="https://files.readme.io/3bcc0e8-launching-a-riggered-campaign-on-event-002.webp" alt="Automation menu with the Workflows tab and the New workflow button highlighted" align="center" width="80% " />

2. Enter the workflow name and description (optionally).

3. 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.

<Image src="https://files.readme.io/6ea92ff-launching-a-riggered-campaign-on-event-003a.webp" alt="Workflow named Promo_test with Add to segment and Email Welcome blocks connected between Start and End" align="center" width="80% " />

<Callout icon="📘" theme="info">
  ### Note

  To extract the data out of order and pass it to the message, use [Get order](https://docs.esputnik.com/docs/popular-bloks#get-order) block
</Callout>

## Step 3. Link the Event to the Workflow

1. Go to *Automation* → *Workflows* and click *Trigger configuration*.

<Image src="https://files.readme.io/c9dfcca-launching-a-riggered-campaign-on-event-004.webp" alt="Workflows list with the Trigger configuration link highlighted for the test_workflow row" align="center" width="80% " />

2. In pop-up window activate *Start configuration* switcher and select the event.
3. 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](https://docs.esputnik.com/docs/creating-a-welcome-email-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.

<Image src="https://files.readme.io/ffab86c-launching-a-riggered-campaign-on-event-005.webp" alt="Start/Stop configuration dialog with Start configuration enabled, Event-based selected, and the Select event dropdown and Process unique events options highlighted" align="center" width="80% " />

4. Click *Apply*.<br />The event will appear in *Launch conditions* of the configured workflow. The workflow will appear in *Linked workflow* of the assigned event.

<Image src="https://files.readme.io/a9ae4b1-launching-a-riggered-campaign-on-event-006.webp" alt="Workflows list with the Event-based Button click launch condition highlighted for the test_workflow row" align="center" width="80% " />

## Step 4. Launch the Workflow

Click the *Activate* icon and confirm your action.

<Image src="https://files.readme.io/762d044-launching-a-riggered-campaign-on-event-007.webp" alt="Workflows list with an Activate confirmation dialog open and the Activate button highlighted" align="center" width="80% " />

The status of the workflow will change to active.

<Image src="https://files.readme.io/10a2da4-launching-a-riggered-campaign-on-event-008.webp" alt="Workflows list with the Status column highlighted showing the test_workflow active status icon" align="center" width="80% " />

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.

```json
{
  "params": [
    {
      "name": "ContactId",
      "value": "22222"
    },
    {
      "name": "EmailAddress",
      "value": "youremail@gmail.com"
    }
  ]
}
```

## 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*.

<Image src="https://files.readme.io/42141f4-dependencies-of-event-type-01.webp" alt="Event types page with the Automation and Event types tabs highlighted, listing Subscribed and Click event types with their dependencies" align="center" width="80% " />

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

<Image src="https://files.readme.io/05ea5a7-dependencies-of-event-type-02.webp" alt="Event types table with the Event type and Dependencies columns highlighted, showing the Click event type linked to 2 launched and 2 stopped workflows" align="center" width="80% " />

*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.

<Image src="https://files.readme.io/c51f353-dependencies-of-event-type-03.webp" alt="Dependencies of Click event type window listing Survey and Webinar Registration as launched workflows and Promotions and New products and updates as stopped workflows, with the view icon highlighted" align="center" width="80% " />

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 *Automation* → *Event history*.

<Image src="https://files.readme.io/3492499-launching-a-riggered-campaign-on-event-009.webp" alt="Automation menu with the Event history tab highlighted showing an empty events list" align="center" width="80% " />

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.<br />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. Events received via the mobile SDK are labeled **SDK** in the list.

<Image src="https://files.readme.io/4a688e3b655e9e93db15c74e7a5b8184466a40c348e8597aa54d886c9d902c37-image.png" alt="Event history list showing event type, key, linked workflow, contact, and registration time" align="center" width="80%" />

Click the event to see its parameters.

<Image src="https://files.readme.io/0d972652f4ea41264267934735e0cd7f6fb69ea0ca18a88ac558dd11c5b425e8-image.png" alt="Event parameters dialog showing the JSON payload with orderId, contactId, EmailAddress, and SMS parameters" align="center" width="80%" />

In the event window, the **Source** field shows **SDK** for events received via the mobile SDK and **API** for events sent through the API. An event sent through the API keeps the **API** source even if it carries SDK-specific parameters, such as `appVersion` or `deviceCategory`.

On the **With errors** tab, you can see events that were processed with an error — for example, when a required parameter is missing.

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

If you have any questions, please contact our support team at <support@esputnik.com>.