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

Migrating Automations to XM Directory Workflows


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!


About Migrating Automations to XM Directory Workflows

Workflows are the new and improved way to automate tasks in XM Directory, and will eventually fully replace automations. To get ahead of this change, we recommend following the instructions on this page to recreate common automations as workflows.

Qtip: In addition to replacing the functionality of automations, workflows allow you to create more types of automated jobs for your XM Directory. You can schedule workflows to run based on changes to XM Directory contacts with the Experience ID Change Event, create workflows based on XM Directory segments, and more.
Attention: XM Directory automations are currently estimated to be deprecated by Q4, 2025. We will send an email to Brand Administrators before the deprecation. Qualtrics may, in its sole discretion and without liability, change the timing of any product feature rollout, change the functionality for any in preview or in development product feature, or choose not to release a product feature or functionality for any reason or for no reason.

The Workflows tab of XM Directory is where you can create, edit, and manage directory-related workflows. When replacing your legacy automations, this can be an easy, one-stop location to find all of your XM Directory workflows.

For more information, see Workflows in XM Directory.

Highlights the workflows tab in XM Directory

Workflow Schedules

All XM Directory automations are scheduled at regular intervals. Thus, the first step to replacing your automation is to create a scheduled workflow.

Qtip: Workflow notifications are replacing run reporting in Automations. Follow the instructions on the linked page to be notified when your workflow succeeds or fails.
  1. Navigate to XM Directory.
  2. Go to the Workflows tab.
    create a workflow from the workflows tab of xm directory
  3. Select Create a workflow.
  4. Select Started at a specific time (scheduled).
    Set up a scheduled workflow
  5. Select the Frequency from the dropdown menu.
  6. Enter the Start daysStart timesTime zoneStart, and End fields. For more information, see Scheduled Workflows.
  7. Select Save.
  8. Next, determine if you want to import contacts on a regular schedule or send a distribution.

Contact Import Automations

Contact import automations allow you to automatically upload files of contacts from a source of your choice to XM Directory. In legacy automations, contacts can come from a Secure File Transfer Protocol (SFTP) server, the Qualtrics File Service, or Google Drive. Workflows achieve this same functionality using ETL workflows, while also supporting several more sources, such as Amazon S3, Snowflake, and Salesforce.

  1. Create an ETL workflow.
    on workflows global page, clicking make workflow button, then selecting ETL option
  2. Set up your schedule.
    workflow with a schedule. button below for adding extraction task
  3. Select Data source (ETL extractor). 
  4. Depending on where your data’s stored, select a data extraction task. The most common include:
    new window with many extraction tasks to choose from

    Qtip: Workflows also supports other import sources, like Amazon S3, Snowflake, and Salesforce. For more information, see Building ETL Workflows.
    Qtip: Workflows do not support Gigya or Dropbox as data sources.
  5. Click Add a data destination.
    Add a data destination button highlighted in workflow editor
  6. Select the Add contacts and transactions to XMD task.
    XMD Contact Import task highlighted
  7. Choose the directory to map data to.
    new window where you configure the task
  8. Select a mailing list to map data to. You can also choose to create a new mailing list for this directory each time this workflow runs.
  9. Select a data source. This should be the data extractor task you set up in step 4.
  10. Many of your XM Directory fields will be mapped automatically. Double-check the results and make adjustments as needed.
    Fields for mapping XM Directory sources and fields

    Qtip: If you want to make changes to field mappings, you can make individual edits or upload a file. See Mapping Field Values.
  11. Use the Field type column to indicate whether each column is basic contact data, embedded data, or transaction data.
    Qtip: See Setting Up an Add Contacts and Transactions to XMD Task for more details, including differences between field types, and proper transaction date formats.
    Qtip: If you don’t map a transaction date field, the system will automatically map the workflow’s execution date as the transaction date.
  12. Click Save. 
Qtip: To create and distribute to a sample population, add a Create an XM Directory Sample task after your contact import task. Select Use a transaction batch generated from a previous task as the sample source.
Qtip: You can add a Basic Transform Task to your workflow to modify the values of the input data before importing it into your XM Directory.

Survey Distribution Automations

Survey distribution automations allow you to set a scheduled survey distribution to a mailing list or a sample of a mailing list. This same functionality can be achieved with the Email task or Send Survey via Text Message (SMS) task.

  1. Set up a scheduled workflow.
    Click the plus sign under the scheduled workflow and add a task
  2. Click the plus ( + ) sign.
  3. Select Add a task. 
  4. Select a distribution task:
    highlighted a distribution task

  5. Follow the steps from the pages linked above.
