Set up external CDP integration in Clienteling

The customer baseball card (Clienteling) feature in Store Operations Assist Mobile provides a comprehensive customer view to store associates for deeper and more meaningful customer conversations, helping store employees to sell within the app.

By setting up external CDP(Customer Data Platform) integration, you can unify data across systems and empower store associates with insights about customers. By providing customer data to store associates, you enable them to engage in meaningful conversations and foster stronger relationships with key customers.

To support external CDP customers, you need to implement the business logic in the plugins provided by us. These plugins are triggered by the custom APIs mapped to them.

For using external CDP integration, you need to perform the following steps:

Create and register your own plug-ins

For Clienteling, the relevant custom APIs and its key values are given in the following table:-

Custom API Entity key values
Fetch Purchase Summary contactId
averageOrderValue
totalValueOfOrdersToDate
Fetch Loyalty Information loyaltyPoints
membershipId
membershipStartDate
expiryDate
expiryPoints
tier
Fetch Customer Information address1_composite
birthdate
emailaddress1
msret_mainphone
msret_languageofpreference
Fetch Gifts Balance amount
Fetch Rewards Balance totalAmount
expiryDate
expiryAmount
Fetch Purchase History (collection of entities) productName
productImage
orderDate
orderValue
orderChannel
orderStatus

You can download sample Clienteling Custom APIs for reference. You can use these sample plug-ins to apply your custom business logic.

To create and register your own plug-in, see Use plug-ins to extend business processes and Write plug-in tutorial.

Custom APIs must be linked with the right plug-ins in order to fetch the required information. Hence, each plug-in that you create should match with the corresponding custom API.

  1. Sign in to Power Apps and go to Solutions tab.

  2. Select Store Operations Assist UI from the list of solutions available on the home page.

  3. Select Custom API in the left panel.

  4. Now from the list of the custom APIs select the relevant custom API.

    1. Select Fetch Customer Information custom API. You're redirected to a form.

    2. Scroll down the form. In the Plugin Type field, remove the custom plug-in, browse, and select the plug-in assembly that you created.

      The image shows the plug-in type field.

    3. Select Save & Close.

  5. Repeat the previous steps for the remaining custom APIs. You need to update the relevant plug-in in each of the custom API so that the Clienteling PCFs are able to fetch data.

Change the source of data from Dataverse to any CDP using custom APIs

By default, the customer baseball card retrieves data from Dataverse. You need to modify the data source settings and specify the custom API as the new source of data for the customer baseball card feature.

Important

You'll need administrator permissions in Power Apps or Store Operations Assist Admin to complete all steps.

  1. Sign in to Power Apps.

  2. Go to Solutions tab. Select New solution to create a new unmanaged solution. Enter all relevant details and select Create.

    The image shows how to create a new unmanaged solution.

  3. Go to the newly created solution and select Add existing > Table. A pop-up would open with the list of tables.

    The image shows how to add tables to the solution.

  4. Select Contact table and add it to the solution.

  5. In the solution, select Contact table and then select Forms, which is available in the Data experiences tab.

    The image shows how to add contact forms to the Custom API solution.

  6. Add the existing Contact UCP form to the solution.

  7. Select and open Contact UCP form and add custom API as source for all controls. You can edit the form and change the source to custom API for each control/tile.

    1. Select purchasesummarycontrol card and then expand Components section.

    2. Select PurchaseSummaryControl and enter other for DATA_SOURCE_TYPE.

      The image shows how to enter the data source type.

      Note

      Keep DATA_SOURCE_NAME and CUSTOMER_ID_TABLE_NAME unchanged.

    3. Select Done and then Save & Publish. The purchase summary data in customer baseball card starts obtaining data from custom API instead of Dataverse.

  8. Repeat the same steps to enable all the cards such as PurchaseSummary, Rewards, Gifts, Profile Tab (Customer Snapshot, Loyalty), and Activity Tab (Purchase History).

    Note

    External CDP integration is not currently supported for the Spend by product category and Most purchased brands baseball cards. You can hide these cards for the store associate. Select each tile and then select Hide on phone. We also do not support external CDP integration for timeline and appointments.

  9. After all the cards are enabled to get data from external CDP customer APIs, select Save and publish.

Now, the Clienteling PCFs fetches data from the external CDP custom APIs.