Step 1: Model B2B Data
Modeling data for B2B use cases is more involved than for B2C because you need to define the structure for both people and accounts, as well as the relationship between them.
Adobe Experience Platform provides a set of standard B2B classes and field groups to simplify this process.
In this step, you will create the necessary schemas to represent:
- People (leads/contacts)
- Companies (accounts)
1. Create B2B Schemas
You will need to create several schemas based on standard B2B classes:
-
Navigate to Data Management > Schemas
-
Select Create Schema and choose:
XDM Business Account
class- Schema Name:
B2B Account Schema
- Add the B2B Account Details field group
- Save the schema
-
Create another schema:
XDM Business Person
class- Schema Name:
B2B Person Schema
- Add the B2B Person Details field group
- Save the schema
-
You will also need schemas for marketing activities.
Create schemas based on the following classes, each with its standard field group:-
XDM Business Campaign
Schema Name:B2B Campaign Schema
-
XDM Business Opportunity
Schema Name:B2B Opportunity Schema
-
2. Define a Relationship Between Schemas
The key to B2B functionality is linking people to accounts. You will do this by defining a schema relationship:
-
Open the
B2B Person Schema
you created. -
Select the schema’s name in the main canvas.
-
In the right panel, go to the Relationship tab.
-
Select Add relationship.
-
In the Create relationship dialog:
-
For Reference schema, select your
B2B Account Schema
. -
The system will auto-populate the relationship fields using the standard B2B field groups.
-
The Relationship type will be:
code language-none XDM Business Account Person Relation
-
-
Select Save to create the relationship.
3. Enable Schemas for Profile
Just like in the B2C tutorial, you must enable your core schemas for use in Real-Time Customer Profile:
- Open your
B2B Account Schema
- In Schema properties, toggle ON the Profile switch
- Open your
B2B Person Schema
- In Schema properties, toggle ON the Profile switch
- Save both schemas
You have now created the necessary data blueprints to ingest and unify B2B data.