Should I vibe code Salesforce?
A build-versus-buy framework for deciding whether to replace a CRM with code an AI agent wrote.
- Published
- Type
- Deep Dive
- Reading time
- 6 min
Should you vibe code Salesforce? A focused tool, maybe. A full replacement, rarely, and not without a named owner. The first question is why you want to replace it.
This has come up at work more than once, usually right after someone sees how fast a coding agent can produce a working app: "If we can build a CRM screen in an afternoon, why are we paying for Salesforce?" A prototype can answer whether you can build it. Only the organization can answer which responsibilities it wants to take on.
By vibe coding, I mean letting an AI agent write the code and accepting it without reading it closely. In the post that coined the term, Andrej Karpathy said it was "not too bad for throwaway weekend projects." Vibe coding is a great way to test an idea and a risky way to build the system that holds your customer records.
A mentor shared Tugce Erten's How AI Applications Earn Their Premium from a16z. As I read it, the piece is about what makes software worth paying for when customers can build more on their own. It made me ask the reverse: what does a company take on when it decides not to pay?
Why do you want to replace it?
Dissatisfaction with a CRM usually falls into one of five buckets, and each needs a different fix:
- Cost. You pay for far more than you use.
- Missing functionality. Part of the workflow lives in spreadsheets.
- Poor experience. The system works, but people avoid it.
- Poor implementation. Years of extra fields and rules have made the setup a tangle.
- Strategic mismatch. Your sales process differs enough that the product forces workarounds.
Only the first is about money, and a new system built to cut cost can still inherit a messy implementation. Before replacing anything, I'd want to know whether the problem is the product, your setup, or a business process nobody has settled.
Then ask: if Salesforce became free tomorrow, would you still want to replace it? If you'd still replace it, judge the proposal on fit, control, or usability. If you'd keep Salesforce, the case is mainly financial and has to survive a full cost comparison.
What are you replacing?
"Replace Salesforce" can mean three different projects:
| Project | The real question |
|---|---|
| Build a focused tool | Can you solve one unmet need yourself? |
| Build a new interface or workflow on top of the existing CRM | Can you change how people work without replacing the system underneath? |
| Replace the CRM | Can you migrate and run the customer-record system the business depends on, for years? |
The first two are often reasonable, and AI coding tools have made them much cheaper to try. The third is a different kind of commitment. A quick prototype is not evidence that replacing the CRM is easy.
Agree on what "it" includes before estimating speed. That means integrations and their owners, data sync, sign-in, role-based visibility, and any regulatory rules on customer data. You don't need parity with everything Salesforce sells. You do need a written list of what the business actually relies on. In my experience, most teams use only a fraction of what they pay for, so that list may be short.
If it's about savings
Canceling the subscription doesn't cancel the work. A cost-driven proposal should answer these questions:
- Who investigates when an integration stops updating records?
- Who checks whether users can see information they shouldn't?
- Who patches dependencies and ships security fixes?
- Who restores data after an accidental deletion?
- Who decides which feature requests get built and which get turned down?
Compare both operating models over the same planning period. Treat the table as a worksheet, because either column can come out ahead.
| Cost area | Keep Salesforce (or switch vendors) | Build in-house |
|---|---|---|
| Software | Licenses and paid add-ons | Initial development and engineering review |
| Setup | Implementation and administration | Migration, validation, and rollout |
| Integrations | Configuration and add-on connectors | Hosting, dependencies, and integrations with other systems |
| People | Training and ongoing oversight | Support, security, maintenance, and upgrades |
| Over time | Renewal price increases, and the cost of leaving later, including data export | Rework as the business changes and requests pile up |
| Hidden costs | Workarounds and product limits | Opportunity cost and operational risk |
Buying doesn't erase responsibility either. Salesforce describes security as shared: it secures the platform, and customers remain responsible for their own data, access, and settings. Either way, you choose which responsibilities to carry.
Who owns it after launch?
Developers should answer for engineering quality. A company that replaces a business-critical system must also commit staffing and budget. Otherwise developers absorb the consequences of someone else's cost-saving decision. If leadership approves the savings, it also approves the ongoing ownership. Before anyone writes code, put these in writing:
- A named business owner and a named technical owner.
- Reserved maintenance and support capacity, not time borrowed from other projects.
- A plan for when the original builder leaves.
- Acceptable downtime and data loss, stated as numbers (for example, no more than four business hours offline).
- Who absorbs the cost when an outage stalls the sales team.
- The other engineering work that will get less attention.
Vibe coding makes this harder. An agent can produce thousands of lines that pass the demo, and if review is skipped, nobody has read them closely. Six months later, when a sync job starts dropping records, someone must understand that code well enough to change it safely. The usual worry is what happens when the original developer leaves. Here, the original developer may never have fully understood it. If you build this way, budget time to review, test, and document the code before it holds customer records.
When building is the right call
Being able to build something is not a reason to build it. Owning a CRM makes sense when you can name the gain: a workflow that materially changes how the business runs, a deliberately small product without complexity you never used, control over changes that matter to you, or a cost advantage that holds after ownership costs.
A strong case might be a small team using Salesforce for one thing: moving a few hundred accounts through a business-specific approval process. They skip forecasting and marketing, the data carries no special regulatory burden, and every process change needs an admin ticket. With a named owner and protected maintenance time, a custom tool could fit better. It saves money only if they can drop Salesforce entirely. If they can, lean toward building. If not, they've built a better tool and kept the bill.
Then ask the uncomfortable question: what should your developers stop building so they can own the CRM? If the proposal has a good answer, test it in steps:
- Pick one workflow with a clear owner.
- Define its required behavior, permissions, and integrations.
- Test it against representative cases, exceptions included.
- Measure user effort and support load, not only development time.
- Test data export and recovery.
- Agree on a rollback plan before moving anything business-critical.
- Expand only when the evidence supports it.
A vibe-coded prototype shows whether the workflow works. This evaluation shows whether you can support it at acceptable cost and risk.
The proposal to ask for
I'm not against building a CRM in-house. But a good proposal covers more than the application. It says what you can leave out and what owning it gains you. It also says who supports it, what happens when it fails, and what work you'll give up to maintain it. You can vibe code the prototype. You can't vibe code the ownership.