Data mapping
The Data mapping section is a form-based interface to guide you as you specify how your imported data is processed and stored in Medallia Experience Cloud. It provides instant error messaging and real-time previews, and it builds the underlying XML import specifications, providing a low-code/no-code interface to administrators.
When done, click Close to the Importers screen; you do not need to also save on that screen.
To create a data mapping:
Load a sample file
Load a sample feed-file with Browse to create the data mapping. The file must be in the same format (that is, the same columns and same types of data) as future imports.
Medallia Experience Cloud analyzes the uploaded sample file and reports the number of columns and rows available for mapping. The columns represent the “input” fields and the rows represent records.
Choose the import type
Import types are selected when creating a new importer. Click Edit to modify the import type, or click the plus sign to the right of the tab to create a new mapping.
Import types represent the types of records or data objects to import to Experience Cloud:
-
Feedback Invitations — Client's customer events, transactions, or events.
-
Existing Feedback — Client's existing feedback in survey, conversations or audio format (audio transcription format should be considered as conversation feedback).
-
Opt Out — Existing customers opt out preferences.
-
Users — Client's User and Role data that define access and privileges within Experience Cloud.
-
Organization — Client's Units and Unit groups representing the Organization Chart that allows filters and aggregations in the consumption of VoC results.
-
Lookup Table — Client's enrichment data.
-
Goals — Client's CX Goals based on unit, and employee goals when used for Employee experience.
Choose the database update option
Click Edit to define the processing options.
Processing options
| Import type | Field | Description |
|---|---|---|
| All | Processing mode | The processing operations are:
|
| Column evaluation | Determines how to handle imported files or API data when there is a difference between the columns and the mapping rows:
| |
| Existing feedback/Feedback invitations | Primary unit |
The field to use as the primary unit ID for the created episodes/surveys. Some companies have more than one unit field in the record. This option identifies the field that identifies the Unit associated with the record. The unit ID is necessary for several reasons, including but not limited to:
|
| Invitations mode |
Determines how the records that are sampled will be treated. Select the necessary sampling operation:
For information about sampling operations, see Sampling operation. | |
| Use survey | Use Survey Spec:
| |
| Sampling for quotas | Attempts to reach a target count of responses for various segments of the company. Select from a list of quota rules. | |
| Program assignment | Select the Experience Program the importer supports. | |
| Users | Import as account | The import is run using the permissions (visible accounts and units) from the account with this username. |
| Additional settings | Select the checkbox next to the option you want to activate:
| |
| Lookup table | Lookup table | If the name is not specified, then a new lookup table is created using the imported file's name. |
| Organization/Users | Processing mode | The processing operation is:
|
| Delete mode | Determines whether to delete a data record or simply deactivate it.
| |
| Organization/Users/Goals | Update mode | Determines how data will be updated when a change to that data is imported:
|
| Organization | Sync root | Overwrite all the persistent data tied to a record with org data in the feed file or the API. |
Map input data to data fields in Experience Cloud
After choosing a processor, the Importer automatically:
-
Maps input fields to data fields in Experience Cloud.
-
Suggests new fields to be created in Experience Cloud to accommodate the mappings.
When Experience Cloud cannot automatically map a field, it does not show it in the data mapping rows and it has to be mapped manually clicking Add a mapping row on the Settings and Info menu.
The mapping details include:
-
The Input is the column in the incoming file, while the Medallia Field is the field in Experience Cloud to which the data will be imported.
-
Transforms alter the Input data to the format required for the Output. For example, a transform might be a JavaScript that converts state names to the state's abbreviation (such as California to CA).
Click on the field menu of a mapping entry to edit the field settings for each mapping row:
Field Validation Settings provide additional control and conditions to apply to the data import.
| Validation option | Description |
|---|---|
| Value is required |
The value must be provided and must be successfully parsed, otherwise the whole row is discarded. For multi-valued fields, the entire record is dropped, if a single part is incorrect. For example, when parsing e-mails with | as delimiter and the input is a@example.com|foo|b@example.com the record/row is dropped because foo is not a valid email format. |
| Use for duplicate checking |
Same as Value is required, but the value is also used as a key to identify duplicates by comparing the input value against the values for the output field already in the database. If the Processing Option is:
The Survey processor looks in the Survey table, while the Episode processor looks in the Episode table. For the Account processor only one field can be used, and it must be either Username or Company Account ID. Note that neither of these fields are updatable, and attempting to update one when the other is the required duplicate check just ignores the new value. |
| Convert invalid to null |
The value must be provided and must be (at least partially) successfully parsed, otherwise the whole row is discarded. For multi-valued fields, the parts that are not correct are dropped, while the good data are kept. For example, when parsing e-mails with | as delimiter and the input is a@example.com|foo|b@example.com, the a@example.com and b@example.com are kept but the invalid foo address is dropped. The Detailed Processing Report notes the dropped value, but the record is still processed. |
| Ignore missing values |
If selected and the value is not provided on a record, the missing value is ignored during an update. For example, when updating an account and the input record is missing a value for an email field:
This option cannot be used on fields that are used for duplicate checking. Important: Fields might shown as modified on the detailed processing report even if they are not modified by Experience Cloud. |
| Default Value |
Value to use when this field is missing a value in the input. Furthermore, when Convert invalid to null is selected, this value is used if the one in the input data fails to be properly parsed. |
| Date Format | Available for Date/Time fields. Date format you are planning to import within this field. |
| Time Zone | Available for Date/Time fields. Set time zone for incoming data. |
| Map by | Available for Multi-valued fields, which can store multiple values. When using multi-valued fields you can reference:
|
| Handle multi-values by | Available for Multi-valued fields. When using multi-valued fields you can:
Note: By default, Experience Cloud discards the values stored in Experience Cloud and sets the ones from the input file.
|
e_email (with one underscore) and, by mistake, in the definition you use e__mail ( with two underscores) without noticing it, there is no validation exception; the validation process treats both fields as the same field. This is only an issue when there are different fields whose only difference is the number of underscores, because when updated on an importer, only the field with a single underscore is updated.Use the Notes field to describe mapping.
Click on the left of the Input to use special input types, including ones for a constant value (
constant), the processing date (today), and the processing date and time (now).
Select Create a transformation to alter the input data to the format required for the output. For example, a custom formula that converts agents' full name into agents' first and last name.
When viewing an importer, hover over transforms to see the full formula transform being done for mappings. You can select the formula for analysis.
If a field is marked as "JavaScript" to indicate that it has a JavaScript mapping transform in Medallia Setup, contact your Medallia expert for assistance.
Advanced mappings cannot be modified or switched to regular custom formulas in Admin Suite, but you can hover over the JavaScript modal to see the transform.
Formulas used by Importers are the same as used in K- fields, except for those that belong to org hierarchy functions.
You can also define a transformation with the custom formula editor by clicking Add on the Transform column for the desired row, and selecting Formula Transform.
Select Mapping Transform to define a set of one-to-one mapping between input data and output values. Maintain unmapped input values for the output or set a default value.
Create and sync new fields
During data mapping, you have the option to map an input to a new field by eliminating the default mapping, and clicking Create a new Field on the Output dropdown.
When creating a new field you provide the Name, Field ID, and select the data type. For more information, see Field categories and Program fields.
After mapping to a new field, a blue bar indicates the need to sync fields to add the new fields to Experience Cloud database.
Save the data mapping
Click Save (frequently) to save changes to the specification.
When there are validation issues with the mappings, the screen will show a warning message. Click Expand to review the details of each mapping.
When done, click Close to go back to the Importers screen; you do not need to also save on that screen.
Test the data mapping
Click Test at the bottom of the screen to upload and process a file in pretend mode: the file is processed but the records are not added to the database.
Drag a test file or click Browse files to upload and process a file.
Upload a file to validate the importer and its mapping. Testing this file will provide a reference for how the importer will work with the incoming data.
The test-result report shows the total number of records, and also duplicates, discarded, and processed records. The test-output report shows records created, updated, and deleted.
Click Download report to download the report or Download test file to download the processed file.
Click the test menu to see the pre-processing options:
- Reprocess last test file
- Reprocesses the uploaded file and adds the records to the database. This option is only available after a file processed in pretend mode was processed without error.Important: To comply with GDPR policies, files are deleted after 30 days.
- View last report
- View last pretend processing report.
- Download last report
- Download the last pretend processing report as an XLSX file.
- Download last test file
- Copy the file to your computer for examination.
