Skip to main content
Estimación de tiempo

Create and Activate a Segment in Data Cloud

Learning Objectives

In this project, you’ll:

  • Review Data Cloud segmentation functionality.
  • Create a segment.
  • Activate a segment to a DMO.

Configure Your Environment

This badge is part of a series covering Data Cloud concepts. In this project, you continue building out those concepts by focusing on how data can be filtered and used for various business use cases using Data Cloud Segmentation and Activation.

In order to do that you first need to complete the Create a Data Stream in Data Cloud, and Quick Start: Create an Identity Resolution Ruleset, and Quick Start: Enhance Data with Insights projects. These projects established the data and processes needed for the segments you’re going to create. You use the same Developer Edition org from those projects to complete this one. These Developer Editions are only available for a limited 14-day period—be sure to complete this project before your org expires.

Note

This Developer Edition is designed to work with the challenges in this badge, and may not work for other badges. Always check that you’re using the Trailhead Playground or special Developer Edition org that we recommend. 

Also note that your developer org has a custom permission set that doesn't have access to Data Cloud Setup. It’s intended to be used only for specified Trailhead challenges.

About Segmentation and Activation

Before you get started, review the benefits of acting on data using Segmentation and Activation. When you're surrounded by a wealth of data, how do you narrow your focus to a specific group? This project guides you through the process of crafting a segment filter within Data Cloud, enabling you to comprehend, target, and engage your customer base with precision.

Note

While this org includes Segmentation and Activation, Segmentation and Activation features are only available to Data Cloud customers with an add-on license. Contact your account executive for more information.

Review Terminology

Data Cloud uses some terms that are helpful to know during segmentation. Time to review.

  • Segment: Filter your data to create useful segments to understand, target, and analyze your customers.
  • Segment on: Within segmentation, segment on defines the target object used to build your segment.
  • Publish: Publish is the process of searching and building a segment based on the filter criteria. You can publish your segments on a chosen schedule or as needed.
  • Activation: Activation is the process of moving audience segments to an activation target.
  • Direct attributes: Attributes that have a one-to-one relationship with the segment target. Meaning each segmented entity has only one data point for a profile attribute. So for customer data, they would only have one entry for postal code or for first name.
  • Related attributes: Attributes that can have multiple data points.
Note

Want to learn more about segmentation and activation concepts before you start? Visit the Segmentation and Activation module before you begin.

Create a Segment

Segments can be used for multiple purposes. In this example, you create a segment to help identify missing zip code data. This can be used to trigger a notification to a sales rep, prompting them to fill in missing data, or to email a customer directly and ask them to complete a customer profile on their website. Let’s get started.

  1. From your Developer org, search for Data Cloud in the App Launcher.
  2. From Data Cloud, go to the Segments tab and click New.
  3. Leave Visual Builder and Standard Segment selected and click Next.

visual builder and standard segment selected.

  1. The default Data Space should be auto-selected. Then from the Segment On dropdown, select Unified Individual.
  2. Next, name your segment No Zip Code. Add an optional description to describe your segment.
  3. Click Next.

Create a new segment.

  1. Select Standard Publish.
Note

The publish schedule determines when and how often your segment publishes to activation targets. You can edit this later under a segment’s Edit Properties.

  1. From the Publish Schedule dropdown, select Don’t refresh and click Save.

Standard publish and schedule set to don’t refresh.

Now you’re ready to select attributes and define a filter for your new segment.

Note

This may take a few moments to load, please be patient.

Add Filters

The goal of this segment is to narrow down the list of US Based leads who haven’t provided their zip code. Follow these steps to add filters to obtain this result.

  1. With the Attributes pane selected, expand Related Attributes.
  2. Select Lead or search for Is US Based.

Related attributes with Is US Based from the Lead datastream selected.

  1. Select the first option and then drag the Is US Based attribute to the canvas.
  2. Within the Lead container:
    • From the Measurement dropdown, select Count.
    • From the Operator dropdown, select At Least.
    • For Value, type 1.
  1. For the Is US Based attribute:
    • From the Operator dropdown, select Is Equal To.
    • For Value, type true (and select from available options).
  1. Click Done.