Attention: Do not use the XM Directory task, as it will eventually be deprecated. The Send Survey via Email Task offers enhanced functionality and should be used instead.

Linking Contact Import and Survey Distribution Automations

In legacy automations, users can link contact import and survey distribution automations together to send survey distributions to the contacts that were most recently imported. In Workflows, users can perform the import and distribution tasks in a single unified job.

It is also possible to add multiple survey distribution tasks to the same workflow, so you can have multiple distributions sent after a single contact import task.

  1. Follow the steps from the Tasks to create Contact Import Automation section.
  2. Click the plus sign ( + ).
  3. Select Add a task.
    click the plus sign then select add a task
  4. Select a distribution task:
    send survey via email and text SMS are shown

  5. Follow the steps from the pages linked above.
  6. When you choose who to invite, instead of choosing a directory or mailing list, click Source, then select the Add contacts and transactions to XM Directory task you created earlier, for your contact automation.
    new window where you're configuring email task, says choose who you want to invite, and because the earlier contact import automation is chosen, you can now set it to deliver to that new list
  7. Under Type, select whether to send to the mailing list created, or to that specific transaction group.
    Qtip: If you select List, the entire mailing list will be invited. If you select Transaction Group, only the newly added contacts in this workflow execution will be invited. If you don’t create a new mailing list every time the contact import runs, you should select Transaction Group.
Attention: Do not use the XM Directory task, as it will eventually be deprecated. We recommend using the Send Survey via Email Task instead, since it offers not only the same email distribution capabilities, but a number of enhanced features.

Qtip: If you schedule your workflow to run on a frequent basis, but there isn’t a new file to extract from your chosen source, the workflow will not send the distribution, and mark it as failed. This is intended behavior, since if there isn’t a group of contacts to message, the message can’t go out. If you have workflow failed notifications turned on and want to avoid receiving too many, add a condition to your workflow between your contact import and the distribution. As seen below, you can set a condition so the distribution’s only sent if the file is not empty, thus eliminating the failures described.

plus sign between tasks lets you add a condition
follow branch if tasks add contacts and transactions to XMD transaction batch ID isn't empty

Qtip: To create and distribute to a sample population, add the Create an XM Directory Sample task after your contact import task, but before your distribution task. Select Use a transaction batch generated from a previous task as the sample source.

Run Summary Reports

Email tasks allow you to send a general email message with no survey link included. Because of this, email tasks are a great options if you want to create run reports, keeping your stakeholders updated on how many contacts were processed in each run. However, if you’re using an email task, you must add specific IDs to ensure that the survey is sent to the correct mailing list.

If you’re using a contact import automation, with or without a linked distribution, follow the steps below.

selecting transaction ID for email task

  1. Click the piped text button ( {a} ) next to the “To” (recipient) field.
  2. Hover over the Add contacts and transactions to XM Directory task you created earlier.
  3. Select the Transaction batch ID.
  4. Complete your email. In the body, you can generate piped text from either the contact extraction or the contact upload.
    email piped text

    • Extract data from (source): You can show email recipients the number of files or rows in all files imported. Number of rows can be a great way to show the number of contacts generated.
    • Add contacts and transactions to XMD: Display information such as the directory where the new contacts were uploaded, the list ID, or the transaction ID.

People Import Automations (EX)

In this section, we’ll discuss an automation that’s only available for Employee Experience customers, and is disconnected from XM Directory.

People import automations allow you to automatically pull lists of employees from a source of your choice to your employee directory. In legacy automations, employees can come from a Secure File Transfer Protocol (SFTP) server, the Qualtrics File Service, or Google Drive. Workflows achieve this same functionality using ETL workflows, while also supporting several more sources, such as SuccessFactors, Workday, and more.

  1. Set up a scheduled workflow.
    Click the plus sign under the scheduled workflow and add a task
  2. Click the plus ( + ) sign.
  3. Select Add a task. 
  4. Create one of the following data extraction tasks:
    Highlighted data extraction tasks from step 4

    Qtip: Workflows also supports other import sources, like Amazon S3, Snowflake, and Salesforce. For more information, see Building ETL Workflows.
  5. Click Add a data destination.
    Add a data destination button highlighted
  6. Select the Load Users into EX Directory task.
    Select the task
  7. Follow the steps on Load Users into EX Directory Task.

FAQs