Migrating Automations to XM Directory Workflows
About Migrating Automations to XM Directory Workflows
Workflows is the new and improved way to integrate with XM Directory and automate tasks, 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.
Workflows in XM Directory
The Workflows tab of the XM Directory is where you can create, edit, and manage your directory workflows. For more information, see Workflows in XM Directory.
Scheduled Workflows to Replace XM Directory Automations
All XM Directory automations are scheduled at regular intervals. A Scheduled Workflow will achieve the same functionality as an automation.
- Navigate to XM Directory.
- Go to the Workflows tab.
- Select Create a workflow.
- Select Started at a specific time (scheduled).
- Select the Frequency from the dropdown menu.
- Enter the Start days, Start times, Time zone, Start, and End fields. For more information, see Scheduled Workflows.
- Select Save.
Tasks to Replace Contact Import Automations
Contact Import Automations allow you to set a schedule for importing files that are posted in a Secure File Transfer Protocol (SFTP) server, in the Qualtrics File Service, or in Google Drive. This same functionality can be achieved by using Data Extraction Tasks.
- Set up a scheduled workflow.
- Click the ( + ) sign.
- Select Add a task.
- Create one of the following Data Extraction tasks:
- Extract data from Google Drive
- Extract data from Qualtrics File Service
- Extract data from SFTP files
Qtip: Workflows also supports other import sources, like Amazon S3, Snowflake, and Salesforce. Dropbox is not currently supported. For more information, see Building ETL Workflows. - Click Add a data destination.
- Select the Add contacts and transactions to XMD task.
- Choose the directory to map data to.
- 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.
- Select a data source. This should be the data extractor task you set up in step 4.
- If desired, you can click Choose file and import a mapping file instead of manually mapping fields.
- Manually map your fields to the XM Directory fields.
Qtip: To map field values, see Mapping Field Values. - Add a transaction data field, if you want.
Attention: When mapping transactional data, you must map at least one contact field. The Transaction Date field is required.Qtip: Transaction dates are the dates that a transaction occurred. Dates will be assumed to be in UTC unless the time zone is included in the date value. See Date Format Syntax for more information. The following time formats are compatible:
- ISO-8601 (2006-01-02T15:04:05+07:00)
- ANSIC (Mon Jan _2 15:04:05 2006)
- UnixDate (Mon Jan _2 15:04:05 MST 2006)
- RFC822 (02 Jan 06 15:04 MST)
- RFC850 (Monday, 02-Jan-06 15:04:05 MST)
- RFC1123 (Mon, 02 Jan 2006 15:04:05 MST)
- Click Save.
Tasks to Replace 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 XM Directory task, Email task, or Send Survey via Text Message (SMS) task.
- Set up a scheduled workflow.
- Click the ( + ) sign.
- Select Add a task.
- Select a distribution task:
- Follow the steps from the linked pages above.
Tasks to Replace Linked Contact Import and Survey Distribution Automations
In 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.
Distributing with XM Directory Tasks
If you’re using an XM Directory task to distribute your survey, you must add specific IDs to ensure that the survey is sent to the correct mailing list.
- Select the Dynamic Contact list distribution type.
- Complete the Distribution Method, Link Type, and When fields.
- Click the ( {a} ) next to the Mailing List Field.
- Select the contact import task you created.
- Click the Transaction batch ID.
Qtip: If you’re distributing to a sample population, select SampleID instead. - Complete the Library Field, Survey, and other distribution fields. For more information, see XM Directory Task.
Qtip: To create and distribute to a sample population, add the 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.
Tasks to Replace People Import Automations
People Import Automations allow you to set a schedule for Qualtrics to pick up files that are posted in a Secure File Transfer Protocol (SFTP) server, in the Qualtrics File Service, or in Google Drive and upload contacts to XM Directory. This same functionality can be achieved using Workflows.
- Set up a scheduled workflow.
- Click the ( + ) sign.
- Select Add a task.
- Create one of the following Data Extraction tasks:
- Extract data from Google Drive
- Extract data from Qualtrics File Service
- Extract data from SFTP files
Qtip: Workflows also supports other import sources, like Amazon S3, Snowflake, and Salesforce. For more information, see Building ETL Workflows. - Click Add a data destination.
- Select the Load Users into EX Directory task.
- Select the directory where you would like to save your data.
- Choose the data loader task you set up in step 4 from the dropdown.
- Upload the mapping file. For more information, see Load Users into EX Directory Task.
Qtip: The maximum file size for the file in the data loader task is 1 GB. - Map the source fields to your destination fields.
- Add more fields, if you’d like.
- Click Save.