This content has been marked as final. Show 8 replies
You can use the REST Associate Lead method for this as well: http://developers.marketo.com/documentation/rest/associate-lead/
You need to use email or lead id to create/update lead, but you can cookie to get data about leads:
Thanks! Both answers were helpful.
It sounds like you cannot pass the cookie at the time the lead is created/updated and the we need two separate REST calls. I was hoping to avoid two calls, but this will meet our needs.
Not sure if you considered this, but we do a repost to Marketo to capture leads--essentially we have an ASP form that captures the submissions, applies some logic and then reposts it to Marketo. That way we still get the 'completed form' trigger. Thought I'd mention it.
Thanks Mark. I am not familiar with the completed form trigger, but I'll take a look.
From my limited understanding, if we post to Marketo, the system will de-dupe on email address. That will not work for us as we have a custom unique identifier and we allow more than one lead with the same email.
@Jim While I understand the need for enforcing uniqueness in different ways, bear in mind that coupling site requests to a tightly-governed resource like the REST API (you only get 10,000 API calls per day) is a dangerous practice from a security standpoint. You've basically added in a DDoS vulnerability: only 10,000 fake requests and your site is rendered inoperable for the rest of the day. When using the API it's better to bulkify calls and run them asynchronously, so you get more control.
Thanks for the insight Sanford. I had not considered that.
Following up on comments from Sanford and Mark, I started researching Forms and Triggers.
The following article seems to incidate that we can use forms and look for duplicates based on other fields (like name or some other custom field).
Am I reading this correctly?
Can we use forms to create more than one lead with the same email address and de-duplicate based on some other field?