Lead container path with operator set to Is Equal to and value set to true.

  1. Next, search for Postal Code under Leads and then drag the Postal Code attribute to the canvas.
  2. For the Postal Code attribute:
    • From the Measurement dropdown, select Count.
    • From the Operator dropdown, select At Least.
    • For Value, type 1.
  1. From the next Operator dropdown, select Has No Value.
  2. Click Done.

The logical operator AND has been added to the two attributes. You don’t need to change this, as you want both attributes to be true.

  1. Click Save.

When you save, the Segment Population (the number of items that match your filter criteria) is automatically refreshed.

Segment population 17 with cursor clicking the Save button.

  1. When the number is refreshed, click Done.

Great! You’ve created a filtered segment for a group of US-based leads who don’t have a zip code. Now you can create tasks for sales reps to obtain this missing data.

Activate a Segment

After you create a segment in Data Cloud, you publish a segment to an activation target. Activation is the process that publishes a segment to activation platforms. An activation target is used to store authentication and authorization information for a given activation platform. Targets include Marketing Cloud, Data Cloud, B2C Commerce, Amazon Ads, Google Audience Insights, and many more.

Create a New Activation Target

Next, create an activation target to store that data back in Data Cloud. This is useful if you don't have a target system with which to activate Data Cloud segments, but you still want to use the activated data.

  1. Go to the Activation Targets tab.
  2. Click New.
  3. Select Data Cloud and click Next.

New Activation Target.

  1. Name your Activation Target Data Cloud Segments. Add an optional description.
  2. Select default for your Data Space.
  3. Click Save.

Activate Your Segment

Now that you have a target established (the where), you can activate your segment (the what). In this case, you want to add data about US-based customers who don’t have a zip code back into a Data Cloud object.

To see the content of your segment in Data Cloud, you need to activate it to the target selected.

  1. Go to the Activations tab.
  2. Click New.
  3. For Segment, select the newly created No Zip Code segment.
  4. Select Data Cloud Segments as your Activation Target.
  5. For Activation Membership, select Unified Individual.

New activation to DMO.

  1. Click Continue.
  2. Next to Email, click + Select (displays as Selected) and then Next.

New Activation with email selected.

  1. Click Add Attributes.
  2. From Direct Attributes under Unified Individual, drag Last Name under the Unified Individual section on the right, next to the existing Unified Individual Id.

New Activation with last name added as an attribute.

  1. Click Save.
  2. Review the summary and then click Next.

New activation summary.

  1. Name the activation No Zip Code.
  2. Confirm the Incremental Refresh is selected and then click Save.

When a segment is published to the Data Cloud activation target, the Audience DMO is updated with the activated records. While it can take some time to process, to view these records, go to the Data Explorer tab and select the corresponding Audience DMO. It’s also good to know that segments activated to Data Cloud can be retrieved using Query API.

Verify Your Work

Now that you have your segment created, check your work and click Verify. For this exercise, we’re just checking that the segment and activation were set up correctly–you don’t have to wait for the activation to verify your work.

Hands-On Journey

Congrats on finishing this four-part hands-on journey about Data Cloud! While these projects focus on steps over concepts, they have taken you through some key features of Data Cloud.

Connect:

  • Bring in data into Data Cloud using data streams

Harmonize:

  • Transform data using formulas
  • Map object fields to connect them to the canonical Customer 360 Data Model
  • Create identity resolution rulesets to create unified profiles

Act:

  • Query your data and create actionable insights to identify a customer’s case count
  • Segment your unified profile data to learn more about missing data
  • Activate your segment back to Data Cloud to take action based on that missing data

What’s Next

So what’s next in your journey? 

  • Learn More. Visit Data Cloud Resources in Help documentation to find Data Cloud videos, Trailhead modules, blogs, and more.
  • Explore Data Cloud. Use the Developer org to explore the Data Cloud interface and product functionality.
  • Provide Feedback. We’d appreciate feedback on your experience with this project (including the content, org, and more). Please fill out this linked survey. Your feedback will help us create future content for Data Cloud.

Resources

Comparta sus comentarios sobre Trailhead en la Ayuda de Salesforce.

Nos encantaría conocer su experiencia con Trailhead. Ahora puede acceder al nuevo formulario de comentarios cuando quiera desde el sitio de la Ayuda de Salesforce.

Más información Continuar para compartir comentarios