Contact Us

May 24, 2024

May 13, 2026 2:21 pm

Using opportunity data for segmentation in Salesforce Marketing Cloud

Share with

Understanding the Data Model and Data Graph

The Data Model is a critical component of Salesforce Marketing Cloud, as it defines the structure of your data and how it relates to other data entities. The Data Graph, on the other hand, is a visual representation of these relationships and is primarily used for personalization.

However, the Data Graph can also be useful for segmentation, as it allows you to see how your data is connected and identify potential issues. To view the Data Graph, navigate to the Data Model and look for the connected objects.

Connecting Data Model Objects

To connect your Data Model Objects, follow these steps: first, identify the objects you want to connect, such as Opportunities and Contacts. Then, navigate to the Data Model and create a new relationship between the objects. This will allow you to access the Opportunity data for segmentation purposes.

The root cause of this issue is often a lack of understanding of the Data Model and how it relates to the Data Graph. By ensuring your Data Model Objects are correctly connected, you can avoid issues with segmentation and personalization.

Segmentation with Opportunity Data

Once you have connected your Data Model Objects, you can use the Opportunity data for segmentation. To do this, navigate to the segmentation tool and select the Opportunity data as a criteria. You can then use this data to create targeted segments and personalize your marketing campaigns.

Segmentation Example

/* Example of using Opportunity data for segmentation */
var opportunityData = DataExtension.Init('OpportunityData');
var segment = opportunityData.Rows.Filter('OpportunityStage = 'Closed Won'');

Heads up: Make sure to test your segmentation criteria to ensure it is working as expected.

Best Practices

Checklist for Using Opportunity Data for Segmentation

  • Ensure your Data Model Objects are correctly connected
  • Use the Data Graph to visualize your data relationships
  • Test your segmentation criteria to ensure it is working as expected
  • Use the Opportunity data to create targeted segments and personalize your marketing campaigns
  • Regularly review and update your Data Model to ensure it remains accurate and effective

What is the Data Graph used for?

The Data Graph is primarily used for personalization, but it can also be useful for segmentation and visualizing data relationships.

Do I need to create a new Data Graph for segmentation?

No, you do not need to create a new Data Graph for segmentation. However, you do need to ensure your Data Model Objects are correctly connected.

How do I view the Data Model?

You can view the Data Model by navigating to the Data Model section of your Marketing Cloud account.

What is the difference between the Data Model and the Data Graph?

The Data Model defines the structure of your data, while the Data Graph is a visual representation of the relationships between your data entities.

Genetrix Technology · Salesforce Marketing Cloud Partner

Need help shipping this in production?

Genetrix builds and untangles Salesforce Marketing Cloud and Agentforce setups for teams that want it done right the first time. If anything in this post sounds familiar, talk to us before it ships.

Get in Touch with Genetrix →

Blogs for the

Business-Savvy!​

Let’s Connect

A 30 min no cost strategy session
with cloud support expert

Let’s Connect

A 30 min no cost strategy session
with cloud support expert