Merging Data Sources

Use SaaSGrid to merge data across your integrations.

To merge multiple data sources, navigate to Workspace Data.

Screenshot 2025-02-04 at 2.33.40 PM

Select Configure in the top right corner and click the Customer Merging tab.

Screenshot 2025-02-04 at 2.34.00 PM

The Customer Merging view shows all merged and unmerged customers. The Merged Customers table details all customers that have been merged across data sources. The Unmerged Customers tables below can be used to compare customers by data source and merge customers together.

Screenshot 2025-02-04 at 2.34.48 PM

Merged Customers

The Merged Customers table shows the original data source, ID, name, current ARR, initial ARR, and merge type for each customer. Click Columns to edit the visible columns.

The Merged Customers table can be filtered and sorted by different criteria. Select the column heading to change the sort order of the table.

Filter views on the merged customer table:

# of Customers: filter based on the number of customer records that have been merged

Data Source: View records for a particular data source

Merge Type: View the merge type of each customer record. Possible merge types are:

  • Automatic: customer records that SaaSGrid has automatically merged together via merge rules (skip below to Automatic Merging to learn more)
  • Manual: customer records that have been manually merged together by a user
  • Not Merged: customer records that are not currently merged

Unmerged Customers and Manual Merging

The Unmerged Customers Tables show the list of customers that are unmerged in each data source. Select the data source dropdown to change the data source of each table and search for customers in the search bar.

Screenshot 2025-02-04 at 2.23.50 PM

To manually merge customers, select at least two customers. Once all customers are selected, click Merge Selected Customers to manually merge the customers.Screenshot 2025-02-04 at 2.36.01 PM

After manually merging the customers, a single new customer record will appear on the Merged Customers table above. Note that this customer will have a Merge Status of "Manual", as all customers that are merged via the merge tool will be marked as manually merged.  Clicking on the dropdown arrow will expand the record and show the original data sources.

Screenshot 2025-02-04 at 2.41.39 PM

To unmerge this customer, click Split in the far right column to split the customer record. Each customer record will return to the respective data source.

Automatic Merging and Merge Rules

SaaSGrid also supports rule-based automatic merging for customer records. Click Set Merge Rules at the top right of the screen to set up merge rules. In the right window, click + New Step in the top right corner.

Screenshot 2025-02-04 at 2.47.24 PM

After clicking + New Step, select the record relationship for each data source:

  • One: This data source is used to create the primary list of records that other customer records will be linked to. Customer records can be matched one-to-one or one-to-many with other data sources.
  • Many: This data source potentially contains multiple customer records that will be associated with the corresponding customer record in the primary data source.

One-to-one record relationships should be configured if exactly one record for each customer is expected in each data sources. One-to-many record relationships should be configured if multiple records are expected, with the primary data source being One, and the data source with multiple records being Many.

Note that some combinations will not be possible (i.e. many-to-many relationships are not supported).

Click Submit to save the record relationship for this rule.

Screenshot 2025-02-04 at 4.30.31 PM

After the record relationship is created, specify the merge rule data. In the dropdown next to each data source, select the metadata field that will be used to match customers (e.g. Customer ID, Customer Name, Stripe ID, Hubspot ID, etc.). 

Other optional settings for the merge step include:

Fuzzy Matching: If enabled, SaaSGrid can intelligently match to correct for typos, extra or missing words, or partial matches. If disabled, SaaSGrid will look for an exact match.

Email Matching: If enabled, SaaSGrid will merge email fields based on the email domain in the selected attribute. Note that for this to perform correctly, the attribute selected for each data source in the dropdown must be the email field in both data sources. SaaSGrid will also detect domain names in selected metadata fields, but will only look for an exact match.

Disable: If selected, this rule will be excluded from execution when Save & Run is clicked. This can be used to run a particular rule a single time and exclude it from further executions.

Save and Run: Executes all enabled steps (excluding all disabled steps).

To delete the merge rule, click the trash bin. Note that deleting a merge rule will undo the customer matches made by that rule.

Screenshot 2025-02-04 at 4.45.09 PMSaaSGrid supports multiple rules being used if there are multiple merge conditions, criteria, or steps that should be attempted. Merge rules are applied continuously to customer records in SaaSGrid - as more records are added to data sources, merge rules will automatically run. 

Multiple ordered merge rules can be used to try different merge criteria (e.g. merging customers based on customer ID number, and then based on customer name if customer ID fails). Additionally, you can run rules once to merge records in SaaSGrid, and then disable that rule for future flows if further data will be merged on different criteria (e.g. merging customers based on customer ID once, but on customer name afterwards).

For example, consider the merge rules listed below and the description of each step.

Step 1: 

Rule Step Setting Behavior
1st Step Since this is Step 1, this rule will be executed first.
Salesforce is selected as "One" and the file is selected as "Many". SaaSGrid is using Salesforce customer records as the primary data field, and anticipates multiple customer records in the file.
Customer Name is selected for both data sources.

SaaSGrid will look for matches based on the Customer Name attribute for both the file and the Salesforce integration.

Fuzzy matching is enabled.

SaaSGrid will intelligently match customer names, ignoring typos, partial matches, or other small text differences.

Step 2:

Rule Step Setting Behavior
2nd Step Since this is Step 2, this rule will be executed second, after the merging based on customer name has already happened. This rule will only apply to customers that remain unmerged after Step 1 is executed.
Salesforce is selected as "One" and the file is selected as "Many". SaaSGrid is using Salesforce customer records as the primary data field, and anticipates multiple customer records in the file.
File ID is selected for the sheet, and id is selected for Salesforce.

SaaSGrid will match the File ID field from the file to the id field in Salesforce. This will only apply to customers that remain unmerged after Step 1.

Fuzzy matching is enabled.

SaaSGrid will intelligently match Customer Name from the file with the id from Salesforce, ignoring typos, partial matches, or other small text differences.

Note that SaaSGrid will never merge already merged customers with other already merged customers. If customers have been merged across data sources, SaaSGrid will not take those merged customer and merge them again on any criteria.

Screenshot 2025-02-05 at 4.07.42 PM

To run the rules, click Save & Run to execute the list of rules. 

After running, SaaSGrid will update the Merged Customers table with a view of the merged customers from the data sources. Note that the merged customers are labeled as Automatic in the Merge Type, and that customer names have been intelligently matched per the merge rules.

Clicking on the dropdown record shows each customer record within the merged customer. Similar to the manually merged customer record, an automatically merged customer record can be split by selecting Split in the rightmost column.

Screenshot 2025-02-04 at 10.15.29 PM