Using XM Discover Enrichments as Case Management Flags Example
About Using XM Discover Enrichments as Case Management Flags Example
This example focuses on how to set up the XM Engage/XM Discover integration to supplement XM Engage surveys with enrichment fields from XM Discover. These XM Discover-based fields will return TRUE whenever a survey mentions a specific topic and either sentiment or Effort score for that particular sentence is lower than a certain threshold. You can then configure automated actions to use these fields as flags for tickets or cases in XM Engage.
To set up the XM Engage/XM Discover integration, you need to follow these steps:
- Step 1: Create a Category Model in XM Discover
- Step 2: Create Embedded Data Fields in XM Engage
- Step 3: Load Survey Data from XM Engage to XM Discover
- Step 4: Update Embedded Data Fields in XM Engage with XM Discover Enrichments
- Step 5: Configure Automated Actions Based on Flag Fields
Step 1: Create a Category Model in XM Discover
In XM Discover, sign in to Designer and create a category model with three topics dedicated to the issues you wish to cover.
To learn more about creating category models, please see Creating a Category Model.
Step 2: Create Embedded Data Fields in XM Engage
In XM Engage, create embedded data fields to store XM Discover enrichments.
To learn how to add these fields to surveys, please see the Embedded Data support page.
Step 3: Load Survey Data from XM Engage to XM Discover
- In XM Discover, sign in to Connectors and set up a Qualtrics inbound connector job to load survey data from XM Engage.
- Set the following mappings:
- Survey ID: Map the surveyId field to keep track of individual survey documents.
- Embedded data fields: Set the embedded fields you’ve created in XM Engage (CB_Billing, CB_Collections, and CB_Payments) to Do Not Map.
Step 4: Update Embedded Data Fields in XM Engage with XM Discover Enrichments
In XM Discover, sign in to Connectors and set up a Qualtrics outbound connector job with the following settings:
Settings | Description |
Data level | On the Query Configuration page, set the Select the data level setting to sentences. |
Data mapping | On the Query Configuration page, set the Select the data level setting to sentences.
|
Transformations | On the Map Desired Fields into Qualtrics page, set the following transformation for each embedded data field:
IF(CONTAINS(FIELD(“classifications.model-name”), “topic-name”) and (sentiment <= -2 or attributes.cb_sentence_ease_score <= -1), “TRUE”, “”) where “model-name” is the name of the category model with your case management topics and “topic-name” is the name of the specific topic. Update sentiment and Effort score thresholds if needed. For example: Set the following transformation for the XM_Billing field: IF(CONTAINS(FIELD(“classifications.Case Management”), “Billing”) and (sentiment <= -2 or attributes.cb_sentence_ease_score <= -1), “TRUE”, “”) |
To learn more about transforming data, please see Building Expressions.
Step 5: Configure Automated Actions Based on Flag Fields
In XM Engage, once the embedded data fields are populated, one of the following happens:
- If the conditions for a case are met, the field will return TRUE.
- If the conditions for a case are not met, the field will remain empty.
Configure automated actions correspondingly to use these fields as flags for tickets or cases.