Login

Security and Compliance

Events

An event is a signal about changes in the user profile. Events can be generated by changes in the profile field values, by user activity or inactivity (on the website, in campaigns), or by pre-configured API requests. They are used to launch triggered campaigns i. e. serve as triggers. As soon as the system receives a signal about a certain event (for example, a click or added product), it automatically launches the corresponding workflow.

Events can be generated both in the system and in external systems such as CRM or CMS. In the second case, events are sent to our platform via API.

Event Categories

There are 6 event categories in our system:

Event Categories

  1. Click: generated by a click on the link in the email assigned to the event. This is a default category. Read more on how to assign a workflow to a CTA.

  2. Subscribe/Unsubscribe: generated by a click on Subscribe/Unsubscribe in the subscription form or on the unsubscribe page. This is a service category that is configured by our support team when they create the corresponding form.

  3. RFM: generated when subscribers migrate between segments depending on their activity. The category is chosen when you set up triggers based on RFM analysis (R – the time since the last activity (purchase/open); F – the frequency of purchases or opens; M – money customers spent). For example, you can set up a trigger when users move from the segment “bought 3 months ago” to the segment “bought 6 months ago” category, and send corresponding reactivation campaigns in time.

  4. Import: a default category that is used to launch a workflow after contact import. You can also create other events in the Import category on your own. For example, import of male contacts only can launch one workflow, and import of female contacts only – another.

  5. Notification: a service category that is automatically created after trigger failure alerts settings.

  6. Other: generated by all custom events that can be created manually or sent via API, for example, website registration, adds to cart, etc.

Events from the categories Link and Other are most common, events from RFM and Import are less common. To facilitate the automation process, the following most often used events are available in the system by default:

  • Confirmed subscription (Click);

  • Import of new contacts (Import);

  • Filled form (Subscribe/Unsubscribe).

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

Creating an Event Type

  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.

Note

The main requirement is that the key should be unique for every event.

Name and key fields

  1. In Category, select the necessary event category.

Selecting the category

  1. Run no more than once every___ hours field will appear after you assign an event to the workflow and specify the frequency of unique events precessing in the Trigger configuration. The specified configuration will automatically get indicated here:

  • no value – if you select Once;

  • 0 – if you select Each time;

  • > 0 – if you select Once in every... hours/days/weeks/months. In this case, the next time the workflow will start no earlier than the specified time after the previous launch. For example, if you specify 24 hours, the first event will launch the workflow immediately, but all other events for the same contact occurred within 24 hours will be ignored. The new event will be able to launch the workflow only 24 hours later.

You can restrict the repeated launch so that the user does not receive the same messages when performing repetitive actions (order, abandoned cart, abandoned browse) within a specified period of time.

Event trigger frequency

  1. If you're subscribed to Segmentation by user events, enable Use event for contact segmentation. Segmentation primarily applies to user-generated events sent via API.

Event for contact segmentation

Note

To subscribe, please contact our sales team sales@yespo.io

  1. Enable Validate parameters.

Validate parameters

More about Validating Event parameters >

  1. Click Add.

Adding event type

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 the name and segment ID or name and field ID, click on the required field.

Copy the segment name and ID

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

Click to edit or delete event

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

Search for event types

Launching a Triggered Campaign on Event

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

Step 1. Registration in the System

At this stage, you need to create an event in Yespo or provide integration with the system to send custom events via the API (see “Creating an event”).

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 Automation → Workflows 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": "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 of event type, 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.

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

Dependencies

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

 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.

Event history tab

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

You can track events sent to Yespo, 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 to support@yespo.io

Any Questions?
We’re always happy to help!
Discount services
Schedule a Call
Fill in the form, and our specialists will call you back as soon as possible.
Discount services
Chat Support
We’re waiting for your questions!
Discount services
Email
Contact the support team