Contact Details Enricher

Overview

The Contact Details enricher listens for system events related to these user actions in the storefront:

  • a new user registers for the storefront and provides personal data
  • a user signs in to a storefront using the created credentials
  • a user enters the storefront

When the system sends these events, the Contact Details enricher adds a new subdocument to the user's profile document. It not only adds contact details to the customer profile document, but also connects these details with internal links, and associates the with a relevant session.

The Contact Details enricher reacts to the following events in the Context service:

  • user-registered
  • user-logged-in
  • frontend-entered


Events

The following events in the Context service trigger the Contact Details enricher:

EventTriggered by SchemaPayload example
user-registeredcontext/commerce/UserRegisteredExample
user-logged-incontext/commerce/UserLoggedInExample
frontend-enteredcontext/commerce/FrontendEnteredExample



AttributesProperties
profiles/observations/web
profiles/contactDetails
profiles/addresses


Metamodel

The following interactive graphic displays the schemas that invoke this enricher.


Glossary

TermDescription
authorizationThe process of determining whether a given microservice has permission to gain consent.
consentPermission to access (read, write) specific profile data, for example, permission to read or write an age estimation or physical address. A consumer and a tenant can grant and revoke consent for subsets of their respective data.
consent classA developer-defined string alias that references a set of profile data, or "schemas", for which to grant and revoke consent.
consent referenceA unique, randomized string that serves as a passcode to decrypt data associated with one or more schemas.
consumerThe end user whose actions yield profile data in the profile document. A profile describes a single consumer.
contextData that affects the state of the profile document. You can collect this data from consumer-triggered events or from third-party sources such as weather stations.
context serviceAn internal microservice that manages the insertion of, and the retrieval of, context data in the Context Repository.
enricherA microservice that retrieves data from the Context repository and the profile document, possibly alters or extends it, and then persists data in the profile document. An enricher can interpret data points, or sets of data points, to yield new data to persist. For example, an enricher can interpret purchasing data and contemporaneous weather station data to yield new data indicating that the consumer is a rainy-day shopper.
identityOne of many independent units of data used to identify a unique profile, such as an email address, browser type, or version.
profileTechnical definition: Data in the profile document that is interdependent and associated with a single consumer.
Business definition: Data about a single consumer, collected and derived from events that the consumer triggers, or events that are logically associated with that consumer.
schemaA string representation of a path in the profile document, which represents an abstraction of a particular data structure, and used to define read and write permissions for SAP Hybris Profile microservices.
tenantA tenant is a group of users on a project sharing common access, with specific privileges to a service.


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