The Most Dangerous Salesforce Automation I've Ever Built

7 min

I built a Salesforce automation that deletes prospects who don't buy. They had their chance.

About this video

I'm Bobby Moroboco, Head of Sales and Salesforce Admin for Moroboco Systems. We sell one very limited asset — the 2027 Strategic Digital Transformation Readiness Benchmark Report — and Salesforce treats competing deals as separate opportunities. So I fixed it.

In this video I build the full solution: a custom Sellable Asset object, a lookup from Opportunity, a bulk-safe Apex before-trigger with addError to prevent double-selling, an after-trigger to mark losers Closed Lost, and a record-triggered Flow called "Dead To Us" that deletes the losing Accounts (with cascade delete for contacts, activities, and opportunities).

Completely unrelated benefit: we now have a 100% win rate in Salesforce.

This is satire + real Salesforce education covering custom objects, lookup relationships, Apex triggers, Flows, loops, order of execution, and cascade deletion. Do not deploy the deletion part in production, unless you play on hard mode.

All Minibocos
All Lessons

Miniboco

Watch on YouTube (opens in a new tab)