Re: Duplicate records

Anonymous
Not applicable
Hi,
In Marketo I am getting duplicate records and it is not updating with the existing ones.
Do any one experience this? Please provide sugeestion on How could I solve this?
Tags (1)
4 REPLIES 4
Harish_Gupta6
Level 8
Marketo Rest API has four action attributes:
  • createOnly
  • updateOnly
  • createOrUpdate(default request)
  • createDuplicate

Which one you are using? Also if you creating lead using Munchkin API then also Marketo will not create new lead if email address and domain is same. Check the sample code below.

<head>
  <title>Page 1</title>
    <script src="http://munchkin.marketo.net/munchkin.js" type="text/javascript"></script>
    <script>Munchkin.init('########');</script>
<script type="text/javascript">
       function MarketoUpdate() {
         alert("inside fun");
         
       Munchkin.munchkinFunction('associateLead',{
         Email: 'hg@yahoo.com',
         FirstName: 'Gupta',
         LastName: 'Harish' },
        'f5ed2b4d167306155ee4aaa3f606bbef5691a3cc');
        alert("ret fun");
  }
  function clickLink2(){
  alert("in click");
  Munchkin.munchkinFunction('clickLink', {
    href: '/MyFlashMovie/Story1'}
        );
  }
</script></head>
 <body>
  <form name="form1" onsubmit="MarketoUpdate()">
  <input type="submit" value="Submit"/>
  </form>
  <a href="page2.html" onclick="clickLink2();">Link to page 2</a>

   </body>
</html>

Harish Gupta
Anonymous
Not applicable
HI Pradeep & Harish,
The duplicate records were creating when we push leads via API with different attributes to the same email address, importing lead list to marketo.
The only way is to merge leads manually ah?
I would prefer if the duplicates merge automatically by updating the attributes. Could any solutions be provided?
Harish_Gupta6
Level 8
See if this helps. https://community.marketo.com/MarketoArticle?id=kA050000000Kyu3CAC

Also as Pradeep mentioned, investigate how the duplicate records are created

Thanks
Harish
Harish Gupta
Anonymous
Not applicable
How do you decided that the records are duplicate? Through same email ? 
If yes, Firstly investigate how the duplicate records are created. 

 Most of the cases those records are from bots.