LogoLogo
  • Delpha Documentation
    • Welcome to Delpha Documentation
    • Delpha Setup
      • Install Delpha
        • Install Delpha package from the Salesforce App Exchange
        • Assign a Delpha Permission Set Group
        • Assign a Delpha licence to the users
        • Connect the org to Delpha
      • Import Conversations
      • Extra Tasks
        • Check my org settings
        • Install Delpha Connector for LinkedIn Enrichment
    • Delpha Upgrade
    • Delpha Apps
      • Delpha Setup
        • Delpha configuration
          • First Steps
          • Token Usage
          • Data Quality - Account
          • Data Quality - Contact
          • Duplicates
          • Job Tracker
          • Default Values
        • Conversations
        • Conversation Builder
          • High-level overview of the conversation builder
      • Delpha Data Quality
        • Data Quality Steward view
        • Duplicate Data Steward view
      • Delpha Score Meter
    • Use Cases Setup
      • Duplicate
        • Setup
          • Initialize the default settings
          • Activate Auto Merge
        • Duplicate detection
          • Properties section
          • Fields section
        • Run your first duplicate detection
        • Duplicate Merge
          • Merge Object Rules section
            • Master Record Selection
            • Custom rule for Master Record selection
            • Default rules for field selection
          • Merge Field Rules section
      • Data Quality
  • Delpha Campaigns
    • Create a Delpha Campaign
    • Configure a Delpha Campaign
      • Select the Campaign Type
        • Lead Generation
        • Job Tracking
        • Account Generation
      • Review and update the Settings
      • Add Campaign Members
  • HOW TO - FAQ
    • Quick Start Guide
    • Delpha Integration
      • How to add Delpha components in my standard layout
      • How can I add Delpha fields in my standard layout
      • How to manage conversation priority
      • How to manage the conversation auto opening
    • Delpha Job Tracking
      • How to display the Job History
      • How does job tracking works
    • Delpha LinkedIn Connector
      • How can I connect my LinkedIn Account to Delpha
      • I am not allowed to install Delpha Connector on my browser
      • How many records can be enriched with LinkedIn in a day per user?
      • How can I check if a LinkedIn cookie is properly set or valid
      • How is used my LinkedIn Cookie
      • How can I automate my lead generation
    • Delpha Duplicate
      • What is a Filtering Rule and how to use it
      • What is the Expression and how to use it
      • How to exclude records from the analysis
      • How to make Duplicate Records exclusion dynamic
      • How to Fix Duplicates in Salesforce with Delpha – Automatic, Bulk & Manual Options
      • How to modify the detection threshold
      • How to modify the auto process threshold
      • What algorithms are used by Delpha
      • How does the Duplicate scoring work
      • How to define a Golden Record for Duplicate
      • How do you differentiate Do Not Compare & Is Golden Record
      • How to sync Salesforce & Hubspot to deduplicate records
      • Duplicate detection - When does it happen?
      • How to set the frequency of the Auto Merge
      • How to create a Master selection custom rule
      • How to create a Master selection custom rule - Advanced
      • What are the duplicate status?
      • How to Merge 2 leads with different currencies
      • What is a Duplicate credit?
      • Do I consume a credit when merging a pair?
      • What is field grouping?
      • How can I hide a field from the Delpha Bot conversation?
      • How can I keep both values of a field after the merge
      • Some duplicate are not detected, what can I do?
      • Can I ignore some field values when detecting duplicates?
      • What data is available for Duplicate?
      • How can I create custom reports on Duplicate
    • Delpha Data quality
      • What are the 6 data quality dimensions
      • How to exclude records from the analysis
      • How to fix my data quality
      • What is a Token?
      • Do I consume a token when applying a Delpha recommendation?
      • Data Quality for Contacts
        • What are Data Quality Dimensions for Email
        • What are the Data Quality fields for Email
  • Delpha Campaigns
    • How to add records to a campaign from reports?
  • TROUBLESHOOT
    • Grant access for Delpha Support
Powered by GitBook
On this page
  • Custom Master Record Rule in Delpha
  • How to Create a Custom Rule

Was this helpful?

Export as PDF
  1. Delpha Documentation
  2. Use Cases Setup
  3. Duplicate
  4. Duplicate Merge
  5. Merge Object Rules section

Custom rule for Master Record selection

Customize duplicate merges with Delpha’s Custom Master Record Rule. Use formula-based scoring to prioritize records and define fall back to creation date for tie-breaking.

Custom Master Record Rule in Delpha

If your merge logic needs to follow more advanced or business-specific rules, Delpha allows you to define a Custom Master Record Rule. This approach lets you assign a score to each record in a duplicate pair based on a custom formula and select the one with the highest score as the master.

How to Create a Custom Rule

  1. Define a Custom Scoring Field Create a formula field (e.g., DC_MasterScoring__c) to assign points based on your business rules.

  2. Example Use Case:

    • If Account Type = Customer → +10 points

    • If Account Type = Prospect → +5 points

    • If Account Type = Target → +1 point

    • Otherwise → 0 points

  3. Set the Custom Rule Expression Use: DC_MasterScoring__c Desc, CreatedDate

    This tells Delpha to:

    • First, select the record with the highest custom score

    • Then use the oldest created date as a fallback if scores are equal

  4. Use Case Logic Covered:

    • Customer > Prospect > Target > Oldest

This setup allows your master record selection process to reflect your business priorities precisely.

More examples about Custom Master selection rules

PreviousMaster Record SelectionNextDefault rules for field selection

Last updated 1 month ago

Was this helpful?

simple Master Record selection rule
advanced Master Record selection rule