I created a custom object called dealers, I linked the lead record(s) to my custom dealer object by a link field called dealercode, in which both objects share the same name as required. I imported my 100 dealers by the REST API into my new custom dealers object. To my surprise, only 100 leads could see dealer information. It seems, you cannot share the same dealer object or record with other lead records. Marketo seems to pick only the last lead with the same dealercode when creating object records. The other lead records that have the same dealercode are ignored. Looks like each lead record has to have its own dealer object or record.
Unless I'm doing something wrong, Marketo only support an one-to-one relationship. So why is this a big deal? Lets say I have 100 dealers and 50,000 leads, I would have to create 50,000 new dealer records, instead of 100. If I update the dealer information, I have to update 50,000 records instead of 100. If I update 1 dealer, I have to go find all the records for the same dealercode and update those records - could be thousands.
This is a common database scenario, I'm hoping I doing something wrong in my setup and Marketo isn't this limited or custom object support isn't done.
Thanks for any help or feedback.
Solved! Go to Solution.
This is moving into beta soon. If you're interested in joining, you should talk to your consultant or CAM.
Did you check developers.marketo.com for details? I believe it does handle 1-many.
Custom objects are detail objects, in a master-detail relationship, where the lead or the company is the master. There is no cross table that could enable you to have a many-many relationship.
There is not the same flexibility as in salesforce for instance.
Hi again JT,
It's a 1-to-many relationship, so when you import dealers, each of them can be linked to 1 and only 1 lead, while every lead could have multiple dealers.
So indeed, if many leads have the same dealer and you want to update that dealer, you will have to update it many times.
The good news is that the the custom object rest API provides you with MarketoGUID for each dealer you have inserted and you can use this for further update. You will have to keep somewhere externally to Marketo the list of dealer rows that need to be updated.
Now if you use a CRM (salesforce), you could have a more complex model using Salesforce custom objects.
So what you're saying is there isn't a good way to do it in Marketo? We would need another tool or Salesforce?
Unfortunately, yes, at least at this stage of the feature.
The interest to do it in salesforce is that mapping between the 2 will be quite easy.
Are you already using the account/company object in Marketo? If you don't have a native CRM integration, you can use that object for the N:1 case (leads:accounts) like you are describing. That does kind of assume that it's just one dealer per lead, which isn't totally clear from your post and may not be the case.
The good news is that to my knowledge we do have plans to support this type of use case in the near future. You may want to talk to your CAM about getting into a beta program for this functionality if you need this before its formal release.
N:N support for custom objects is planned but is not available at this time.
Do you have a time table for the N:N? Are we talking a few months or year or more? Is there a beta available?