How to identify object type using contactkey in marketing cloud?












2















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.










share|improve this question



























    2















    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.










    share|improve this question

























      2












      2








      2


      1






      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.










      share|improve this question














      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 10 at 12:43









      ASHISHASHISH

      6211




      6211






















          2 Answers
          2






          active

          oldest

          votes


















          6














          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.






          share|improve this answer































            2














            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





            share|improve this answer























              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
              });


              }
              });














              draft saved

              draft discarded


















              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









              6














              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.






              share|improve this answer




























                6














                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.






                share|improve this answer


























                  6












                  6








                  6







                  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.






                  share|improve this answer













                  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.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 10 at 12:49









                  RainRain

                  2,2302825




                  2,2302825

























                      2














                      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





                      share|improve this answer




























                        2














                        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





                        share|improve this answer


























                          2












                          2








                          2







                          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





                          share|improve this answer













                          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






                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Jan 10 at 13:26









                          Lukas LunowLukas Lunow

                          2,5351419




                          2,5351419






























                              draft saved

                              draft discarded




















































                              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.




                              draft saved


                              draft discarded














                              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





















































                              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







                              Popular posts from this blog

                              MongoDB - Not Authorized To Execute Command

                              How to fix TextFormField cause rebuild widget in Flutter

                              in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith