How to Automate Salesforce Business Processes with AI
Salesforce AI automation works best when it starts with a business process, not a feature. Teams that begin with “let’s try an agent” often end up with a clever demo that touches no real work. Teams that begin with a process, such as how a customer request becomes a resolved case, can decide which steps belong to rules, which to AI and which to a person, and then build only what that process needs.
This guide is a practical path in six steps: choose the process, map the workflow, connect trusted data, configure AI assistance or an agent, test the outcomes and measure adoption. A made-up order-issue example runs through it. It is illustrative, not a client project, and it claims no results. Product names and capabilities were checked against Salesforce’s own documentation in December 2026. Salesforce renames products and releases features in stages, so confirm names, editions and licensing before you plan a budget.
Key takeaways
- Start with the process, not the tool: Pick one process with a clear owner, ready data and a result you can measure, then decide which of its steps need AI.
- Map before you build: Mark every step as a rule, AI assistance, an AI action with approval or a person’s decision, and record a baseline first.
- Trusted data sets the quality: Prompt templates and agents are only as good as the records, knowledge and permissions behind them.
- Choose the lightest tool: Use Flow for fixed logic, prompt templates for drafts and summaries, and agents for multi-step conversations and actions.
- Test with real cases and real people: Agree a pass mark in advance, use varied cases, and have people review results before and during a pilot.
- Measure adoption as well as accuracy: Track usage, quality and outcomes against your baseline, and widen the scope only when the results hold.
What Salesforce AI automation means in practice
Salesforce AI automation adds an AI step to a business process. A model reads something a rule cannot, such as an email, a case description or the history of a record, and then summarizes it, drafts a response or chooses among the actions it has been given. It rarely replaces the automation you already have. In Salesforce it shows up in three building blocks, and most real designs use all three:
- Flow for fixed logic. Routing, thresholds and approvals that must give the same result every time.
- Prompt templates for drafts and summaries. Salesforce Help describes Prompt Builder as the place to build, customize and manage prompt templates that bring your CRM data to generative AI features and Agentforce agents.
- Agents for multi-step work. Salesforce says you build an agent by defining subagents, writing natural-language instructions within each one and creating a library of actions. Those actions can reuse the Flows, prompt templates, Apex and APIs you already have.
Two terms are worth keeping apart. AI assistance suggests something and a person acts on it, such as a drafted reply. An agent can take actions itself, through the actions it has been given and within the limits you set. Assistance is the safer place to begin. For the longer comparison with rules-based automation, read our guide to Salesforce AI automation beyond workflow rules, and for a catalog of examples by team, see our Agentforce use cases.
Step 1: Identify the Salesforce processes worth automating with AI
Not every process deserves AI, and the ones that do rarely announce themselves. Salesforce’s planning guidance for agents is a useful screen. It asks five questions of any candidate: why you are delegating the work, whether you can describe it, whether its decisions can follow clear policies, whether it can run within security, legal and regulatory limits, and whether the data can support it. We add two more that matter in practice: how often the process runs and who owns it.
| Question | Ask | A good sign | A warning sign |
|---|---|---|---|
| Value | Why hand this work to AI? | You can name the gain: faster, more accurate or a better experience. | The honest answer is “because we can”. |
| Work | Can you describe the work, step by step? | The people who do it can walk you through it, exceptions included. | Nobody agrees how it is done today. |
| Decisions | Which decisions follow clear policy, and which need judgment? | Policies and limits are written down, and judgment calls have an owner. | The rules live in people’s heads or change case by case. |
| Risk | Can it run within security, legal and regulatory limits? | A mistake is small, visible and easy to reverse. | A mistake could cost money or trust before anyone sees it. |
| Data | Can the data support the work? | Records and knowledge are current, consistent and owned. | Knowledge is stale, conflicting or held in another system. |
| Volume (our addition) | Does it happen often enough to matter? | It repeats daily or weekly, with a queue or a delay you can measure. | It happens a few times a year. |
| Ownership (our addition) | Who owns the process and its results? | A named owner who will review results and approve changes. | Everyone owns it, so no one does. |
The first five questions follow Salesforce’s planning guidance. Volume and ownership are Brazen Group’s additions. Use the table as a conversation guide, not a score.
Where AI tends to fit, and where it does not
As a rule of thumb, AI earns its place where work starts with language or varies from case to case:
- Reading and summarizing long case histories, email threads and call notes.
- Drafting replies, follow-ups and case descriptions that a person reviews.
- Classifying and routing an inbound request by working out what it is about.
- Answering routine questions from current knowledge, with a handoff when the answer is unclear.
- Suggesting record updates from conversations, for a person to approve.
It fits poorly where a decision can be written as conditions (use a Flow), where a mistake would be costly and hard to undo with nobody reviewing it, where the process itself is unclear or disputed, or where the data is not ready. Automating a broken process with AI usually produces the same problems, faster.
Start with the smallest useful version
Salesforce describes the minimum viable product as the smallest unit of work that makes sense to deliver, and says to define acceptance criteria for going live and stick to them. Its training example shows the shape: a service agent for a fictional resort starts by looking up reservation details and resending confirmations, and hands everything else to people. Later versions add booking and changing reservations, then cancellations and refunds. Scope and autonomy grow as the results come in. If you are comparing several candidates, our guide to choosing the right Salesforce AI agent adds a scoring method.
Step 2: Map the workflow before you build
Once you have a candidate, map the work as it happens today. The aim is to see where AI helps and where rules or people should keep control. Walk through the process with the people who do it, using five to ten recent real cases rather than the procedure document. Salesforce’s own training makes a similar point about agents: you can’t plan one solely with design documents and spreadsheets, so build and test in a sandbox as you refine the plan.
What to capture
- Trigger and inputs. What starts the process, and what arrives with it: a form, an email, a chat message, a document.
- Steps and decisions. Each step, and each point where someone chooses between options.
- Handoffs and systems. Who passes work to whom, and which systems are touched on the way.
- Exceptions and escalation. What happens when the case does not fit. Salesforce lists company policy, brand requirements, security, risk management and regulatory compliance as typical reasons to escalate to a person.
- Volume and timing. How often it runs and how long each stage takes today.
Mark each step with who handles it
Give every step one of four handlers: a rule, AI that assists while a person decides, AI that acts with approval, or AI that acts on its own. The four levels are explained in our guide to AI and rules-based automation. Start low and move up only when testing and results justify it. Figure 2 shows the worksheet filled in for an illustrative order-issue request.
| Step | Handled by | Data it needs | If it goes wrong |
|---|---|---|---|
| 1. A request arrives by email or chat | Rule | Sender, channel, matching contact | No match: the request goes to a queue for a person. |
| 2. Read the message and summarize it | AI assists | Message text, case history | The summary sits beside the original, so the reader can check it. |
| 3. Check the order and the refund policy | Rule (Flow) | Order records, policy limits | Fixed logic with the same result every time. No AI involved. |
| 4. Approve a refund above the limit | Person | Amount, customer history | An approval step sends it to the named approver. |
| 5. Draft a reply from approved sources | AI assists | Case history, current knowledge articles | The person edits or rejects the draft. |
| 6. Review and send the reply | Person | The draft and the case | Nothing leaves the company without a person’s review. |
| 7. Anything unclear or out of scope | Person | The conversation so far | Handed off with the history attached. |
An invented example to show the method, not a client project. The worksheet is Brazen Group’s own format. Notice that step 3, the policy check, stays a rule, and that people hold the approval and the final send.
Record a baseline before you change anything
While the map is fresh, record how the process performs today from your own data: volume, time to first response and to resolution, backlog, rework, and how the people involved feel about it. Without a baseline, Step 6 turns into opinion.
Step 3: Connect trusted data
An AI step is only as good as what it can read. Plan the data in three moves: choose the sources the step needs, make sure they are fit to use, and decide what the AI is allowed to see.
Choose the routes into the AI step
Figure 3 shows the four routes. A prompt template pulls fields from the record and its related records through merge fields, and Salesforce Admins describes building Flows that go beyond basic record fields to gather the more complex data a template needs. For knowledge articles, Salesforce describes adding an Agentforce Data Library in Agentforce Builder or Setup, and retrievers that connect search indexes in Data 360 to prompt templates. Salesforce also says agents can use external data through Data 360.
Swipe sideways to see the whole diagram.
The diagram is Brazen Group’s summary of Salesforce documentation. Which routes you need depends on the process and your edition.
Check the data is fit to use
Salesforce’s training on designing an agent audits the data for completeness, quality, understandability, cardinality, uniqueness, accessibility, recency, security and governance. Our companion guide condenses this into six data checks, and Salesforce’s data readiness guidance adds profiling for unused or inconsistently filled fields and duplicates. The practical rule is to start with the content you trust. In Salesforce’s own training example, a company holds back a general FAQ agent because its knowledge articles are inconsistent and out of date, and starts with a smaller set of recently updated articles instead.
Set what the AI is allowed to see
Permissions decide what the AI can read and do. A Service agent that faces customers uses a dedicated agent user when it cannot use the end user’s own record. Salesforce says the agent user is created with minimal access so the agent is secure by default, and that you then expand its access on the principle of least privilege. The same Help page warns that an agent without permission to data it needs cannot answer questions about it, and that an agent with access to data it does not need can expose proprietary information to customers. An Employee agent works differently: it runs in the context of the logged-in user, so the usual licenses, permissions, field-level security and sharing settings apply.
Salesforce also describes the Einstein Trust Layer, which it lists as providing grounding in CRM data, masking of sensitive data, toxicity detection, an audit trail with feedback, and zero data retention agreements with third-party model providers. The same documentation recommends that a person checks model responses before they reach end users in most use cases. Treat the Trust Layer as one control among several, not as a reason to skip your own.
Step 4: Configure AI assistance or an agent
With the map and the data settled, configure the lightest tool that does the job. Figure 4 matches common needs to Salesforce options. Many processes end up using more than one row.
| If you need | Use | What to know |
|---|---|---|
| The same result every time: routing, thresholds, approvals | Flow, with approval steps in Flow | The dependable layer. Salesforce’s architects advise writing a decision as logic when you can express it as code (see hybrid reasoning). |
| A draft, a summary or a generated field for a person to review | A prompt template in Prompt Builder | Grounded in your records. Template types include Field Generation, Flex and Case Summary. Check the required editions and add-ons. |
| Multi-step work done through conversation, for customers or for employees | An Agentforce agent built in Agentforce Builder | Built from subagents, instructions and actions. Salesforce lists a Service agent for customers and an Employee agent for your own people, among other types. |
| Rules that must not vary, inside an agent | Agent Script | Lets you combine fixed rules and model reasoning in one agent. |
| A hand-off to a person | An Omni-Channel flow | Salesforce describes handing a conversation from an agent to a person with its history attached. |
Brazen Group’s summary of Salesforce documentation. Editions, add-ons and product names change, so confirm availability for your org before you design around a row.
A sensible build order
- Build or reuse the Flows. Put fixed logic, such as routing, thresholds and approvals, in Flow and test it first. Existing Flows are not wasted: Salesforce says you can turn existing workflows, prompt templates, Apex and APIs into agent actions. If you still run Workflow Rules or Process Builder, Salesforce Help says it stopped supporting them on December 31, 2025 and recommends migrating to Flow Builder.
- Create grounded prompt templates. Write each template for one job, ground it with the record fields, Flows or knowledge it needs, and try it on real records before you rely on it.
- Define the agent, if you need one. In Agentforce Builder, give each subagent a narrow scope, write its instructions in plain language and add the actions it may call, reusing the Flows and prompt templates above. Put rules that must not vary into Agent Script.
- Set permissions and data access. Review the agent user, or confirm the logged-in user’s access for an Employee agent, and grant only what the job needs.
- Design approvals and escalation. Decide where a person approves, using a Flow approval process, suggestive mode for agents that offer it, or a handoff that passes the conversation to a person with its history.
- Choose the starting level of autonomy. Start where mistakes are cheapest to catch: AI suggests and a person decides. Move up only as test results and pilot data justify it.
Licensing and cost
Names, editions and pricing options change, so check them before you commit. Salesforce Help lists the required editions and add-ons for Prompt Builder, and each agent type has its own edition and license notes. Salesforce’s Agentforce page lists Flex Credits, Resolutions or per-user licensing as pricing options, and its testing training notes that testing can consume requests or credits. Budget for the work around the license too: data preparation, integration, testing and ongoing tuning.
Step 5: Test outcomes before and after go-live
Testing an AI automation is not like testing a Flow. Salesforce’s training on agent testing describes it as more subjective than traditional software testing, because many variables shape each response. Test in a sandbox, and test to a plan.
Agree the pass mark first
Write acceptance criteria before you build: what share of test cases must be handled correctly, what must always escalate and what must never happen. Salesforce’s planning guidance warns that even quick wins are hard to score if you move the goalposts.
Build a test set that reflects real work
Salesforce says a good set of test inputs has volume, diversity and quality, including inputs outside the agent’s scope and inputs that challenge its guardrails. In Agentforce Studio’s testing tools, each test case pairs an input with the expected subagent, expected actions and expected response, and Salesforce recommends generating 10 or 20 cases first, reviewing them and then adding your own. Its training labels the Test Suites feature as Beta, so check its status. Add real, messy cases from the baseline you recorded in Step 2.
What to check
- Instructions: did the automation follow them, including on varied input?
- Grounding: are answers based on your data, and is that data current?
- Accuracy, completeness, tone and brand voice, and response time.
- Safety: any bias or toxic output, and does it stay inside its scope?
- Permissions: can it reach only what it should? Test as the agent user or a typical logged-in user, not as an admin. Salesforce notes that testing can reveal outdated data and permissions that need adjusting.
- Handoffs and approvals: do escalations and approval steps fire, and does the history arrive?
- Consistency: is the result reliable every time, not just once?
Validate with people, then pilot
Automated tests tell you whether a case passed, but Salesforce’s five-step testing strategy adds a step where a person reviews the responses for tone, context and unwanted output. After that, pilot with a small group on live work, with approvals on, and compare against your baseline. Then retest whenever the data, permissions, subagents, actions, prompts or the business process change, because Salesforce notes that any of them can change how an agent performs.
Swipe sideways to see the whole diagram.
The loop adds the pilot stage to Salesforce’s five-step testing strategy, and the acceptance criteria come from its planning guidance. The layout is Brazen Group’s.
Step 6: Measure adoption and results
Launch is not the finish line; adoption is. An automation that is accurate but unused changes nothing, and one that is used but not trusted creates rework. Measure three layers against the baseline from Step 2: adoption, quality and outcome.
| Layer | Measure | What it tells you | Where it comes from |
|---|---|---|---|
| Adoption | Unique users, unique sessions and interactions per session | Whether people are actually using it | Agent Analytics, Usage tab |
| Adoption | Thumbs-up and thumbs-down feedback (Employee agents) | Whether users find it useful | Agent Analytics, Employee Agent dashboard |
| Adoption | Share of AI drafts sent as written, edited or discarded | Whether people trust the output | Your own tracking. This is our suggestion, not a Salesforce metric. |
| Quality | Quality scores, answer faithfulness, error rate and toxicity score | Whether answers are relevant, grounded and safe | Agent Analytics. Audit and Feedback must be turned on in Setup. |
| Quality | A human review of a sample of sessions | What the numbers miss: tone and subtle errors | Sessions & Intents in Agentforce Studio, and your own reviewers |
| Outcome | Deflection, escalation, abandonment, success and task resolution rates | How much the agent resolves, hands off or loses | Agent Analytics, Effectiveness tab |
| Outcome | Handling time, backlog, rework and customer satisfaction | Whether the process itself improved | The baseline you recorded in Step 2 |
The three layers are Brazen Group’s framing. The metric names in the Agent Analytics rows come from Salesforce’s training on monitoring agents, and the available metrics vary by agent type.
In Agentforce Studio, Agent Analytics sits under Observe & Optimize, and Salesforce says its dashboards are powered by Tableau Next and vary by agent type. Quality and trust scores need Audit and Feedback to be turned on in Setup, as the Salesforce training on agent metrics explains. The Observability page also mentions session tracing, health monitoring and consumption tracking. For prompt templates used inside records and Flows, you will often build your own view from the data you already hold.
Make adoption a design goal, not an afterthought
- Put the AI where people already work, such as the record page, the case console or the channel, so it does not add a step.
- Show where an answer came from and let people edit it. Drafts people cannot correct do not get used.
- Train on real cases from the baseline, not on demos.
- Name an owner and collect feedback in the first weeks, using thumbs up and down where the product offers them.
- Review the numbers at 30, 60 and 90 days, and use approval and edit rates as evidence for when a step can safely become more autonomous.
Putting the six steps on one page
- Choose. One process with an owner, ready data, a measurable result and a smallest useful version.
- Map. The steps, decisions and exceptions, who handles each, and a baseline from your own data.
- Connect. The data routes, the fitness checks and the permissions the AI will run with.
- Configure. Flows first, then grounded prompt templates, then an agent if you need one, with approvals and a low starting level of autonomy.
- Test. A pass mark agreed in advance, real cases, human review in a sandbox, then a pilot.
- Measure. Adoption, quality and outcome against the baseline at 30, 60 and 90 days, widening only when results hold.
Risks and limitations to plan for
- Automating a broken process. AI speeds up whatever the process does, including its flaws. Fix the process first.
- Wrong or ungrounded output. Grounding and guardrails reduce this risk but do not remove it. Keep review wherever an error would be costly.
- Variable results. Salesforce’s architects acknowledge that language models can produce different outcomes from identical inputs. Anything that must be identical every time should be logic, not inference.
- Over-broad permissions. An agent that can see too much can say too much. Test access as carefully as you test answers.
- Autonomy creep and approval fatigue. Letting AI do more than it has earned is a risk, and so is asking for so many approvals that people click through them.
- Stalled adoption. A technically sound automation still fails if it adds a step, hides its sources or was never explained to the people who use it.
- Usage costs. Testing and consumption can use requests or credits. Watch volumes from the first week.
- Moving names and staged releases. Agent topics became subagents in April 2026, Data Cloud is now Data 360, the older Agentforce (Default) agent is retired in favor of the Employee agent, and Salesforce’s training still labels its Test Suites feature Beta. Check current documentation before you commit.
Where Brazen Group fits
Brazen Group is a Salesforce implementation and consulting partner. Automating a process with AI usually starts with an honest look at the process, the data and the automation you already run. A Salesforce health check shows where your data, configuration and automation need attention before AI builds on them. Our Agentforce AI work covers designing and building the first prompt template or agent, and our RevOps automation work applies the same approach to the handoffs between sales, marketing and service. When the process depends on other systems, our Salesforce integration work covers the connections.
Conclusion: automate one process well, then repeat
Salesforce AI automation pays off when it is built around a process people understand, on data they trust, with a person in charge of what matters. Choose one process, map it, connect the data, configure the lightest tool that works, test it with real cases and measure whether people use it. Then use what you learned on the next process.
Sources
Product names and capabilities were checked between November 30 and December 4, 2026 against these Salesforce pages:
- Salesforce Help: Prompt Builder
- Salesforce Help: Prompt Template Types
- Salesforce Help: Agent Types and Considerations
- Salesforce Help: Configure Service Agent Access
- Salesforce Help: Workflow Rules and Process Builder End of Support
- Trailhead: Identify the Agent Use Case
- Trailhead: Architect the Right Solution
- Trailhead: Explore Agent Testing Tools and Considerations
- Trailhead: Refine Your Agents Using a Five-Step Testing Strategy
- Trailhead: Monitor Agent Metrics and Scores
- Trailhead: AI data readiness, Salesforce capabilities for reliable data
- Salesforce Developers: Trust Layer
- Salesforce Admins: Prompt Builder and Flow Builder agent actions
- Salesforce Architects: Hybrid reasoning with Agentforce Builder and Agent Script
- Salesforce Developers: Flow Approval Process data model
- Agentforce overview and FAQ
- Agentforce: how it works
- Agentforce and RAG: best practices
- Agentforce Observability
- How Agentforce Voice escalation works
Frequently asked questions
How do I decide which Salesforce process to automate with AI first?
Screen each candidate on value, the work itself, decision-making, risk and data, which are the questions Salesforce’s planning guidance asks, and add how often it runs and who owns it. Start with a narrow process whose data is ready, whose mistakes are cheap to catch and whose result you can measure, and define the smallest useful version, with acceptance criteria, before you build.
Do we need an Agentforce agent, or is a prompt template enough?
Often a prompt template is enough. If a person needs a summary or a draft on a record, a prompt template built in Prompt Builder and grounded in your data does that while the person stays in control. An agent fits work that takes several steps, a conversation and actions such as running a Flow. Start with the lightest option that meets the need.
What data does Salesforce AI automation need?
The records, knowledge articles and documents the process depends on, in a state you can trust: current, consistent, owned and visible only to the right people. Salesforce’s guidance suggests auditing completeness, quality, recency, security and governance, and starting with the smaller, cleaner set of content if the rest is not ready.
How do we test a Salesforce AI automation before launch?
Test in a sandbox with real, varied cases, including inputs outside the agent’s scope. Salesforce’s five-step approach is to create test scenarios, set evaluation parameters, run the tests, validate the results with a person and iterate. Agree the pass mark first, and retest whenever the data, permissions, subagents, actions, prompts or the process change.
How do we measure whether people use it and whether it works?
Record a baseline before launch, then track adoption (who uses it and how often), quality (whether answers are relevant, grounded and safe) and outcome (handling time, escalations, rework). For agents, Agent Analytics in Agentforce Studio reports usage, effectiveness, quality and trust metrics, and some of them need Audit and Feedback turned on in Setup. How often people accept AI drafts is something you may need to track yourself.
Can we keep our existing Flows when we add AI?
Yes. Salesforce says you can turn existing workflows, prompt templates, Apex and APIs into agent actions, so Flows you already trust can become the steps an agent calls. Salesforce Help says it stopped supporting Workflow Rules and Process Builder on December 31, 2025 and recommends migrating them to Flow Builder, so migrating first is a sensible order of work.
Ready to Automate a Salesforce Process with AI?
Tell us which process you would like to start with. We’ll help you map the workflow, check the data behind it and plan a first pilot, through our Salesforce AI consulting.
Discuss Your Requirements