cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Handling Duplicate Rule Error in Workato for Salesforce

fernandesdagny7
Deputy Chef I
Deputy Chef I

 

We have a recipe built in Workato that creates new accounts in Salesforce using a Salesforce action. However, we have encountered an error related to "Duplicate Detected", which is due to the duplicate rules set in Salesforce.

Typically, when passing data via API, Salesforce provides an option to bypass this error by adding the following header:

"DuplicateRuleHeader": { "allowSave": true, "includeRecordDetails": "false", "runAsCurrentUser": "false" }

However, I am unsure how this can be configured within Workato. Would you have any recommendations on how to set this up?

Any guidance would be greatly appreciated.

1 REPLY 1

Prudvi
Executive Chef I
Executive Chef I

Hi @fernandesdagny7,
Can you try connecting to SF using HTTP connector, so that you can pass it in the Request Headers.
Regards,
Prudvi