Event Notification Enrichment

Requirement

A brand requires the current tier information when a customer is created. The customerAdded event is triggered when a customer signs up and includes details such as the customer's first name, last name, and customer ID. However, the brand also needs additional attributes, such as the customer tier, which are not included in the initial payload.

Solution

To address this, create a Neo dataflow that enriches the event with the tier information.
Note: To access the dataflow, ensure you have access to the DocDemo org (100737) and access to Neo.

Step One: Create a Neo Dataflow to Enrich the Event

Create a Neo dataflow with the tag connectplus that,

  1. Uses the customerAdded event as the input.
  2. Retrieves the customer's tier information using the Get Customer Details API.
  3. Enriches the event with the tier information.

Step Two: Create a Webhook that listens to the customerAdded event

Create a webhook from the Event Notification UI .

Use the webhook to perform the following:

  • Listen to the event, customerAdded.
  • In the Payload enrichment settings, check the Enrich through Neo dataflow option.
  • Choose the dataflow created in Step One.
Event notification UI

Event notification UI