Skip to main content

Use Insights in Data Cloud

Learning Objectives

After completing this unit, you’ll be able to:

  • Preview insights in Data Explorer.
  • Use calculated insights in segmentation.
  • Create a data action and target.

View Your Insights

Once you have created and saved your insight, you can find it in the home page of the Calculated Insights tab. Review the status column to determine when your insight is ready to use in segmentation. The insight is ready to use when the status changes from processing to active.

Calculated insights home page with the status column highlighted and showing active.

Let’s review the possible statuses and what they mean.

Status

Description

Aborted

Insight has been in the pending status for more than 8 hours and was terminated. Review your logic and retry. 

Active

Insight is working as expected. 

Error

Insight processing has failed. Review your logic or log a support ticket for assistance.

Pending

Insight is scheduled for execution.

Processing

Insight is processing. 

Success

Insight processing is completed and now set to active.

Check Your Work

After your insights are created, it’s best practice to review your insights in Data Explorer before you use them in a segment. Let’s review Data Explorer to find out how to spot check your work. First, navigate to the Data Explorer tab in Data Cloud. Select the appropriate Data Space, then from the Object dropdown, select Calculated Insights.

Data Explorer’s Calculated Insights object.

From this screen, you should see the object and fields from your expression, along with your calculated measures. In this example, you can see all the customer IDs and their total spend. You can even spot check your data to see if you need to do any formatting, like updating the decimal place. 

Data Explorer view of Total Spend insight.

If anything is off, you can go back and clone your created insight and make updates. 

Use Your Calculated Insights

Once you are confident with your calculations, you can begin using your insights. You can use calculated insights in your segmentation to narrow your results. You can also add them to activations to enable journey decisions and for message personalization in Marketing Cloud Engagement. Let’s review the steps for each of these. 

Use in Segmentation

To improve and narrow the results of an existing segment, first navigate to the Segments tab in Data Cloud. Then follow these steps. 

  1. Locate the existing segment you wish to update and click Edit Rules.
  2. Under Direct Attributes, select the insight you wish to add and then drag to the canvas.
  3. You can then update the operator (1) and add a value (2)Segmentation example with value and add dimension highlighted.
  4. You can also add more granular insights by adding additional dimensions to the segment by clicking Add Dimension.

Add to Activation

To add additional attributes to an existing activation, like a Marketing Cloud Engagement welcome journey, navigate to the Activation tab in Data Cloud. Then follow these steps. 

  1. Locate the existing activation you wish to update and then click Edit.
  2. Review the first screen and confirm Segment, Activation Target, and Activation Membership are still correct. Once confirmed, click Continue.
  3. Review the contact point for the activation and then click Next.
  4. On the attribute page, click Add Attributes.Edit Activation screen with Add Attributes highlighted.
  5. From the Calculated Insights section, select the insight you wish to add (1) and then drag to the canvas (2).ales amount total highlighted, along with the canvas.
  6. Once selected, click Save.
  7. Review attributes and then click Next.
  8. Update your activation name, add a description, and then click Save.

Great! Now that we have reviewed how to use calculated insights, let’s cover streaming insights. 

Use Your Streaming Insights

Once you have a streaming insight created, you can create data actions based on certain use cases. To begin using data actions, you first need to create a target or location to send your results. There are three supported targets.

  • Webhook: A webhook is a type of API for web applications that is event driven vs request driven. Send data actions to any webhook target and protect the message integrity with the Salesforce-generated secret key.
  • Salesforce CRM: Send data actions to the core event bus, enabling building flow applications based on near real-time insights generated in Data Cloud.
  • Marketing Cloud Engagement: Send data actions to the Marketing Cloud Engagement and utilize your streaming data events to send email objects and user journeys.

Create a Data Action Target

Let’s review the steps to create a target. 

  1. Navigate to the Data Action Targets tab in Data Cloud.
  2. Click New to create a data action target.
  3. Enter an Action Target Name.
  4. Select an Action Target Type.
    1. If you select Salesforce CRM, select the org you wish to connect.
    2. If you select Webhook, select Generate Key.
    3. If you select Marketing Cloud Engagement, select either Email or Journey. 
      1. Once selected, a scrollable menu populates showing all eligible email objects or user journeys depending on your selection.
  1. Click Save.

That’s it! Now you can create your data action. 

Create a Data Action

  1. Navigate to the Data Action tab in Data Cloud.
  2. Click New.
  3. Select the data action target you created and then Next.
  4. Select Streaming Insight from the object type dropdown.
  5. Then search for the Streaming Insight’s Object Name and click Next.

Now you can add optional conditions called action rules to your action. For example, you could add a rule like: product_category is equal to camping.

Action rule with attribute as product category, operator as Is Equal To, and value as camping.

Next, you can add profile attributes. Once done adding optional conditions and attributes, follow the remaining steps.

  1. From Properties, add a name and an optional description.
  2. Finally, click Save and Publish.

You can view your created data actions from the Data Actions tab. After the new action is created, the target starts receiving events in less than 15 minutes. 

Enhance Your Data with Insights

You’re now ready to build, check, and use your own insights. Consider the possibilities and start creating insights to enhance your data in Data Cloud. 

Resources

Share your Trailhead feedback over on Salesforce Help.

We'd love to hear about your experience with Trailhead - you can now access the new feedback form anytime from the Salesforce Help site.

Learn More Continue to Share Feedback