How to identify object type using contactkey in marketing cloud?
I've synchronized two objects (from sales cloud) as Contacts in salesforce marketing cloud. These two objects are "Lead" & "Account" and both are mutually exclusive.
I want to update bounce status in sales cloud at Lead & Account level respectively. "_bounce" data view available in marketing cloud only provides subscriberkey (which is contactkey as well in this case) and doesn't tell me if the particular contact belongs to "Lead" object or "Account" object.
When I create journey in journey builder to update bounce status in sales cloud, how do I identify object type (Lead or Account) against contactkey and accordingly update respective object.
marketing-cloud journeybuilder automationstudio bounce-management
add a comment |
I've synchronized two objects (from sales cloud) as Contacts in salesforce marketing cloud. These two objects are "Lead" & "Account" and both are mutually exclusive.
I want to update bounce status in sales cloud at Lead & Account level respectively. "_bounce" data view available in marketing cloud only provides subscriberkey (which is contactkey as well in this case) and doesn't tell me if the particular contact belongs to "Lead" object or "Account" object.
When I create journey in journey builder to update bounce status in sales cloud, how do I identify object type (Lead or Account) against contactkey and accordingly update respective object.
marketing-cloud journeybuilder automationstudio bounce-management
add a comment |
I've synchronized two objects (from sales cloud) as Contacts in salesforce marketing cloud. These two objects are "Lead" & "Account" and both are mutually exclusive.
I want to update bounce status in sales cloud at Lead & Account level respectively. "_bounce" data view available in marketing cloud only provides subscriberkey (which is contactkey as well in this case) and doesn't tell me if the particular contact belongs to "Lead" object or "Account" object.
When I create journey in journey builder to update bounce status in sales cloud, how do I identify object type (Lead or Account) against contactkey and accordingly update respective object.
marketing-cloud journeybuilder automationstudio bounce-management
I've synchronized two objects (from sales cloud) as Contacts in salesforce marketing cloud. These two objects are "Lead" & "Account" and both are mutually exclusive.
I want to update bounce status in sales cloud at Lead & Account level respectively. "_bounce" data view available in marketing cloud only provides subscriberkey (which is contactkey as well in this case) and doesn't tell me if the particular contact belongs to "Lead" object or "Account" object.
When I create journey in journey builder to update bounce status in sales cloud, how do I identify object type (Lead or Account) against contactkey and accordingly update respective object.
marketing-cloud journeybuilder automationstudio bounce-management
marketing-cloud journeybuilder automationstudio bounce-management
asked Jan 10 at 12:43


ASHISHASHISH
6211
6211
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Contact ID's are starting with 003
and Lead ID's are starting with 00Q
.
Example Contact: 0030X00002EYLjkAYG
Example Lead: 00Q0X00000YRg0VNGH
This is probably the easiest way to differentiate them without doing any lookups to cross-reference data.
add a comment |
To expand the good answer from Rain, here is a more comprehensive list of record ID prefixes, for the standard objects:
001 Account
002 Note
003 Contact
005 User
006 Opportunity
500 Case
701 Campaigns
007 Activity
00B ListView / View
00D Organization
00E UserRole
00G Group
00I Partner
00O Report
00P Attachment
00Q Lead
00T Task
00U Event
00X EmailTemplate
00Y EmailTemp
00e Profile
00h Layout – Page Layout
00i Pricebook
00j Product
00k OpportunityLineItem
00l Folder
00v CampaignMember
01Z Dashboard
01a DashboardComponent
01s Pricebook2
01t Product2
02c Sharing Rule
03u UserPreference
800 Contract
801 Order
802 OrderItem
806 Approval
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "459"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f246184%2fhow-to-identify-object-type-using-contactkey-in-marketing-cloud%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Contact ID's are starting with 003
and Lead ID's are starting with 00Q
.
Example Contact: 0030X00002EYLjkAYG
Example Lead: 00Q0X00000YRg0VNGH
This is probably the easiest way to differentiate them without doing any lookups to cross-reference data.
add a comment |
Contact ID's are starting with 003
and Lead ID's are starting with 00Q
.
Example Contact: 0030X00002EYLjkAYG
Example Lead: 00Q0X00000YRg0VNGH
This is probably the easiest way to differentiate them without doing any lookups to cross-reference data.
add a comment |
Contact ID's are starting with 003
and Lead ID's are starting with 00Q
.
Example Contact: 0030X00002EYLjkAYG
Example Lead: 00Q0X00000YRg0VNGH
This is probably the easiest way to differentiate them without doing any lookups to cross-reference data.
Contact ID's are starting with 003
and Lead ID's are starting with 00Q
.
Example Contact: 0030X00002EYLjkAYG
Example Lead: 00Q0X00000YRg0VNGH
This is probably the easiest way to differentiate them without doing any lookups to cross-reference data.
answered Jan 10 at 12:49


