XM Directory Triggers in Workflows
About XM Directory Triggers in Workflows
Workflows are the new and improved way to integrate with XM Directory and automate tasks, and will eventually fully replace XM Directory triggers, including Message triggers and Automatic list enrollment. To get ahead of this change, we recommend following the instructions on this page to create workflows with the same functionality as triggers.
Automatic List Enrollment in Workflows
Automatic list enrollment allows you to automatically sort new contacts into certain lists based on various information about them. This feature affects new contacts.
After the workflow is set up, it will run when a contact is added to your directory. This contact will then be added to the specified list if conditions are met.
- Navigate to your XM directory.
- Go to the Workflows tab.
- Click Create a workflow.
- Select Started when an event is received.
- Select Experience iD change.
- Select Contact data change.
- Click Next.
- Select the directory you want to use for this event.
- Select Contact data has been created.
- Click Add embedded data field if you want to add embedded data fields for use in your workflow. This step is optional. The fields you add can be used in the tasks and conditions within your workflow.
- Click Save.
- If desired, click the plus sign ( + ) and select Add a condition. See Setting Conditions for an Experience ID Change Event for more information.
- Click the plus sign ( + ) and select Add a task.
- Select Update XM Directory contacts. For more information on this task, see the Update XM Directory Contacts Task support page.
- Select the directory to import contacts to.
- Select the list you want to add new contacts to.
- Review the fields that have been selected for merging newly added contacts. See Merging Newly Added Contacts for more information.
- Use the dropdown to select the Contact ID field from the XM Directory field column on the right for inclusion in your new contact.
- Select the {a} icon in the Source Field column and select Contact ID to insert piped text as your field value.
Attention: Make sure to select a source field for Contact ID so your contacts are added to the list correctly.
- Once you’ve finished mapping all of your import fields, click Next.
- Click Save.
Message Triggers in Workflows
Attention: Filtering by the following fields is not possible in Workflows:
- Contact info: Any field
- Contact info: Email domain
- Mailing list membership
- Statistics
Message triggers allow you to send an email when a contact is added to a chosen mailing list. This email can go to any colleague you want, regardless of whether they have a Qualtrics account, or to the contact themselves.
After the workflow is set up, it will run when a contact is added to your mailing list. An email will then be sent if the specified conditions are met.
- Navigate to your XM directory.
- Go to the Workflows tab.
- Click Create a workflow.
- Select Started when an event is received.
- Select Experience iD change.
- Select Mailing List subscription change.
- Click Next.
- Select the directory you want to use for this event.
- Select a contact list.
- Check the box for Is added to the list.
- Click Add an embedded data field if you want to add embedded data fields for use in your workflow. This step is optional. The fields you add can be used in the tasks and conditions within your workflow.
- Click Save.
- If desired, click the plus sign ( + ) and select Add a condition. See Setting Conditions for an Experience ID Change Event for more information.
- Click the plus sign ( + ) and select Add a task.
- To send an email distribution without including a survey, select Email. To set up a survey distribution, select XM Directory.
- If you’re using the email task, configure your email. See the Email Task support page for more information. If you’re using the XM Directory task, select the Distribute survey option and configure your distribution. See Sending Email Distributions with the XM Directory Task for instructions.
- Click Save.