Configuring the data sources concept_vml_hdy_w2b

In our use case, we want to use personalization data for our messages. We also need to check if the person is a loyalty member and has not been contacted in the last 24 hours. This information is stored in the Real-time Customer Profile database. The technical user needs to configure the Adobe Experience Platform data source to retrieve those fields.

For additional information on data source configuration, refer to this page.

  1. In the menu pane, select Admin. In the Data sources section, click Manage.

  2. Select the build-in Adobe Experience Platform data source.

  3. In the pre-configured group fields, check that the following fields are selected:

    • person > name > firstName
    • person > name > lastName
    • personalEmail > address
  4. Click Add a New Field Group, select a Profiles schema and add the Loyalty member field for our condition. The Loyalty member field is a custom field and was added in XDM: “_customer > marlton > loyaltyMember”

  5. Click Add a New Field Group, select an ExperienceEvent schema and choose the fields needed for our condition on the number of messages sent in a given period: timestamp for the date and directMarketing > sends > value for the number of messages sent.

  6. Click Save.

We also need to check if the person has a reservation in the hotel reservation system. The technical user needs to configure a second data source to retrieve this field.

  1. In the list of data sources, click Add to add a new external data source to define the connection to your hotel reservation system.

  2. Enter a name for your data source and the URL of the external service, for example: https://marlton.com/reservation

    note caution
    CAUTION
    We strongly recommend using HTTPS for security reasons.
  3. Configure the authentication depending on the external service configuration: No authentication, Basic, Custom or API key. In our example, we choose “Basic” for the type and specify the username and password for the API call.

  4. Click Add a New Field Group to define the information to be retrieved and the API parameters. For our example, there is only one parameter (the id), so we need to create one field group with the following information:

    • Method: select the POST or GET method. In our case, we select the GET method.
    • Response Payload: click inside the Payload field and paste an example of the payload. Verify that the field types are correct. Each time the API is called, the system will retrieve all the fields included in the payload example. In our example, the payload only contains the reservation status:
    code language-none
    {
        "reservation" : true
    }
    
    • Dynamic Values: enter the parameter corresponding to the key used to identify each customer, “id” in our example. The value of this parameter will be defined in the journey.

  5. Click Save.

    The data sources are now configured and ready to be used in your journey.

recommendation-more-help
4f4a00c1-77c9-4eee-84df-bbe6206c3ab9