RainRain
2,2302825
2,2302825
add a comment |
add a comment |
To expand the good answer from Rain, here is a more comprehensive list of record ID prefixes, for the standard objects:
001 Account
002 Note
003 Contact
005 User
006 Opportunity
500 Case
701 Campaigns
007 Activity
00B ListView / View
00D Organization
00E UserRole
00G Group
00I Partner
00O Report
00P Attachment
00Q Lead
00T Task
00U Event
00X EmailTemplate
00Y EmailTemp
00e Profile
00h Layout – Page Layout
00i Pricebook
00j Product
00k OpportunityLineItem
00l Folder
00v CampaignMember
01Z Dashboard
01a DashboardComponent
01s Pricebook2
01t Product2
02c Sharing Rule
03u UserPreference
800 Contract
801 Order
802 OrderItem
806 Approval
add a comment |
To expand the good answer from Rain, here is a more comprehensive list of record ID prefixes, for the standard objects:
001 Account
002 Note
003 Contact
005 User
006 Opportunity
500 Case
701 Campaigns
007 Activity
00B ListView / View
00D Organization
00E UserRole
00G Group
00I Partner
00O Report
00P Attachment
00Q Lead
00T Task
00U Event
00X EmailTemplate
00Y EmailTemp
00e Profile
00h Layout – Page Layout
00i Pricebook
00j Product
00k OpportunityLineItem
00l Folder
00v CampaignMember
01Z Dashboard
01a DashboardComponent
01s Pricebook2
01t Product2
02c Sharing Rule
03u UserPreference
800 Contract
801 Order
802 OrderItem
806 Approval
add a comment |
To expand the good answer from Rain, here is a more comprehensive list of record ID prefixes, for the standard objects:
001 Account
002 Note
003 Contact
005 User
006 Opportunity
500 Case
701 Campaigns
007 Activity
00B ListView / View
00D Organization
00E UserRole
00G Group
00I Partner
00O Report
00P Attachment
00Q Lead
00T Task
00U Event
00X EmailTemplate
00Y EmailTemp
00e Profile
00h Layout – Page Layout
00i Pricebook
00j Product
00k OpportunityLineItem
00l Folder
00v CampaignMember
01Z Dashboard
01a DashboardComponent
01s Pricebook2
01t Product2
02c Sharing Rule
03u UserPreference
800 Contract
801 Order
802 OrderItem
806 Approval
To expand the good answer from Rain, here is a more comprehensive list of record ID prefixes, for the standard objects:
001 Account
002 Note
003 Contact
005 User
006 Opportunity
500 Case
701 Campaigns
007 Activity
00B ListView / View
00D Organization
00E UserRole
00G Group
00I Partner
00O Report
00P Attachment
00Q Lead
00T Task
00U Event
00X EmailTemplate
00Y EmailTemp
00e Profile
00h Layout – Page Layout
00i Pricebook
00j Product
00k OpportunityLineItem
00l Folder
00v CampaignMember
01Z Dashboard
01a DashboardComponent
01s Pricebook2
01t Product2
02c Sharing Rule
03u UserPreference
800 Contract
801 Order
802 OrderItem
806 Approval
answered Jan 10 at 13:26


Lukas LunowLukas Lunow
2,5351419
2,5351419
add a comment |
add a comment |
Thanks for contributing an answer to Salesforce Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f246184%2fhow-to-identify-object-type-using-contactkey-in-marketing-cloud%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown