Contact Builder

Contacts, contact key and subscriber key, the contact record, Data Designer, attribute groups and populations in Marketing Cloud Engagement.

The same customer arrives by email, by SMS and through the institution’s CRM (customer relationship management) system. What decides that those three trails are one person, and where is that decision defined?

Contact, subscriber and contact record

Help defines Contact Builder’s contact as an individual added to any contact database in Marketing Cloud Engagement: someone who received a message from an Engagement tool — it names GroupConnect, Journey Builder, MobileConnect and MobilePush, and of the last two it states only that they require data extensions — or someone Journey Builder processes in a journey without sending them anything.

A subscriber is, in Help’s words, the person who has opted to receive communications from the organization for specific channels: email, SMS (short message service), MMS (multimedia messaging service) or push notifications. A contact is a single individual who can receive messages via multiple channels. What tells them apart is what defines each one — the per-channel opt-in for the subscriber, the person for the contact — not that they are different values: the same key identifies both.

The contact record stores the information that relates only to that contact — name, mobile number, email — and identifies it as a single entity within the system. The contact model is that record plus the data extensions linked to it; Help calls it the Contact model without defining it, so the definition is this page’s.

The key that ties the channels together

Contact Builder uses a single contact key value to identify a contact within an account, and Help says it is identical to the subscriber key in Email Studio, which this page glosses as Engagement’s email application because Help does not define it. They are not two keys but the same value seen from two applications: the subscriber key is a text field whose value uniquely identifies a subscriber in the account.

Engagement combines contacts from its various sources based on that value, and deduplicates multiple instances of a contact within a population. Hence a sentence Help writes without hedging: two records with different Contact Keys and the same email address count as two unique contacts. And in another article it warns that this information can’t be merged or de-duplicated.

Hence which value to choose: Help asks for a unique one, unrelated to any channel, in a string field even if the source uses a number, and stable against customer behavior.

The parts of Contact Builder

Part or permission What it does, per Help
All Contacts Lists every contact in the account; for each one it shows Engagement, the activity related to specific messages, Membership, the subscriptions on all available channels, and Attributes
Data Designer Defines, organizes and relates information to the contacts in the account
Data Extensions Creates and manages the data extensions that hold contact information
Imports Creates the processes that move contact information into the data extensions
Data Sources Indicates where the account stores and locates contact attributes, and lets you assign them a source. Three types: system, the default data structures Marketing Cloud Engagement creates; synchronized, which bring data from another Salesforce cloud with Marketing Cloud Connect; and custom, which collect attributes and visually link them to their source
Contacts Configuration Determines how Contact Builder processes imported contact information: it is where ContactID mapping, Contacts Events — which Help marks as scheduled for retirement, without a date, and recommends replacing with filter or query activities in Automation Studio — and contact deletion are enabled, the last one the subject of the contact deletion page
Access Four user permissions split it: Access to enter the app, View All Contacts to view contact information, Delete Contacts to delete records, and Administer Contact Data Model to change the data relationships of attribute groups

Two readings of this page, not of Help: the All Contacts row, which the article that introduces the application does not count among its five tools although the tab has its own article; and treating Contacts Configuration as a settings screen rather than a part of the model, when Help does count it.

How Data Designer hooks stored data to the contact

All contact information resides on subscriber lists and data extensions, and Data Designer is what permits linking a data extension to the contact record or to another one. A data extension is a table in the Marketing Cloud Engagement database that contains your data; the sibling page covers its types and policies.

An attribute is a single piece of information about a contact in the contact model: an email address on a contact record. It is not a table column, which the Data Extensions page calls a field. An attribute group collects several data extensions into one entity and accepts links to the contact record or to tables from other groups.

The link is made attribute against attribute; its restrictions are table-side and the sibling page covers them. Help asks you to link by the contact key value, not by the email address, and says that link allows you to create filters based on the linked data.

When you link, you choose the cardinality: how many rows on one side correspond to how many on the other. Here Help contradicts itself. The link dialog offers One-to-One, One-to-Many, Many-to-One and Many-to-Many; the Data Designer article, One-to-One, population, One-to-Many and Many-to-Many, with no Many-to-One. This page reproduces the dialog’s.

Path between the contact record and stored dataData Designer builds a path in three legs between the contact record and data stored in another table. The first leg is the contact record, identified by its contact key, the value that uniquely identifies the contact in the account. The second is the attribute group, the Data Designer entity that collects several data extensions. A data extension is a table in the Marketing Cloud Engagement database that contains your data. The third is the data extension linked inside that group, which Help recommends linking by the contact key value when it is available, and not by the email address. Help says that link allows you to create filters based on the linked data, and calls attribute values the ones you use to filter and segment contacts.Contact recordwith its contact keyAttribute groupin Data DesignerData extension linkedthrough an attributeAttribute values tofilter and segment

