Configure events

In this section, you set up the three events that are required for the hands-on exercises in the Journey Optimizer Challenges.

The following video explains how to create events:

Create the Luma online purchase event

When using this event, Journey Optimizer receives information when a person purchases luma products online.

  1. Create an event with the following parameters:

    table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2
    Parameter Value
    NAME LumaOnlinePurchase
    TYPE Unitary
    Event ID Type Rule Based
    Schema Luma Web Events Schema
    Fields eventType
    commerce.order.priceTotal
    commerce.order.purchaseOrderNumber
    commerce.shipping.adress.street1
    commerce.shipping.adress.city
    commerce.shipping.adress.postalCode
    commerce.shipping.adress.state
    productListItems.quantity
    productListItems.Luma Product Catalog Schema._your Organization_ID.name
    productListItems.Luma Product Catalog Schema._your Organization_IDprice
    productListItems.Luma Product Catalog Schema._your Organization_ID.imageURL
    productListItems.Luma Product Catalog Schema._your Organization_ID.url
  2. Add the Event ID condition: LumaOnlinePurchase.eventType is commerce.purchases:

    1. Select the pencil icon to edit the field.

    2. On the Add an event id condition modal, drag and drop the eventType onto the canvas.

    3. Select commerce.purchases.

    4. Select Ok on the canvas.

    5. Select Ok on the modal.

    Add event condition

  3. Select NAMESPACE: Luma CRM ID (lumaCrmId)

  4. Select Save.

Create Luma Product Restock event

Parameter
Value
NAME
LumaProductRestock
TYPE
Business
Schema
Luma Product Inventory Event Schema
Fields
SKU
stockEventType
LumaProductCatalogSchema.*yourOrganizationID.product :
name
price
ImageURL
description
Condition
LumaProductRestock.*your organization's ID.inventoryEvent.stockEventType is restock

Congratulations! Your sandbox is now ready to use.

recommendation-more-help
journey-optimizer-learn-help-tutorial-configure-a-training-sandbox