Connectors
Operations Applications

Salesforce

13min

Salesforce.com is a Customer Relationship Management (CRM) platform that helps marketing, sales, commerce, service and IT teams collaborate on customer success. CRM is a technology for managing all your company’s relationships and interactions with customers and potential customers.

Connector Pre-Requisites

Connecting to Salesforce, you need to make sure that:

  • You have access to retrieve metadata from your Salesforce.com account

Instructions (Basic Connection Setup)

Remember DataLakeHouse.io securely connects to your Salesforce.com instance by redirecting you to the Salesforce.com portal for you to sign in via Salesforce.com's login. DataLakeHouse.io does not capture or store your password/credentials.

Using the form please complete the following basic steps:

  1. Enter a Name or Alias for this connection, in the 'Name/Alias' field, that is unique from other connectors.
  2. Enter in the 'Target Schema Prefix' field, a name that will be unique in your data cloud destination where you wish to land the data.
  3. Click the Authorize Your Account button which will transport you to the Salesforce.com login, where you will enter your Salesforce.com account credentials. Β  Once your credentials are accepted you will be automatically redirected back to this DataLakeHouse.io portal and you should be able to see a successful connection.

How to Instructions

ο»Ώ
ο»Ώ

FAQ

Compare record counts between Salesforce and Target

  • On the Sync Bridge, Actions click Compare Source to Target Entity Counts in order to view record counts in Salesforce compared to record counts in the Target Connection.
  • Document image
    ο»Ώ
  • If it's been awhile since a record count has been performed or the Delta from Source column has a negative number, then click the Re-run Audit counts Process on Target button. Please wait for 10-15 minutes in order for the process to complete. You may need to wait longer if you hundreds of Salesforce entities to update.
  • Document image
    ο»Ώ

Entities with many records

  • For entities that have many records a baseline for the replication window is that during a historical load 500,000 records takes approximately 30 min to pull for a single entity.

Salesforce trial accounts

  • Salesforce limits the ability to use their API on their trial accounts so a licensed Snowflake account is needed in order to leverage DataLakeHouse.io.

Sync Bridge Runs Once a Day But Errors

  • If a sync bridge is set to run once a day and for whatever reason does not successfully complete the bridge, the bridge will load 2 days worth of data during the next run.

Deleted Records

Salesforce will remove from its system any deleted records (hard deleted, etc.) within 15 days, (see salesforce documentation here). Therefore it is important to keep the sync bridge in DLH.io running consistently (not paused). If a Sync Bridge is paused for long periods of time your target destination may have orphan records that will not be marked as IsDeleted = true and/or `_DLH_IS_DELETED = Y` and it will appear that you are pulling potentially eroneous values/records. In this case it is recommended to backup your target destination tables, drop the target schema and/or tables in question and conduct a Historical Resync of the Sync Bridge.

If comparing DLH.io to another process or system where you have been attempting to synchornize or retrieve Salesforce.com records, and you find that DLH.io has a differing number of records, it may be due to this deletion issue above, or the fact that DLH.io is a more comprehensive sychronization platform than any alternatives.

How does the CDC/Incremental Loading Work with SFDC?

  • As a SaaS platform Salesforce.com (SFDC) has native columns/fields that represent timestamps for when a record/event was created or updated. These columns vary from entity to entity. DLH.io uses in order the following timestamp attributes/columns/fields in the SFDC entities to ensure only new or incremental records are synchronized during a standard incremental data sync process: LastModifiedDate, CreatedDate, SystemModstamp.

Custom Fields and Custom Entities

  • DataLakeHouse.io treats all custom and non-custom fields and entities as equals whereby replicating these fields (as columns) and entities (as tables) to your desired Target Connectionο»Ώ. In fact, most other data integration platforms struggle with custom entities and only replicate a subset of custom columns and custom entities.

How are Field Formulas Handled

  • DataLakeHouse.io replicates calculated formula values on any custom or non-custom field. Example of a custom formula in SFDC:

"calculatedFormula": "IF(My_Credit_Limit_Gross_Revenue__c=0 , \n0, \n( My_Backlog_Gross_Revenue__c + My_Total_AR__c + My_Total_WIP__c ) / (My_Credit_Limit_Gross_Revenue__c \n )\n)",

ο»Ώ

ο»Ώ