Managing Account Hierarchies in Salesforce

  • Updated

Context

Salesforce allows customers to create account hierarchies (i.e. family tree relationships of a company) to give customers a more complete picture of their customers and prospects. Data Integrity provides comprehensive company data including a unique identifier that enables automatic account linking in Salesforce by populating Demandbase IDs into the Parent ID field on each account.

By automatically creating and updating Salesforce account hierarchies to mirror our family tree data, you can ensure that you always have the most up-to-date and complete company data, enabling your revenue teams to better understand customers and prospects and grow relationships.

Prerequisites/Preparation

Important:

If you want to process more than 200,000 records as part of a query using Data Integrity, the Account Hierarchy flow may not execute successfully. This is due to a SOQL query limitation and the Salesforce will likely return an error. 

Workaround: Contact the Salesforce support team and share the following account hierarchy SOQL queries with them:

  • SELECT Id, iv__InsideView_Parent_Company_ID__c FROM Account where iv__InsideView_Parent_Company_ID__c = 733081(use any parent ID that exists in CRM) limit 20
  • SELECT Id, iv__InsideView_Parent_Company_ID__c FROM Account where iv__InsideView_Company_ID__c = 10322153(use any IV ID that exists in CRM) limit 1

Ask the Salesforce support team to "index" the InsideView Company ID and InsideView Parent Company ID fields on the account record.

 

Steps

Step Description Details
1 Go to the Unified Portal At the top right of the page, click the Profile Dropdown and select Admin.

Screenshot_2023-01-31_at_9.56.53_AM.png

Go to Account Settings > Integrations

Hover over the integration for which you want to enable the Account Hierarchies feature and click the Edit icon. 

Screenshot_2023-01-31_at_10.00.50_AM.png

2 Go to the Account Hierarchy setup

Review the Integration details and click Next.
2023-01-31_10-03-59.jpg

Toggle on the button next to Data Integrity and select the Set as default integration checkbox. Click Next. 

2023-01-31_10-08-57.jpg

3 Set Up an Integration User Enter the Salesforce integration user credentials. Password and security token must be entered as one string without spaces. Click Next.
2023-01-31_10-12-11.jpg

Review your integration user and field mappings for Accounts, Contacts, and Leads. Click Next.

4 Enable the Account Hierarchies feature

In the Automate account and lead linkages page, you can do the following:

  • If your CSM has enabled the Account Hierarchies feature, select the Activate Default Settings option to create and activate Account Hierarchies workflows in your Salesforce.
    12341564654654654.jpg
  • Select the Customize Settings option to create the Account Hierarchies workflows in your Salesforce and activate them later.
    Second.jpg

Once the Account Hierarchy workflows are activated, click Save

Screenshot_2023-01-30_at_12.26.29_PM.jpg

  • Click the pencil.png to edit the Account Hierarchies workflows based your business process requirements in Salesforce.

  • Click the delete.png to delete the Account Hierarchies settings.

5 View family tree in Salesforce Once Account Hierarchies is enabled, log in to Salesforce. Go to any Account Details page and select the Account Hierarchy tab.  

2023-01-31_10-36-18.jpg

Salesforce account hierarchies will mirror our family tree data without any manual effort by end-users, making it easier to find related companies and grow relationships.