Creating Events

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

The event sent via API / SDK is automatically registered in Other category with the name with which you stream it to us. After the first request, it will appear in your account, and you can see it in the AutomationEvent types section.

But if you want to use one of our system events, firstly, you need to create it and specify its category.

  1. Go to AutomationEvent types and click New event type.
Create new event
  1. Fill in Name (required).

  2. Fill in Key (required). A key is a unique event identifier that is registered in the system. You can fill in any text in Latin, with numbers allowed, for example, click, sale1, etc. The main requirement is that the key should be unique for every event.

Creating new event
  1. In Category, select the necessary event category.
Event categories
  1. If you enable the Segmentation by events option, switch Use event for contact segmentation. The availability of this option depends on your tariff plan. To enable it, please contact [email protected].
Event for segmentation
  1. Enable Validate parameters.

    Validate parameters

    More about validating event parameters >

  2. Click Add.

The created event will appear in the general list of Event types.

🚧

Important

The system automatically creates event types for regular workflows and workflows based on contact field changes.

Automatic event type creation

In the Event type column, you will see the following information:

  • Event type name (the numbers in the name correspond to the dynamic segment ID), segment name, segment ID — for regular workflows.
  • Event type name (the numbers in the name correspond to the contact field ID), contact field name, contact field ID — for workflows based on contact field changes.
An event type for a regular workflow

To copy either the name and segment ID or the name and field ID, click on the required field.

Copy the segment name and ID

To edit, click the event in the list. To delete it, click the … icon on the right.

Editing event

For a quick search, enter an event type name in the Search field and press Enter, or select the magnifying glass icon.

Sorting event types

Now you can link the created event to the workflow so it will run the automated campaign.