Organization Hierarchy Inbound Connector
About the Organization Hierarchy Inbound Connector
Organization hierarchies allow you to upload your organization structure to XM Discover to improve data analytics, user personalization, and data access control. You can use the organization hierarchy inbound connector to upload and update organization hierarchies.
Preparing an Organization Hierarchy File
Before you can set up an organization hierarchy inbound job, you must make sure your organization hierarchy data is in the proper format and contains your organization structure.
Organization hierarchies can be uploaded using a CSV or Excel (XLS or XLSX) file.
See the Best Practices for Organization Hierarchies for examples and formatting guidelines for each file type.
Setting Up an Organization Hierarchy Inbound Job
Follow the steps below to set up an organization hierarchy inbound job. This setup requires you to generate a Hierarchy API token in Studio, which is recommended before completing the steps below.
- In the Jobs tab, click New Job.
- Choose Organization Hierarchy.
- Give your job a name so you can identify it.
- Choose the project to load data into.
- Give your job a description so you know its purpose.
- Click Next.
- Choose the Authentication Method for your SFTP server:
- Basic Authentication: Connect using a username and password.
- SSH Key: Connect using a Secure Shell (SSH) key that you provide, or a key provided by Qualtrics.
- Use the dropdown to either select an existing connection, or select Add New to set up a new connection. See Adding an SFTP Account for more information about creating a new connection.
- Click Next.
- Choose the type of hierarchy:
- Custom Filter
- Delta Classification
- Traditional Classification
- Attribute Filter
Qtip: Hover over the information icon next to the hierarchy name to learn about it and its use cases.
- Custom Filter
- Click Next.
- If using a “Traditional Classification” hierarchy type, then you’ll also need to enter a Hierarchy API Token. Otherwise, continue to the next step.
- Give your hierarchy a name.
- Choose your hierarchy settings. The options here depend on your selected hierarchy type from step 10:
- Delta Classification
- Upload Organization Hierarchy: Create and activate an organization hierarchy. By default, the activated organization hierarchy is unpublished and will only enable dashboard personalization. When enabled, the following suboptions are also available:
- Generate groups based on this users file: Create groups based on the organization hierarchy file.
- Skip non-existent users: Skip users that do not correspond to existing Discover users.
- Upload Organization Hierarchy: Create and activate an organization hierarchy. By default, the activated organization hierarchy is unpublished and will only enable dashboard personalization. When enabled, the following suboptions are also available:
- Upload Organization Hierarchy and Publish: Create, activate, and publish an organization hierarchy. Publishing an organization hierarchy enables you to group data by its levels. This is a prerequisite for peer and parent reporting and target and variance reporting. This also creates a hidden category model to support additional use cases. The model mirrors the structure and filters of the organization hierarchy. When enabled, the following suboptions are also available:
- Include records without text: Include records with empty verbatims in your organization hierarchy.
- Include in incremental dataflows: Include the organization hierarchy in incremental dataflow
Qtip: If you expect that publishing an organization hierarchy will conflict with other dataflows, we recommend deselecting this option. The model that gets created and subsequently classified will not block other dataflows if this option is disabled.
- Apply to historical data: Apply the organization hierarchy to historical data.
- Generate groups based on this users file: Create groups based on the organization hierarchy file.
- Skip non-existent users: Skip users that do not correspond to existing Discover users.
- Traditional Classification:
- Upload Organization Hierarchy: Create and activate an organization hierarchy. By default, the activated organization hierarchy is unpublished and will only enable dashboard personalization. When enabled, the following suboption is also available:
- Generate groups based on this users file: Create groups based on the organization hierarchy file.
- Upload Organization Hierarchy and Publish: Create, activate, and publish an organization hierarchy. Publishing an organization hierarchy enables you to group data by its levels. This is a prerequisite for peer and parent reporting and target and variance reporting. This also creates a hidden category model to support additional use cases. The model mirrors the structure and filters of the organization hierarchy. When enabled, the following suboptions are also available:
- Include records without text: Include records with empty verbatims in your organization hierarchy.
- Include in incremental dataflows: Include the organization hierarchy in incremental dataflow
Qtip: If you expect that publishing an organization hierarchy will conflict with other dataflows, we recommend deselecting this option. The model that gets created and subsequently classified will not block other dataflows if this option is disabled.
- Generate groups based on this users file: Create groups based on the organization hierarchy file.
- Upload Organization Hierarchy: Create and activate an organization hierarchy. By default, the activated organization hierarchy is unpublished and will only enable dashboard personalization. When enabled, the following suboption is also available:
- Attribute Filter
- Skip non-existent users: Skip users that do not correspond to existing Discover users.
- Delta Classification
- Click Next.
- Choose the type of file you want to upload:
- Delimiter-separated “flat” Files
- Excel Files (XLS, XLSX)
- For delimiter-separated flat files, there are additional settings for you to choose:
- File encoding: Choose the file’s encoding system (UTF-8, ASCII, etc)
- Delimiter character: Enter the character used to delimit data entries. By default, this is a comma for CSV files.
- Enclosure character: Enter the character that encloses data entry. Leave this field blank if “No enclosure” is selected.
- No enclosure: Enable this option if your file does not contain enclosure characters.
- Click Browse and choose the folder path on your SFTP server that contains the file you’d like to upload.
- Enter the filename regular expression that matches the files you want to upload.
- If your files are compressed, enable Unzip file(s) and enter the Zipped Filename regular expression that matches the files that should be decompressed.
- If your files are decrypted, enable Decrypt file(s) and enter the following:
- Encrypted Filename regular expression: Enter the filename regular expression for files that should be decrypted.
- PGP/GPG key: Enter the PGP/GPG key used for encryption.
- Passphrase: Enter the passphrase for decryption.
- If your files are both compressed and encrypted, you must choose which should happen first:
- Unzip then Decrypt: Files are decompressed and then decrypted.
- Decrypt then Unzip: Files are decrypted and then decompressed.
- You must provide a sample file, which can be either saved on your computer or on your SFTP server:
- Select Download Sample from File Storage if the sample file is saved on your SFTP server.
- Select Upload sample from my computer if the sample is saved to your computer.
Qtip: If needed, you can download a template file by clicking the here link displayed in the job setup.
- By default, your sample file is not used to generate the organization hierarchy. If you’d like your sample file to be used for the first job run, then enable Use uploaded sample file for initial job run.
- Click the Select File button and choose the sample file on your computer or on your SFTP server.
- A preview of the file will appear. If you see an error message or raw file contents instead of the preview, there may be a problem with the data format options you selected. See Sample File Errors for help troubleshooting your file.
- Click Next.
- Begin mapping fields from your sample file to organization hierarchy fields in XM Discover. Click the box in the Mapping column to choose an XM Discover organization hierarchy field to map to your imported field. The possible organization hierarchy fields include:
- Level 1 to Level 10: Define the structure of your hierarchy. The maximum number of hierarchy levels is 10.
- Users: Map the users to your hierarchy.
- Filters: Define the filters for your hierarchy.
- Enrichments: Create enrichment parameters for your hierarchy. The maximum number of enrichments is 6.
- If needed, you can transform incoming data by clicking the gear icon in the Transformations column.
- You can add additional fields by clicking the plus sign ( + ) or remove fields by clicking the minus sign ( – ) nex to the field.
- Click Next when you’re finished mapping fields.
- Choose your notification settings.
- Click Next.
- Choose Schedule Incremental Runs if you’d like your job to run periodically on a schedule, or Set Up One-Time Pull if you’d like the job to run just once. See Job Scheduling for more information.
- Choose a retention period for processed files. Files are deleted after the set period.
- Click Next.
- Review your setup. If you need to change a specific setting, click the Edit button to be brought to that step in the connector setup.
- Click Finish to save the job.