Skip to main content

I want to create a lead from my ninja form field even if the email is duplicate. Problem is it is providing an error for being duplicate. How can I bypass this?

Hi @Aussie_steve 

Good question.

Generally there is a Salesforce setting that needs to be adjusted to allow for duplicates.

 

Error: “DUPLICATE_VALUE”

If you see this error, there may be a "Duplicate Rule" in place on your Salesforce account preventing Zapier from creating the record. Here is an example of a "Duplicate Rule" for Account objects:

Salesforce Standard Account Duplicate Rule

If the Actions are set to 'Alert', the rule will block these "fuzzy duplicates" from getting created and throw the "DUPLICATE_VALUE" error).

Unchecking the 'Alert' box will allow the "duplicate" to be created.

Salesforce's help docs cover more details on duplicate rules for standard objects and how to customize a duplicate rule.