Show Menu
TOPICS×

Enrichment

Description

The Enrichment activity is an advanced activity that allows you to define additional data to process in your workflow.

Context of use

The Enrichment activity is generally used following targeting activities or after importing a file and before activities that allow the use of targeted data.
This activity contains more advanced enrichment functions than the Query activity. Some simple cases of enrichment can be directly performed in the Query activity .
With the Enrichment activity, you can leverage the inbound transition and configure the activity to complete the output transition with additional data. It allows to combine data coming from multiple sets, or to create links to a temporary resource.
Related topics

Configuration

To configure an Enrichment activity:
  1. Drag and drop an Enrichment activity into your workflow.
  2. Select the activity, then open it using the button from the quick actions that appear.
  3. If the activity has several inbound transitions, select the Primary set . The additional data configured in this activity will be added to this primary set in the outbound transition.
    If the primary set already contains additional data, you can choose to keep them or to remove them. If you uncheck the Keep all additional data from the main set option, only the additional data configured in the Enrichment are kept in the outbound transition.
  4. If there are several inbound transitions, define relations between the primary set and the other inbound data in the Advanced Relations tab of the activity. You can add several relations using the Add element button.
    When defining a new relation, select the set of inbound data that you want to link to the primary set. Then define the type of relation. Several types of relations are available, depending on the inbound data and your data model:
    • 1 cardinality simple link : each record of the incoming data is associated to one and only one record from the primary set. Each record from the primary set has one associated record in the linked data.
    • N cardinality collection link : 0, 1 or more (N) records from the linked data can be associated to 1 record of the primary set.
    • 0 or 1 cardinality simple link : records from the primary set can be associated with 0 or 1 record from the linked data, but not more than one.
    Once the Cardinality is defined, define a Reconciliation criteria . The Source expression of the reconciliation criteria can be a field from the target resource, an expression or directly a value specified between quotes.
    Define a Label and an ID that will be easy to identify later in the workflow.
    You can only define relations between the primary set and the other inbound transitions connected to the Enrichment activity. For simpler cases aiming at defining relations with database resources, use a Reconciliation activity.
  5. Define the additional data from the Additional data tab of the activity. You can define additional data (simple fields, aggregates and collections) related to the targeting dimension of the primary set or based on the links created in the Advanced relations tab of the Enrichment activity.
    Consult the Enriching data section.
  6. Confirm the configuration of your activity and save your workflow.
The data is now available to use in the activities connected after the Enrichment . For example, you can find it under the Additional data (targetData) link of the personalization fields explorer in an email content.