5.1 Customer AI - Data Preparation (Ingest)

In order for Intelligent Services to discover insights from your marketing events data, the data must be semantically enriched and maintained in a standard structure. Intelligent Services leverages Adobe’s Experience Data Model (XDM) schemas in order to achieve this.
Specifically, all datasets that are used in Intelligent Services must conform to the Consumer Experience Event XDM schema.

5.1.1 Create Schema

In this exercise, you’ll create a schema that contains the Consumer Experience Event mixin, which is required by the Customer AI Intelligent Service.

Log in to Adobe Experience Platform by going to this URL: https://experience.adobe.com/platform.

After logging in, you’ll land on the homepage of Adobe Experience Platform.

Data Ingestion

Before you continue, you need to select a sandbox. The sandbox to select is named --module10sandbox--. You can do this by clicking the text Production Prod in the blue line on top of your screen. After selecting the appropriate sandbox, you’ll see the screen change and now you’re in your dedicated sandbox.

Data Ingestion

From the left menu, click Schemas and go to Browse. Click Create Schema.

Create new schema

In the popup, select XDM ExperienceEvent.

Create new schema

You’ll then see this.

Create new schema

Search and select the following Mixins to add to this Schema:

  • Consumer Experience Event

    New CEE schema

  • End User ID Details

    New CEE schema

Click Add Field Groups.

Identity key defn

You’ll then see this. Select the Mixin End User ID Details.

Create new schema

Navigate to the field endUserIDs._experience.emailid.id.

Create new schema

In the right menu for the field endUserIDs._experience.emailid.id, scroll down and check the checkbox for Identity, check the checkbox for Primary Identity and select the Identity namespace of Email.

Create new schema

Navigate to the field endUserIDs._experience.mcid.id. Check the checkbox for Identity and select the Identity namespace of ECID. Click Apply.

Create new schema

Give your schema a name now.

As the name for our schema, you’ll use this:

  • --demoProfileLdap-- - Demo System - Customer Experience Event

As an example, for ldap vangeluw, this should be the name of the schema:

  • vangeluw - Demo System - Customer Experience Event

That should give you something like this. Click the + Add button to add new Mixins.

Create new schema

Select the name of your schema. You should now enable your schema for Profile, by clicking the Profile toggle.

Create new schema

You’ll then see this. Click Enable.

Create new schema

You should now have this. Click Save to save your schema.

Create new schema

5.1.2 Create Dataset

From the left menu, click Datasets and go to Browse. Click Create dataset.

Dataset

Click Create dataset from schema.

Dataset

In the next screen, select the dataset you created in the previous exercise, which is named ldap - Demo System - Customer Experience Event. Click Next.

Dataset

As a name for your dataset, use --demoProfileLdap-- - Demo System - Customer Experience Event Dataset. Click Finish.

Dataset

Your dataset is now created. Enable the Profile toggle.

Dataset

Click Enable.

Dataset

You should now have this:

Dataset

You’re now ready to start ingesting Consumer Experience Event data and start using the Customer AI service.

5.1.3 Download Experience Event test data

Once the Schema and Dataset are configured, you’re now ready to ingest Experience Event data. Since Customer AI requires data across 2 quarters at least, you’ll need to ingest externally prepared data.

The data prepared for the experience events must comply to the requirements and schema of the Consumer Experience Event XDM Mixin.

Please download the file containing sample data from this location: https://dashboard.adobedemo.com/data. Click the Download button.

Dataset

You’ve now downloaded a file named retail-v1-dec2020-xl.json.zip. Place the file on your computer’s desktop and unzip it, after which you’ll see a file named retail-v1.json. You’ll need this file in the next exercise.

Dataset

5.1.4 Ingest Experience Event test data

In Adobe Experience Platform, go to Datasets and open your dataset, which is named ldap - Demo System - Customer Experience Event Dataset.

Dataset

In your dataset, click Choose files to add data.

Dataset

In the popup, select the file retail-v1.json and click Open.

Dataset

You’ll then see the data being imported, and a new batch is created in the Loading state. Don’t navigate away from this page until the file is uploaded.

Dataset

Once the file has been uploaded, you’ll see the batch status change from Loading to Processing.

Dataset

Ingesting and processing the data might take 10-20min.

Once data ingestion is successful, the batch status will change to Success.

Dataset

Dataset

Next Step: 5.2 Customer AI - Create a New Instance (Configure)

Go Back to Module 5

Go Back to All Modules

On this page