Salesforce's Agentforce agent routes its legal requests
Salesforce's legal department paired IT agent builders with lawyers to build an Agentforce agent that triages internal legal requests and routes each one to the group that should handle it.
SalesforceUnited States (Salesforce Legal and Corporate Affairs, a global team)Enterprise softwareIn production
- Scale
- hundreds of thousands of requests per year
- Scenario
- Legal request triage and routing
- Business function
- Legal and compliance
- Kind of solution
- Agentic process automation
- Who built it
- Built in-house (Litify)
- Human oversight
- Acts under watch
- Organization
- Enterprise
- AI types
- Generative AI, Agentic AI
tl;drCases routed right the first time rose from 12% to 34%, saving over $350,000 in a year.See the results
Salesforce’s Legal and Corporate Affairs team uses an agent built on Agentforce to triage incoming legal requests and route each one to the group that should handle it2, 1.
A rapid innovation squad of IT agent builders and legal stakeholders built the agent, which now writes up and routes the routine requests that lawyers used to sort themselves1, 2. The work is part of Salesforce’s practice of running its own products internally as “Customer Zero”3.
In September 2026, the share of legal cases resolved and routed to the right group the first time had risen from 12% to 34%, saving over $350,000 in a year1. Salesforce estimates that the agent will free up 12,000 hours of human time for more challenging legal work2.
Before the deployment
Salesforce Legal and Corporate Affairs is a global team that manages hundreds of thousands of requests per year3. Before the agent, the requests moved through a funnel in which lawyers read each nuanced request, worked out who should handle it, and routed it on2.
- Expert time: The routing took lawyers’ time, which came with a high price tag2.
- First-time routing: 12% of cases were resolved and routed to the right group the first time1.
- Commercial pressure: Chief legal officer Sabastian Niles expects Legal to drive commercial velocity by reducing friction for the go-to-market teams2.
Niles put the problem as a question of scale: “We get hundreds of thousands of requests each year. How do you triage that?”2. In his view, deciding who is best situated to handle each request isn’t the highest and best use of legal professionals2.
Across the company, Salesforce narrowed its internal agent program from hundreds of agents to a few that leaders believed could deliver specific benefits1.
What was built
The legal routing agent takes each incoming request, writes it up, and assigns it to a lawyer or group with the experience to get it done1, 2. Legal built it with Agentforce in five weeks, armed with legal insight so that it can do the routine part of the triage2.
- Routing agent: Does the writing and the routing of routine requests, so lawyers no longer decide who handles each one2.
- Matter management: Legal manages incoming work in Litify, which routes it to the appropriate teams and helps each person manage their workload4.
- Business teams: Give the agent continuous feedback and oversight, and keep improving it1.
- Agent manager: A permanent role in Legal that tests agent deployments and spots legal and reputational risk3.
Salesforce built the agent in a rapid innovation squad for the legal team1. Each squad pairs agentic builders from the IT team with business stakeholders, and the company now runs one for every business unit1. It set up the squads after finding that the agentic workflows with more business stakeholder support were the ones succeeding1.
“You have to be partnered with an opinionated stakeholder that’s willing to disrupt their organization, because it will be disruptive”
The routing agent sits beside other legal tools on the same platforms. Legal runs an Agentforce agent that gives first-tier legal support to all 70,000 internal users, and a Slackbot-powered product legal front door in Slack4, 3.
Technology and architecture
Agentforce is Salesforce’s platform for building AI agents. In this deployment, it runs the agent that writes up and routes routine legal requests2. Litify is legal matter management software built on Salesforce, so the legal department can use Agentforce on the same data4.
| Layer | What they used | Role | Source |
|---|---|---|---|
| Task agent | Agentforce | Runs the legal routing agent that writes up routine requests and routes them | 2 |
| Business or operational system | Litify | Legal matter management on Salesforce that routes incoming work and holds capacity data | 4 |
Data inputs
- Incoming requests: Each request to the legal department is the case the agent writes up and routes1, 2.
- Matter and capacity data: Matter status, resource allocation and financial data in Litify let AI agents measure capacity and allocate requests to the right person4.
Integrations
- Litify: Holds the incoming work and routes it to the appropriate teams4. Before Litify, the legal team already ran matter management and intake on Salesforce4.
The agent most likely records each routing decision in Litify, because that is where Legal manages its incoming work.
Testing and governance
Legal’s agent manager built its testing framework over 18 months of manual testing and risk-spotting3:
- Risk and impact scoring: Built with Legal’s subject matter experts, it sets which high-risk queries and high-impact processes are tested first3.
- Acceptance testing: Subject matter expert tiger teams validate agent accuracy before launch3.
- Regression testing: Automated tests monitor agent performance as models improve, content is updated and scope increases3.
- Guardrails: Legal standardized guardrails and disclaimers with cross-functional teams3.
- Review checkpoint: The AI Council Review Process triggers the testing framework whenever a use case is grounded in legal content3.
Niles describes the aim as agents that help with intake, triage, routing, and eventually assignment and execution, under strong human oversight5.
Results
| Metric | Before | After | Scope and timeframe | Reported by |
|---|---|---|---|---|
| Cases resolved and routed to the right group the first time | 12% | 34% | Salesforce legal case routing | Salesforce, via Fortune, measured1 |
| Savings from the agentic legal routing process | Not disclosed | over $350,000 | Salesforce legal case routing, one year | Salesforce, via Fortune, measured1 |
| Human time the routing agent will free up | Not disclosed | 12,000 hours | Legal professionals’ time on routine request routing | Salesforce, via diginomica, projection2 |
- First-time routing: By September 2026, the share of cases resolved and routed to the right group the first time had risen from 12% to 34% under the agentic routing process1.
- Savings: The routing process saved over $350,000 in a year1.
- Time freed: The 12,000 hours is a current estimate of the human time the agent will free up for more challenging legal tasks2.
Lessons learned
Business ownership is what Salesforce ties its agents’ success to. Leaders found that the workflows with more business stakeholder support succeeded, while some agents didn’t meet expectations1.
The program-level pivot came first. White said of the early phase, “We chased too much all at once and didn’t have enough focus.” Salesforce then cut hundreds of agents down to a few with specific expected benefits1.
The gain in first-time routing still leaves most cases outside it. At 34%, about two-thirds of cases still weren’t resolved and routed to the right group the first time1.
The agent needs ongoing work from people. It requires continuous feedback, oversight and continual improvement, and much of that falls on the business teams1.
Legal’s governance is a strength of the deployment. The agent manager role grew out of 18 months of manual testing, and every agent deployment that role supported has launched3.
The figures are Salesforce’s own, given by senior vice president Andy White to Fortune and by Niles to diginomica1, 2. The savings and the first-time routing rate are reported results, and the 12,000 hours is an estimate of time to come2.
Case study scorecard
- 34% Cases resolved and routed to the right group the first time1
- over $350,000 Savings from the agentic legal routing process1
- 12,000 hours Human time the routing agent will free up2
Sources by publication date
- Organization 1
- Vendors and partners 1
- Press, academic, and regulators 3
Build this solution yourself
Analysis
What you need
- Matter and capacity data in one platform: The agent allocates requests by capacity, which depends on matter status and resource data that Legal already kept in Litify on Salesforce4.
- A legal owner willing to change the process: Salesforce’s agents succeeded where business stakeholders backed them, so you need a lawyer who will redesign routing, not only automate it1.
- People to test and tune the agent: You need subject matter experts who validate accuracy before launch and business teams who keep giving feedback after it3, 1.
Reference architecture
Agentic process automation
An agentic process automation solution gives the routine steps of a business process to software agents that carry each case across the business systems. A task agent reads each case, gathers what's missing, and takes or prepares the next step in the business systems, within limits that rules enforce. People set the limits, approve the outcomes that need approval, take the cases outside the agent's authority, and monitor the rest.
- Business systems (documented in this case study)
- Agent platform
- Orchestrator or planner
- Task agent (documented in this case study)
- Language model
- Checking agent
- Knowledge and context
- Shared data layer
- Tools and connectors
- Pricing and scoring models
- Rules and limits
- Fixed workflows
- Handoff to staff
- Review queue or workbench
- Audit trail
- Monitoring
A check mark shows a building block that this case study's sources document.
Open the reference architectureOthers who built it
- Lemonade: Lemonade's AI claims bot automates more than half of claims. Roughly 55% of Lemonade's claims run automated end to end, and AI Jim takes 96% of first reports.
- Meta: AI agents spread ML techniques across Meta's ads models. AI agents handle over 60% of Meta's technique propagation, with 3x engineering productivity.
- C.H. Robinson: AI agents handle freight quotes and orders at C.H. Robinson. Emailed freight quotes now go out in 32 seconds, and tenders become orders in about 90 seconds.
- Walmart: Walmart's AI negotiates deals with tail-end suppliers. The chatbot closed deals with 68% of the suppliers it approached, saving 3% on average.
- Mars: Mars cuts brand campaign creation from months to weeks. Mars's campaign brief agents cut the campaign workflow from months to weeks.
- Saudia Cargo: Saudia Cargo answers emailed rate requests with AI agents. Saudia Cargo's AI workers now handle routine email rate requests end to end, quoting within seconds.
Cite this case study
Enterprise AI Case Studies. "Salesforce's Agentforce agent routes its legal requests." Updated Nov 25, 2026. https://case-studies.ai/case-studies/process-automation/PA-075-legal-request-routing-salesforce/
@misc{csai-pa-075,
author = {{Enterprise AI Case Studies}},
title = {{Salesforce's Agentforce agent routes its legal requests}},
year = {2026},
note = {Updated 2026-11-25},
url = {https://case-studies.ai/case-studies/process-automation/PA-075-legal-request-routing-salesforce/}
}Sources
The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership
- Source 1:
Agentic AI early adopters have failed, pivoted, and learned these 3 lessons
Supporting excerpts (12)
pivoted from hundreds of agents to a few the company strongly believed could deliver specific benefits
who oversees adoption of Salesforce products for internal operations
We chased too much all at once and didn't have enough focus.
When Salesforce discovered some agents were meeting expectations and others weren't, company leaders introspected to find out why.
it was clearly the workflows with more business stakeholder support that were succeeding
pairs agentic builders from the IT team with business stakeholders
running one for every business unit
You have to be partnered with an opinionated stakeholder that's willing to disrupt their organization, because it will be disruptive
a rapid innovation squad for the legal team
assigning new cases to a lawyer with the correct experience to get it done
increased the proportion of cases being resolved and routed to the right group the first time from 12% to 34%, saving the firm over $350,000 in a year
it requires a lot of continuous feedback, oversight, and continual improvement, said White, and a lot of that falls on the business teams
- Source 2:
AI and the law (3/3) - making the case for trust with Salesforce Chief Legal Officer Sabastian Niles
Supporting excerpts (10)
We get hundreds of thousands of requests each year. How do you triage that?
With that amount of work, you have to figure out who's best situated to do what
because that's not necessarily their highest and best
these are routed through a funnel, with lawyers, looking at the nuanced requests coming in, figuring out who to match it with, and then routing it along its way
But that all comes with a high price tag in terms of experts time.
Using Agentforce, the firm built a system in five weeks. to train an agent to do the routine.
Armed with legal insight and nuance, this agent now does the writing, the routing, and, according to current estimates. will free up 12,000 hours of human time to allow the professionals to go and do more challenging legal tasks.
You better be driving commercial velocity.
Our Legal Patent teams created a Slackbot Idea Discovery Agent.
We've seen a 35% increase in discovery of items that we can ultimately patent.
- Source 3:
How Slackbot Powers the Salesforce Legal Team
Supporting excerpts (13)
Salesforce Legal and Corporate Affairs (LCA) is a global team that manages hundreds of thousands of requests per year
As Customer Zero for our own technology, LCA is building an AI-native, trust-first, agentic legal function
The legal team has built a product legal front door in Slack, a self-serve Slackbot-powered intake experience that helps Technology and Products colleagues get to the right legal resource quickly.
it became clear we needed a dedicated role at the intersection of legal expertise and agentic risk
Someone who could proactively mitigate legal and reputational risk without becoming a bottleneck for implementation.
So we created a new human role: the agent manager.
Over 18 months of manual testing and risk-spotting, our agent manager built and operationalized:
A Risk & Impact Scoring System, developed with LCA subject matter experts, to prioritize the testing of high-risk queries and high-impact processes
user acceptance testing frameworks that validate agent accuracy before launch
Standardized guardrails and disclaimers with cross-functional teams
Automated regression testing to monitor agent performance as models improve, content is updated, and scope increases
A checkpoint in the AI Council Review Process that triggers the testing framework whenever a use case is grounded in legal content
We've made our agent manager role a permanent and core fixture of our team, and every agent deployment they have supported has successfully launched.
- Source 4:
Even Salesforce Benefits From the Power of Litify
Supporting excerpts (6)
the legal team already used Salesforce to run parts of the department, especially from a matter management perspective
Because Litify is built on Salesforce, the department is also able to take advantage of Agentforce
Using Agentforce, they've built an AI agent that provides first-tier legal support to all 70,000 internal users.
Then the department leverages Litify to manage incoming work, routing it to the appropriate teams while helping each individual manage their workload.
Increased visibility into matter status, resource allocation, and financial data has empowered the team to better manage requests from start to finish.
With a foundation of trusted data across the entire workflow, AI agents can now measure capacity more effectively, which helps to allocate requests to the right person.
- Source 5:
A Conversation with Sabastian Niles on the Legal Profession in the Agentic AI Era
Supporting excerpts (3)
They help with intake, triage, routing, and eventually assignment and execution.
especially in legal, where risk, accountability, and trust are central, we maintain strong human oversight
Sabastian Niles is the president and chief legal officer of Salesforce.
Comments
Start the conversation.
Invited members of the library comment here. Sign in to join the conversation.