Experience ID Segments Event
About Experience ID Segments Events
As contacts are added to or removed from your segments, you can automatically set off different tasks, such as sending notifications (such as emails or Slack messages), creating tickets (in Qualtrics, Freshdesk, or elsewhere), and much, much more. You can also set workflows when a contact opts into or out of a segment.
Creating a Segment
Before you set up workflows based on segments, you need to create a segment. See XM Directory Segments for detailed steps.
Example: Think carefully about what you want to use your segments for and the information available to you. For example, you could create a segment called “At-Risk Customers” that looks for customers who have had 5 support calls in the past 30 days. You can use transactional data to identify the number of support calls.
When a new contact is added to this “At-Risk Customers” segment, you can then create tasks for your team. For example, create a Zendesk ticket asking that your team to call the customer as part of a recovery campaign.
Step 1: Creating an Experience ID Segments Event
- Go to the stand-alone Workflows page.
- Click Create a workflow.
- Select Started when an event is received.
- Search for and select Experience ID Segments.
- Select the directory you’d like to monitor for changes.
- Select the segment you’d like to monitor for changes.
- Click Next.
- Choose what type of membership change you’d like to trigger the event. You can choose from the following:
- A member is added to this segment
- A member is removed from this segment
- A member opts into this segment
- A member opts out of this segment
- Click Finish.
Step 2: Adding a Load XM Directory Contact Details Task
Now you’ll add a task to your workflow called “Load XM Directory Contact Details.” This step is technically optional, but it can be extremely important if you want to do one or both of the following:
- Add conditions to your workflow
Example: You only want this workflow to fire if a contact has a phone number filled out, since you’re sending a text message to new members.
- Add piped text to the next task in your workflow
Example: You’re sending a message to your segment’s contacts, and to welcome them, you want to address them by name. (Or include other contact-specific information.)
- Under the segments membership event, click the plus sign ( + ).
- Select Task.
- Search for and select Load XM Directory Contact Details.
- The directory and the contact ID should already be filled out, because you created a segment membership event.
- Click Next.
- Qualtrics will automatically pull in a list of contact fields. You are free to edit this list as needed.
- To add another field, click Add another embedded data field, then use the dropdown to select from preexisting directory fields.
- To remove a field, click the minus sign ( – ).
- Click Save.
Step 3: Adding Conditions to the Workflow
This step is optional, but can help you narrow down the scenarios where your workflow begins.
- Under the Load XM Directory Contact Details task, click the plus sign ( + ).
- Select Add a condition.
- Select from the following list of options that you can create conditions from:
- Contact ID: Qualtrics-generated ID that identifies the individual contact.
- Event Data:
- Directory ID: Qualtrics-generated ID that identifies the directory. Also known as a Pool ID.
- Segment ID: Qualtrics-generated ID that identifies the segment.
- Segment Membership Event Type: Specify the membership event types that should be included or excluded in these conditions. This can be helpful if you’ve selected multiple types segment membership change and want something different to happen for each one.
- Task: Select a previous task, such as the Load XM Directory Contact Details task you just created. This option is helpful if you want to base conditions on other contact details you pulled, such as first name, language, and more.
- Select the operator (e.g., equals, is greater than, is empty, contains, etc.)
Qtip: If you are basing your value on an ID, you will probably only use the equals and doesn’t equal options. - Enter the value you want to match.
For more information on workflow conditions, see Creating Conditions.
Step 4: Completing the Workflow
Now it’s time to decide what you want to happen when a segment’s membership changes. Are you sending an email? Creating a ticket? Something else? Browse the support site to learn more about the different tasks available for your workflow.
Make sure you add your task after the Load XM Directory Contact Details task and after the conditions, if you have them.