Alert on Salesforce case duplicates via API
API toolRecipe ToolsProductivitySales Enablement
What it does
When someone sends an HTTP webhook request with case data, this automation checks for duplicate Salesforce cases. If duplicates are found, it sends an email alert and stops the job without retrying on error.
Who it's for
Sales operations teams who need to catch duplicate cases in Salesforce as they are created.
How teams use this
Catch duplicate cases on intake
When a case is submitted via HTTP webhook, the automation finds duplicates and alerts the team by email. The team can then merge or close the duplicate before it creates extra work.
Route alerts to a triage channel
Instead of sending email, post the duplicate alert to a Slack channel so the team sees it in real time. The duplicate check stays the same and only the notification method changes.
Add a severity filter to alerts
Set a condition to check the case priority or value before sending an alert, so only high-priority duplicates trigger a notification. This reduces noise while keeping critical duplicates visible.
How it works
- Receive the webhook request. A real-time HTTP webhook request arrives with case data from Salesforce or another system.
- Check for duplicate cases. Call the SFDC-Case-Duplicate function to search Salesforce and identify whether a matching case already exists in the system.
- Send alert email. Send an email from Outlook Mail to notify the team that a duplicate case was detected so they can investigate and resolve it.