Skip to main content
Loading...
Skip to article
  • Qualtrics Platform
    Qualtrics Platform
  • Customer Journey Optimizer
    Customer Journey Optimizer
  • XM Discover
    XM Discover
  • Qualtrics Social Connect
    Qualtrics Social Connect

Load B2B Account Data into XM Directory Task


Was this helpful?


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The feedback you submit here is used only to help improve this page.

That’s great! Thank you for your feedback!

Thank you for your feedback!


Attention: This task is being deprecated, so we recommend using the Add Contacts and Transactions to XMD Task instead.

About the Load B2B Account Data into XM Directory Task

The Load B2B account data into XM Directory task allows you to map data imported into Qualtrics to your XM Directory. For example, you can use an Extract data from SFTP files task to import data into Qualtrics and then map that data to your directory.

Qtip: For more information on using data loading and extracting tasks, see using Workflows tasks to build ETL workflows.

Setting Up a Load B2B Account Data into XM Directory Task

  1. Click the navigation menu in the top-left corner.
    In the workflows page, clicking "create a workflows" and then "started at a specific time"
  2. Choose Workflows.
  3. Click Create a workflow.
  4. Determine whether the workflow should be Scheduled or Event-Based. For a comparison of these options, see scheduled Workflows vs. event-based Workflows.
    Qtip: Usually, you’ll use a scheduled workflow so that your data is regularly up to date.
  5. Give your workflow a name.creating the workflow schedule, renaming the workflow, and adding a task
  6. Determine when the workflow should run (if a scheduled workflow) or the event that triggers the workflow (if an event-based workflow).
  7. Click the plus sign ( + ) and then Task to set up the data extracting task that imports data into Qualtrics. You must first set up a data extracting task before you can use the Load B2B Account Data into XM Directory task. See using Workflows tasks to build ETL workflows for more information.
  8. Click the plus sign ( + ) and then Task.
    clicking the plus sign and then task
  9. Choose the Load B2B account data into XM Directory task.
    selecting the load b2b account data into xm directory task
  10. Choose the directory to map data to.
    choosing a directory and clicking add object

    Qtip: Most licenses only have a default directory, but some may have multiple.
  11. Click Add Object.
  12. Choose an XM Directory object to map data to. You’ll only map data for the Contacts object.
    selecting the contacts object
  13. If mapping Contacts, choose if you would like a new mailing list to be created each time this workflow runs. If you leave this option unchecked, then your newly imported contacts will be added to the general global directory and not in a mailing list.enabling the mailing list option, and selecting a data source
  14. Use the dropdown menu to choose your Data Source. This should be the data extracting task you set up earlier.
  15. Use the dropdown menus to map fields from your data extracting task to your XM Directory. Fields with an asterisk are required.
    mapping fields and saving

    Qtip: You can also map individual field values. See Mapping Field Values for more information.
  16. To add custom fields to your mapping, click Add Field.
  17. When finished mapping fields, click Save.
Qtip: This task obeys your directory’s contact deduplication rules.

Mapping Field Values

You can map individual field values to save into Qualtrics. You have the option of mapping fields manually, or uploading a file containing your mappings. Additionally, you can determine what happens to unmapped fields.

Example: Let’s say I’m importing a field with source values of “Yes” and “No.” In Qualtrics, I want these saved as “Y” and “N.” I can map my values so they are saved with my desired format in Qualtrics.

To start mapping field values, click Map Values under the desired field.
clicking map values

Mapping Values with a File Upload

You have the option of uploading a CSV or TSV file containing your mapping. This is recommended if you have many values to map. If you have already mapped some values, uploading a file will not replace those mappings. Your newly added mappings will be added beneath the already mapped values.

  1. Click Map Values.
    clicking download CSV template
  2. Click Download CSV Template. We recommend downloading the template since it contains the correct formatting.
  3. Open this file in a spreadsheet editor on your computer, like Microsoft Excel or Google Sheets.
  4. The first 2 cells will contain the headers “from” and “to.” These represent your source and destination values, respectively.
    adding values to the file
  5. Add your field values. Your source values go in the “from” column and the destination values go in the “to” column. Make sure your file meets the following requirements:
    • You may have up to 500 mapping pairs. If your file contains more than 500 mappings, then you will receive an error message and only the first 500 rows will be uploaded.
      the error when you have more than 500 mappings
    • Make sure your file contains the “from” and “to” headers. If these headers are not detected, then Qualtrics will assume the first column is “from” and the second column is “to.”
  6. Save your file as a CSV or TSV with UTF-8 encoding.
  7. In the Load B2B account data into XM Directory task, click Upload file and then choose the file from your computer. Your uploaded mapping will then populate in the task.
    clicking upload file

Manually Mapping Values

You can manually map field values. This is recommended only if you have a few values to map.

  1. Click Map Values.
    adding mapping values
  2. Enter the source value in the first column
  3. Enter the destination value in the second column
  4. Click the blue plus sign ( + ) to add another mapping pair.

Handling Unmapped Fields

By default, if a field value is not mapped, then the field will be imported into Qualtrics using its source value. However, you can choose to map all unmapped values to a default field value.

  1. Click Map Values.
    enabling the default option and entering a value
  2. Enable Map unmapped fields to a default field.
  3. Enter the default field value.

Deleting Mappings

  1. Click the minus sign ( – ) next to a mapping pair to delete the mapping.
    clicking the minus sign to delete individual mappings, or clear all to delete all of them
  2. Click Clear all to delete all mappings for that field.

Troubleshooting Tips

  • When investigating what went wrong with a workflow task, check out Workflows reporting for any errors and correct them before retrying your task.
  • Contact deduplication allows you to retry your task without creating duplicate contacts. Make sure to set up contact deduplication rules when testing and retrying this task.

FAQs