Updating Duplicates via Form submit
Hello All,
So we've this business use case where we want to update the subscription preferences and other fields of duplicate leads when they submit a Marketo form on a Marketo landing page. However, from what I know is that the Marketo form submission will ONLY update that duplicate lead who've had a latest update on its data. And that Marketo will update the "Unsubscribe" field of all the duplicate leads with same email address.
What we want is:
Lead ID : 1111, Email: abc@gmail.com
Lead ID : 2222, Email: abc@gmail.com
Lead ID : 3333, Email: abc@gmail.com
When Lead ID = 1111 lands on the Marketo landing page with a Marketo form, it should be able to update its preferences against its lead object in the database, and so should Lead ID = 2222, and lead ID = 3333. All these duplicate leads with their distinct lead IDs should be updated individually and not just one latest updated lead (as how Marketo does).
Our business justification here is that these leads are members of one family who use a shared email address and we want to allow them to update their own preferences to a membership subscription against their leads in the database.
While we can send emails to individual duplicate leads through segmentations and adding custom filters in our smart campaigns, but when the lead lands on the marketo landing page, how can we make sure that one particular duplicate lead with the particular Lead ID who gets the email will get updated with its data after the form submit, and other duplicates are not updated?
What should be the right way to solve this problem?
I'm thinking if we can pass the Lead ID in the email link to the landing page and through REST API fetch the lead data with the help of Lead ID in the URL and prefill the form fields and accordingly also submit the form (UPSERT) via REST and update the particular lead with the data submitted. However, I've read this approach is not right as there could be security issues (DoS vulnerability - please correct on this). But we also don't want Marketo to only update one duplicate lead and ALL duplicates in case of unsubscribe update.