Creating a Custom Condition to Bypass Duplicate Error Message in Salesforce

  • 13 July 2022
  • 1 reply
  • 2722 views

Userlevel 1

Hey everyone! Shane here from Zapier Support. If turning off the Alerts isn't practical when you receive a duplicate error for your Salesforce setup, you can set up a custom condition to bypass the duplication rule.

First, ask your Salesforce Administrator to create a custom field on the object(s) that you would need to send to Salesforce. We suggest calling this field Zapier Submission as a Boolean type.

  1. From Salesforce Setup, use the Quick Find box to find Duplicate Rules.

  2. Click on the rule name for the object you'd like to edit (for example, Standard Lead Duplicate Rule).

  3. Click Edit.

  4. Under Conditions, select the newly created field and set up the operator to not equal to a value of “True”.

  5. Repeat for both the lead and contact object.

QzCQxNYSWiRzkr70nzWVfhxIdMBi6EzENevKJ11RG-GbDxFdvKwyLm77rISQeduv9zzwTrIl8ueDnA3zd3z7HU2Eb3acY6PyWnmpby1oLCt899xHZjHjSXVWX6yc37kb7gpFN7KfLOYKYd4F7Q

(view larger)

Set the value for the “Zapier Submission” field in your Zap to “True.” 

3RgYP_kp1vyqvyPgyCQz47w6FqOvNJlON8Pq7fK9zMcMxxh_2B_CYakH4H2RY2kE_BFpOp7mIgYm8fsiI4Y7ThfsivTbc3pRg0gy1tBSThbJF4jS0k8Lk3q6Btb4goaruD1aaTtambsBjty9WQ

(view larger)

Any lead or contact sent to Salesforce will now be excluded from the duplication rule and allow you to keep the alert turned on.


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 4
Badge +1

Oh lovely, what a great workaround @ShaneT! —thanks for sharing this!