Show Menu
TOPICS×

Rule-based events

We have simplified the way you set up Experience events. We're introducing a new method that does not require the use of an eventID. When you set up your event in Journey Orchestration, you can now define a rule-based event.
This new type of event does not generate an eventID. Using the simple expression editor, you now simply define a rule which will be used by the system to identify the relevant events that will trigger your journeys. This rule can be based on any field available in the event payload, for example the profile's location or the number of items added to the profile's cart.
This new method is mostly transparent for users. The only change is a new field in the event definition screen.
  1. From the left menu, click the Admin icon, then click Events . The list of events is displayed.
  2. Click Add to create a new event. The event configuration pane opens on the right side of the screen.
  3. Enter the name of your event. You can also add a description.
  4. In the new Event ID type field, select Rule Based .
    The System Generated type is the existing method that requires an eventID. See this section .
  5. Define the Schema and payload Fields . See this section .
    When you select the System Generated type , only schemas that have the eventID type mixin are available. When you select the Rule Based type, all Experience Event schemas are available.
  6. Click inside the Event ID condition field. Using the simple expression editor, define the condition that will be used by the system to identify the events that will trigger your journey.
    In our example, we wrote a condition based on the profile's city. This means that whenever the system receives an event that matches this condition ( City field and Paris value), it will pass it to Journey Orchestration.
  7. Define the Namespace and Key . See Selecting the namespace and Defining the event key .
The other steps for event configuration and journey creation remain unchanged.
The event is now configured and ready to be dropped into a journey like any other event. Every time an event that matches the rule is sent to the system, it is passed to Journey Orchestration to trigger your journeys.