Sample Code for getting a list of Possible duplicates | Community
Skip to main content
Level 2
January 10, 2022
Question

Sample Code for getting a list of Possible duplicates

hi

 

Anyone has a Marketo API to get a list of Possible duplicates and Merge them using Python?

-We do not have any CRM 

-Need a python code (Sample would be very helpful)

 

-Merging by rules ( Lead date, Ranking etc., will help)

 

thanks

-Sree

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

SanfordWhiteman
Level 10
January 11, 2022
Bear in mind there are no server-side rules. You download the matching leads and enforce rules on the client side before calling Merge with the winner and losers. And also be aware of the effect on other loser fields when you merge.
Translate
Employee
January 11, 2022

Hi @sg-3 

You can leverage some existing github libraries to achieve this

  1. GitHub - jepcastelein/marketo-rest-python: A Python Client for the Marketo REST API
  2. Marketo Merge Leads in Bulk using the API - The Workflow Pro

Hope this helps.

Floyd

Translate