Skip to end of banner
Go to start of banner

WIP: Use Case: Deduplication of Records

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 22 Next »

In this article

Using Marketo Snap Pack to Deduplicate Records by Email ID

Deduplication is a process that eliminates duplicate records and increases process efficiency.
The deduplication tool costs $28k-$33k per year, which you can avoid using the Marketo Snap Pack.
This use case demonstrates how to deduplicate records using the Marketo Snaps.

Problem

In an enterprise ecosystem, there can be enormous data comprising millions of records, of which several can be duplicate records; for instance, 50k duplicates out of 600k records. This can lead to ambiguity concerning the records that require action. Duplicate records cause the following issues:

  • Skewed results during marketing campaigns and reduced accuracy as a single email ID fetches multiple records.

  • Unnecessary payment for duplicates due to Marketo’s database pricing per record.

  • Cleanliness is affected.

  • Cost overhead to avoid duplication using a tool.

Solution

Using the Marketo Snap Pack, you can automate the deduplication of records by merging the lead source data with the same email ID. The example pipelines below demonstrate how this can be done. The deduplication of the records can be done using a Smart List, Static List, and createdAt and updatedAt filters.

Method

Pipeline

Smart list

Download this pipeline.

Static list

Download this pipeline.

Fetching records using createdAt and updatedAt fields.

Download this pipeline.

Download this pipeline.

Download this pipeline.

Understanding the Solution

A. Deduplication with a Smart List

Deduplication of records using the Smart List is a straightforward approach, where you create the Smart List in the Marketo account. Next, you must configure the Smart List filter to fetch all the required records and provide the Smart List name/ID in the pipelines.

Step 1: Create a Smart List in the Marketo account. Navigate to the Database section and right-click on any folders and click New Smart List.

Step 2: Configure the required details and click CREATE.

Step 3: Navigate to the Filters on the right pane to set up a filter.

A Smart List is created with the records, including duplicates.

Step 4: Configure the Mapper Snap with the Smart List option as follows.

Step 5: Configure the name of the Smart List in the pipeline parameters.

Step 6: Make use of the Marketo Bulk Extract Snap with the Leads entity to fetch the records.

Step 7: Execute the pipeline. On executing:

  • The pipeline identifies the records with the Person Source field data as parent records and the duplicate records without the Person Source data as child records. The child records are then merged into the parent records.

  • If none of the records contain Person Source data, then the merge can occur either way.

  • If the Person Source data is present in all the records, then the one with the latest data is merged into the older record.

B.Deduplication using a Static list

The Static List option is useful when you have a list of records from an external application such as Salesforce and want to import it to Marketo.

Step 1: Create a new list in your Marketo account.

Step 2: Import the existing records into the newly created list.

You can see that there are duplicates with the same email Id in the imported list.

Step 3: Configure the Mapper Snap in the deduplication pipeline with the static list name.

Step 4: Configure the pipeline parameters with the static list name.

Step 5: Make use of the Marketo Bulk Extract Snap with the Leads entity to fetch the records.

Step 5: Execute the pipeline. On executing:

  • The pipeline identifies the records with the Person Source data as parent records and the duplicate records without the Person Source data as child records. The child records are then merged into the parent records.

  • If none of the records has Person Source data, then the merge can occur either way.

  • If the Person Source data is present in all the records, then the one with the latest data is merged into the older record.

The records in the Static List are deduplicated as follows.

C. Fetching records using createdAt and updatedAt fields.

This method involves building the following three pipelines:

Main pipeline

The main or first pipeline takes the start date and the end date of the period for which the deduplication must be done. The first pipeline executes the child pipeline (2nd pipeline) to segregate the number of days into batches of 31 days (Marketo has a limitation to fetch records for 31 days using Bulk Extract Snap).

Configure the start date and end date for which the deduplication of records has to be done. Provide the start date and the end date in the pipeline parameters.

Second Pipeline

The second pipeline executes another child pipeline (3rd pipeline) that fetches the records for the specified date range. This pipeline identifies the duplicate records by email ID and merges the Person Source field data to form a unique record for an email Id.

  • If the duplicate records do not contain the Person Source data, the records are merged seamlessly.

  • If the first record has Person Source data and the duplicate records do not, the latter is merged into the first.

  • If all the duplicates have the Person Source data, the latest records are merged into the older record.

Third Pipeline

The third pipeline bulk extracts the data for the specified period for the Leads entity.

The second pipeline matches the email Id and identifies all the duplicates.

  • The pipeline identifies the records with the Person Source data as Master Records and the duplicate records without the Person Source data as Slave Records. The Slave Records are then merged into the Master Records.

  • If none of the records has Person Source data, then the merge can occur either way.

  • If the Person Source data is present in all the records, then the one with the latest data is merged into the older record.

Downloads

  File Modified
No files shared here yet.

  • No labels