Asset Interest Affinity Contact Details Enricher

Overview

In their interactions, consumers contact various assets, such as web pages, videos, and fact sheets. Some of these assets may carry information about a consumer's interests. This enricher persists all those asset interactions in a customer's profile and creates and maintains affinities that a given profile has for the specified assets and interests. It creates the following nodes and relationships:

Nodes

  • Interest
  • Interest Affinity
  • Asset
  • Asset Affinity

Relationships

  • Asset-[INDICATES]->Interest
  • Profile-[HAS]->Asset Affinity
  • Profile-[HAS]->Interest Affinity
  • Affinity-[TO]->Asset
  • Affinity-[TO]->Interest
  • Session-[ACCESSED]->Asset

To create these nodes and relationships, this enricher expects the triggering event payload to contain the following fields, all of which are optional:

Key in the event payloadDescription
assetIdThe unique identifier (string) of the consumed asset.
interestA comma-separated list of strings, each of which represents a topic of interest.
nameThe consumed asset's name (string).
typeThe format or type of the consumed asset (string), for example, a PDF, eBook, or website.
accessTypeThe kind of consumption performed (string), for example, download, view, or stream.
assetUrlThe URL of the consumed asset (string).
firstNameThe customer's first name (string).
lastNameThe customer's last name (string).
additionAn option addition to the customer's address (string), for example, back building or c/o.
streetThe name of the street of the customer's address (string).
zipThe ZIP code of the customer's address (string).
cityThe name of the city in the customer's address (string).
countryThe name of the country in the customer's address (string).
phoneNumberThe phone number the customer supplied (string).
phoneTypeThe type of phone number the customer supplied (string), for example business, mobile, or home.
languageThe language the customer supplied (string).
companyThe name of the company the customer supplied (string).
emailThe email address the customer supplied (string).


Events

Triggered by Schema
context/commerce/FrontendEntered
Node or Relationproperties
nodes/core/ContactDetails
nodes/core/Email
nodes/core/Emailvalue
nodes/core/Language
nodes/core/Phone
nodes/core/Phonenumber
nodes/core/Phonetype
nodes/core/Address
nodes/core/AddressfirstName
nodes/core/AddresslastName
nodes/core/Addressaddition
nodes/core/Addressstreet
nodes/core/Addressnumber
nodes/core/Addresszip
nodes/core/Addresscity
nodes/core/Addresscountry
nodes/core/Affinity
nodes/core/Affinitycounter
nodes/core/AffinitylastUpdated
nodes/core/Affinityscore
nodes/core/Affinitytype
nodes/core/Asset
nodes/core/Asset/name
nodes/core/Asset/type
nodes/core/Asset/url
nodes/core/Asset/extra
nodes/core/Interest
nodes/core/Interest/interestTopic
relations/commerce/Session/core/Asset/core/ACCESSED
relations/commerce/Session/core/Asset/core/ACCESSEDaccessType
relations/commerce/Session/core/Asset/core/ACCESSEDcampaignId
relations/commerce/Session/core/Asset/core/ACCESSEDinterest
relations/commerce/Session/core/Asset/core/ACCESSEDtimestamp
relations/commerce/Session/core/Asset/core/ACCESSEDurl
relations/commerce/Session/core/ContactDetails/core/CREATED
relations/core/Affinity/core/Asset/core/TO
relations/core/Affinity/core/Interest/core/TO
relations/core/Asset/core/Interest/core/INDICATES
relations/core/Profile/core/Affinity/core/HAS
relations/core/Profile/core/ContactDetails/core/HAS
relations/core/ContactDetails/core/Address/core/HAS
relations/core/ContactDetails/core/Email/core/HAS
relations/core/ContactDetails/core/Language/core/HAS
relations/core/ContactDetails/core/Phone/core/HAS


Metamodel

The following interactive graphic displays the schemas that invoke this enricher and the schemas the enricher affects in the graph.


  • Send feedback

    If you find any information that is unclear or incorrect, please let us know so that we can improve the Dev Portal content.

  • Get Help

    Use our private help channel. Receive updates over email and contact our specialists directly.

  • hybris Experts

    If you need more information about this topic, visit hybris Experts to post your own question and interact with our community and experts.