Skip to main content
Contributor ⭐️⭐️⭐️
Sep 22, 2023 6:34 PM UTC
Solved

Rule that will alert CSMs a SFDC account is no longer available.

Hi, folks!

 

I would like to create a rule or perhaps a program that will alert CSMs when a SFDC id no longer exists due to a merge or a deletion in SFDC. 

As an example, I have a rule that pushes data from GS to SFDC and it only runs partially successfully because the SFDC  Account IDs are not found.

Any insights? 

matthew_lind
VIP ⭐️⭐️⭐️⭐️⭐️
Sep 22, 2023 8:51 PM UTC

@Manoel, I love that proactivity, getting in front of those errors due to SFDC maintenance.

Generally speaking, your steps will be:

  1. Perform a fetch of all your GS Company records, including SFDC Account ID
  2. Perform a fetch of all your SFDC Account records,
  3. Perform a Left Merge (Companies plus Accounts), matching on the SFDC Account ID
  4. Filter that merged dataset, identifying any rows where the SFDC Account ID from the SFDC dataset is null. (In other words, you have an SFDC Account ID on the Gainsight side, but it didn’t find a partner on the Salesforce side, signaling a merge / delete in Salesforce.)

You could run this as a Digital Journey Program. You might also consider instead notifying your admin team or creating and writing to a new custom field on the Company object via rule, then adding any Companies where that custom field is populated to a Report / Dashboard that your admin team is monitoring. Any time something hits that Report/Dashboard, the team will know some remediation is needed, and your goal will likely be to “drive that Report to zero”.

Making people their best....currently disguised as a CS Ops Architect. How can I contribute to your success?

4 replies

matthew_lind
VIP ⭐️⭐️⭐️⭐️⭐️
Sep 22, 2023 8:51 PM UTC

@Manoel, I love that proactivity, getting in front of those errors due to SFDC maintenance.

Generally speaking, your steps will be:

  1. Perform a fetch of all your GS Company records, including SFDC Account ID
  2. Perform a fetch of all your SFDC Account records,
  3. Perform a Left Merge (Companies plus Accounts), matching on the SFDC Account ID
  4. Filter that merged dataset, identifying any rows where the SFDC Account ID from the SFDC dataset is null. (In other words, you have an SFDC Account ID on the Gainsight side, but it didn’t find a partner on the Salesforce side, signaling a merge / delete in Salesforce.)

You could run this as a Digital Journey Program. You might also consider instead notifying your admin team or creating and writing to a new custom field on the Company object via rule, then adding any Companies where that custom field is populated to a Report / Dashboard that your admin team is monitoring. Any time something hits that Report/Dashboard, the team will know some remediation is needed, and your goal will likely be to “drive that Report to zero”.

Translate
Making people their best....currently disguised as a CS Ops Architect. How can I contribute to your success?
heather_hansen
VIP ⭐️⭐️⭐️⭐️⭐️
Sep 22, 2023 9:04 PM UTC

@Manoel Similar to @matthew_lind’s suggestion, I have a program set up to send a report to me weekly of the account details for merges so that I can also merge them in Gainsight.

Translate
matthew_lind
VIP ⭐️⭐️⭐️⭐️⭐️
Sep 22, 2023 10:16 PM UTC

Amazing @heather_hansen.

This sounds like an awesome Sightline Vault asset, given that virtually any instance would likely need this kind of monitoring.

Translate
Making people their best....currently disguised as a CS Ops Architect. How can I contribute to your success?
ManoelAuthor
Contributor ⭐️⭐️⭐️
Sep 25, 2023 12:45 PM UTC

Thank you, @matthew_lind and @heather_hansen . I’ll start working on it asap.

Both the report and the rule/program will be of much value.

 

 

I appreciate your help, folks!

 

Best regards!

Translate