Changing that cardinality later is not harmless. Help warns that it can radically alter how the account behaves, and gives this example: on changing the relationship between a contact record and a data extension, the filtered lists — the ones that, in Help’s words, rely on that table — can no longer access its information, and the contact neither appears in them nor receives their sends. It asks you to review them beforehand, along with filters and scheduled sends. It does not say whether the change is reversible, and neither does this page.

Populations

A population is a primary set of contacts joined by an overarching theme; Help’s example is a healthcare provider with patients, doctors and insurers. It links to the model by the contact key against a primary key, with a one-to-one relationship, and accepts only one row per contact. The primary key is covered by the sibling page.

Populations replaced the root relationships: a one-to-one relationship between the contact record and a data extension that acts as a source for contact information, and which could only exist with one table. Their article is titled “Deprecated Root Relationships”; existing ones remain until they are removed.

A population’s records count towards the contact counts, and “Contact Definition and Count Determination in Contact Builder” documents how to undo that: open Populations, select the data extension, click the trash can and confirm. What happens to the data afterwards, it does not say. And it asks you not to go past three populations per account.

The contact model versus the list model

New accounts include Contacts and Contact Builder. Existing ones can replace their current data structure with the Contacts structure, and Help puts it like this: “After switching to the Contacts structure, your account can’t return to the previous data structure”. There is no way back.

With that structure, subscriber information is stored in the Contacts framework and appears in All Contacts, with a cross-channel detail page. Without data extensions, it resides in an attribute group.

The list model does not go away. A list is a collection of subscribers that receive your communications. Without data extensions, Contact Builder shows only lists; and MobileConnect and MobilePush require them.

The two root lists are not the same thing. All Contacts includes every contact in the instance; All Subscribers, only the subscriptions created within Email Studio. Email Studio references it to prevent sends to unsubscribed addresses, but that reaches only its own activities: whoever unsubscribes there can still receive messages from MobileConnect or MobilePush. Being unsubscribed in the All Subscribers list itself does unsubscribe from all lists and groups. Business units are covered by the Business Units page.

Which model when

The row split is this page’s reading: no source publishes a decision table between the two models.

Situation What Help indicates
You need to see the person across several channels The Contacts structure: the contact record is the cross-channel view
The account uses MobileConnect or MobilePush Those apps require data extensions, so the account can’t stand on lists alone
Subscriber information has to appear in All Contacts The Contacts structure, which is what puts it there
A list of 500,000 subscribers or fewer, few attributes, no need for fast imports, and simplicity preferred over performance The four conditions under which Email Studio’s guidance allows lists; that is its criterion for choosing between a list and a data extension, not between models
You need to stop sends to someone who unsubscribed on another channel The Email Studio unsubscribe reaches only Email Studio; these sources do not say how a cross-channel opt-out is enforced
You need to group contacts into primary subsets Populations, no more than three per account

Example: a private bank’s client wealth segment

A private bank wants marketing email, mobile alerts and the wealth segment its Salesforce CRM maintains to resolve to one contact record, reachable from it. The case is invented; the order of the steps is this page’s proposal, not Help’s.

  1. Fix the key. The client identifier from the source system is chosen as the contact key, in a string field; if it is numeric, Help asks you to convert it first. Since contact key and subscriber key are the same value, that identifier is also the one the Email Studio subscribers carry.
  2. Declare the source. What comes from the CRM arrives through a synchronized data source, which requires Marketing Cloud Connect and brings data from another Salesforce cloud; the rest, through a custom one.
  3. Two populations, not six. Clients and employees, by the contact key with a one-to-one relationship, one row per person; Help asks you not to go past three, and those records will count towards the count.
  4. An attribute group for the segment. The data extension holding the segment is linked inside an attribute group, by the contact key and not by the email address; that is what makes it reachable from the record.
  5. Unify the demographic source. By default Contact Builder uses a different one per channel; to use a single one, Help says, you create an attribute group and use it as the source of your activities.

The example promises no more: without a common key the three channels remain three contacts, and no step says what the manager sees on screen.

Before production

  1. A contact key that is unique, string-based and unrelated to a channel (see “The key that ties the channels together”).
  2. No link by email address where a contact key is available (see “How Data Designer hooks stored data to the contact”).
  3. Filters, filtered lists and sends reviewed before changing a cardinality (see “How Data Designer hooks stored data to the contact”).
  4. Populations counted, each one past three justified, and their effect on the count accepted (see “Populations”).
  5. The Contacts structure confirmed before switching to it (see “The contact model versus the list model”).
  6. The four permissions split according to who should touch the model (see “The parts of Contact Builder”).
  7. Tested on another channel what an Email Studio unsubscribe does (see “The contact model versus the list model”).

Official sources

Back to the knowledge base