Purposeful duplicates via form submissions
Hey Marketo Community,
We have several Marketo Forms in use to create new Marketo Leads. When an existing Marketo Lead submits through these Forms, there are fields that cannot be synced correctly back to SFDC as they are already converted and these fields only exist on the Lead Object, not the Contact Object.
We want to intentionally create duplicate Marketo Leads when this occurs so they can in turn create new SFDC Leads and sync all relevant information to SFDC for our Salespeople.
One workaround we're attempting is to replace the standard email address field on these forms with a duplicate email field. Upon form submission, we could clone the field value from the duplicate email field to the standard email address field.
Does anyone have any suggestions as to how we can facilitate this? It seems like a webhook could support this trigger based request. When defining the:
- webhook template with: {{lead.Form Email Duplicate}},
- response attribute as result,
- Marketo field as email,
the response generated is: "{"errorMessage":"ERR: Compile error (strict mode): SyntaxError: Unexpected token ILLEGAL"}".
