How Inherited Agents Break Governance Built for Software
Emily Davis ·
Listen to this article~4 min
Inherited agents in Salesforce Agentforce can break governance built for software. Learn how chaining Flows and Email-to-Case creates hidden risks and how to fix them.
Salesforce Agentforce makes it easy to build agents that respond to events. The recommended way is a Flow: a record is created or a case is updated, and the Flow passes data into the agent's prompt. Separately, Email-to-Case and Web-to-Case turn inbound customer messages into case records. It's how airlines and hotels run support intake. Both are standard, documented, as-designed features. Chained together, they create a powerful automation pipeline.
But here's the catch: when you chain these features, you're essentially inheriting agents that were built for software, not for governance. And that can break the very governance structures you've put in place.
### What Are Inherited Agents?
Inherited agents are automated processes that were designed for one purpose but end up handling another. In the context of Salesforce, an agent built to respond to a case update might suddenly find itself handling customer emails directly. It's like hiring a receptionist to answer phones and then asking them to negotiate contracts. The skills don't match the task.
This happens because Flows and Email-to-Case are often connected without a clear governance framework. The left hand doesn't know what the right hand is doing. And in regulated industries, that's a recipe for trouble.
### Why Governance Built for Software Fails
Governance for software typically focuses on code reviews, version control, and deployment pipelines. But agents aren't just code—they're decision-makers. They interact with customers, make judgment calls, and sometimes go off-script.
When you inherit an agent that was built for software, you're inheriting its assumptions. Those assumptions might include:
- **Unlimited access to data**: The agent might pull from any record it can reach, ignoring data silos.
- **No audit trail**: Actions taken by the agent might not be logged in a way that satisfies compliance.
- **Implicit trust**: The agent might assume all inputs are valid, leading to errors or security risks.
> "The biggest risk isn't that the agent fails—it's that it succeeds in ways you didn't anticipate and can't control."
### The Boardroom Impact
This isn't just a technical problem. It's a boardroom issue. Executives care about risk, compliance, and brand reputation. An inherited agent that breaks governance can lead to data breaches, regulatory fines, or customer trust erosion.
Consider this: a hotel chain uses Email-to-Case to handle booking inquiries. An agent built to respond to case updates is chained in to provide personalized recommendations. But the agent wasn't designed to handle payment information. It inadvertently exposes credit card details in an email response. The result? A PR nightmare and a potential lawsuit.
### How to Fix It
The solution isn't to avoid chaining features. It's to build governance that accounts for inherited agents. Here's how:
- **Map the inheritance chain**: Know every agent in the pipeline and what it was originally designed to do.
- **Implement guardrails**: Use Salesforce's built-in security features to limit data access and enforce audit trails.
- **Test for unexpected scenarios**: Run simulations that include edge cases and malicious inputs.
- **Assign ownership**: Make sure someone is responsible for each agent's behavior.
### Final Thoughts
Inherited agents are a hidden risk in many Salesforce implementations. They break governance built for software because they operate under different assumptions. By understanding the problem and taking proactive steps, you can harness the power of Agentforce without sacrificing control. After all, the goal is to automate wisely, not just automate.