Implementing Agentforce: AI handles everyday operations

Learn how to implement Agentforce in Salesforce, configure agents around business roles and improve existing processes with AI, automation and clear ownership.

A centered geometric robot made from softly rounded white blocks with a cobalt-blue torso, on a pale lavender background.

Agentforce lets businesses create and run AI agents natively in Salesforce. Start with a prebuilt agent or build one around a business role, such as customer support, lead qualification or appointment management.

Implementation defines the work an agent owns, supplies reliable information and connects its operations. For consultants, every recurring Salesforce task becomes a candidate for automation, assistance or delegation.

What work can Salesforce do for you?

Agents use company information and connected tools to interpret requests in everyday language, find information, ask for missing details and choose permitted actions. These can answer questions, retrieve records, update cases or call other systems.

A business role defines the responsibility: a support agent might resolve specified service requests; an employee agent might help account managers find information and prepare next steps. Each needs a clear scope, recognizable result and handoff for work it cannot finish. The connected business process determines how much it can complete.

Here are a few examples of what Agentforce can do when the relevant data and actions are connected.

Use case

What agents can do

Customer service and self-service

Answer questions using approved knowledge, retrieve customer information, collect case details and handle supported service requests.

Sales and employee assistance

Help qualify leads, prepare follow-ups, summarize account activity and perform authorized Salesforce operations.

Operations across systems

Interpret requests, identify relevant records, gather missing information and start processes in Salesforce or connected systems.

Build agents around the way your company works

Configure agents around your company’s objects, fields, rules and integrations, reusing the operations already available.

Understand the basic building blocks

At its simplest, an agent is instructions with tools it can use:

  • Instructions describe its job, how to handle requests, which details to collect and when to involve someone else.

  • Actions are its tools. They expose operations such as retrieving information, changing a record or starting a process through Salesforce Flow, Apex code or an integration.

  • Data supplies the facts and context it needs, including Salesforce records, approved knowledge and connected information sources.

  • Access and business rules limit what it may read, change or do and establish where confirmation or approval is required.

The builder groups defined responsibilities into subagents, each with its own instructions and available actions. Their descriptions route requests to the right responsibility. Older material calls these topics; see Salesforce’s subagent documentation.

Choose a prebuilt agent

Salesforce provides prebuilt agents and templates for specific business jobs, with relevant subagents, actions and default settings such as system messages, variables and filters. Choose the starting point whose capabilities best match the work, then adapt it to your company.

  • Help Agent answers customer questions using your knowledge base and supports escalation to service representatives across supported service channels.

  • Service Agent provides a starting configuration for common support cases and requests, with subagents and actions you can adapt to your service process.

  • Employee Agent helps internal users find information and complete tasks in the logged-in employee’s context. You can tailor it to departmental responsibilities.

Connect company information, set permissions and adapt instructions and actions, adding custom actions where needed. Availability depends on your Salesforce products and licenses; Salesforce’s job-ready agent catalog lists further specialized options.

Build your own agent

Build your own when prebuilt options do not cover the responsibility. Define instructions, information sources and actions around your company’s process, custom objects and external systems. Existing Flows, Apex and integrations can supply its operations.

Before starting, enable Einstein Generative AI and Agentforce, and confirm that you have the required licenses and builder permissions. The steps below follow the new Agentforce Builder; available settings depend on your agent type and enabled features.

Open Agentforce Studio → Agents and select New. Describe the agent’s role, tasks and limits. The builder’s AI assistance asks follow-up questions and prepares an initial configuration for you to review. You can also skip the assisted setup and enter the details yourself. Salesforce’s custom-agent creation guide explains this route.

Review the result in Agent Definition. Settings → Agent Details contains the basic agent settings; the Explorer groups its subagents, actions, variables and data. The numbered markers in the two Salesforce screenshots below show where to configure each element.

Define the agent and its responsibilities

Agentforce settings with numbered markers 1–4 for names, assigned user, description and subagents.

Source: Salesforce - Get started with Agentforce

1. Agent name and developer name.

  • Agent Name: use a readable job title, such as Customer Support.

  • Developer Name: choose a stable technical identifier for Salesforce.

2. Agent’s user record.

  • For a Service agent with an assigned user, select the Salesforce user it operates as.

  • Give it only the required permissions, and check how each action runs.

3. Description.

  • State who the agent serves, the work it handles and its limits.

  • Keep detailed behavior in the subagent’s instructions. See Salesforce’s creation fields.

4. Subagents.

  • Group each coherent job into a subagent with a clear name and description.

  • Open it in the Explorer to configure its instructions and actions.

Configure each subagent’s behavior

Agentforce subagent settings with numbered markers 5–8 for instructions, actions, variables and data.

Source: Salesforce - Explore the new Agent Builder

5. Instructions.

  • Explain what to collect, when to use each action and what completion means.

  • Define how to handle missing information, unsupported requests and human handoffs.

  • Use conditions for fixed paths; enforce mandatory business checks in the underlying operations.

6. Actions available for reasoning.

  • Connect actions to Flow, Apex, prompt templates or external services, with a clear purpose for each.

  • Inputs: define required information and how the agent obtains it.

  • Outputs: choose what informs reasoning and what users can see.

  • For sensitive changes, use confirmation where supported and enforce approvals in the operation.

7. Variables.

  • Carry context between steps, such as a selected record or an earlier action’s result.

  • Use trusted checks for identity and access; a conversational value does not authorize a record change.

8. Data.

  • Connect approved knowledge and other supported sources for answers grounded in company information.

  • Use actions to retrieve or change current business records.

  • Some Data Library features require Data 360 setup and consumption; check the requirements.

Set access and the level of autonomy

  • Autonomy: define what the agent may do automatically and what requires confirmation.

  • Access: check the agent’s and its actions’ execution context, and grant only required permissions.

  • Handoffs: assign an exception owner, pass the context and record status and ownership for work that continues beyond the conversation.

Improve processes across the company

By carrying out actions employees handle in Salesforce and connected systems, Agentforce can reduce repetitive work and manual coordination across company processes and move requests to completion. For consultants, this creates two streams: improving the existing setup and considering agents for new business requirements.

Find opportunities in the Salesforce setup you already have

Start with the work people actually do. Review queues, recurring requests, handoffs and the places where employees copy information or repeatedly look up the same facts. Talk to the people doing the work and compare their account with what the records show. Our Salesforce planning guide explains how to turn findings into a shared set of priorities.

Break each process into tasks. A role may include reading a request, collecting missing information, applying a rule, updating a record and deciding an exception. Some tasks suit an agent, some suit fixed automation and some need a person. Salesforce’s use-case planning guidance provides a useful way to define the job and its scope.

Compare candidates using these questions:

  • Value: how often does the work happen, and what time, delay or quality problem could improve?

  • Readiness: are the necessary data, rules and operations available and dependable?

  • Risk: what happens if the task is wrong, and can the result be checked or reversed?

  • Ownership: who maintains the process and handles exceptions?

  • Cost: does the expected improvement justify the build, licenses, consumption and ongoing support?

Choose a useful first process with a clear result and manageable scope. NIST’s AI Risk Management Framework provides a broader structure for assessing potential harms, the people affected and how risks will be managed as the agent is used.

Repair the foundations that the agent depends on

Expose reliable automation through suitable actions. Investigate and repair failures affecting the selected process, such as duplicate records, missing identifiers, contradictory rules or unreliable integrations. Easier access to an operation still depends on it working. Repair the relevant foundation without rebuilding the whole org; our Salesforce architecture guide explains how data, automation, integrations and access fit together.

Redesign the handoffs: name the owner, define when a person takes over and make unfinished work visible. Prosci’s ADKAR model offers a useful structure for helping employees understand the change, learn the new process and sustain new habits.

Consider agents whenever a new requirement appears

A request for a field, screen, automation or additional employee usually expresses a need to get work done. Start by describing the intended outcome, the information required and the decisions involved. Then compare the ways to deliver it:

  • Conventional automation fits work whose rules and execution steps can be defined in advance.

  • An agent can help interpret requests, gather context and choose among permitted operations when the route varies.

  • A person remains responsible where the work requires human judgment, relationships or accountability.

  • A combined process lets an agent handle interpretation, Flow or Apex execute fixed operations and a person manage approvals or exceptions.

Start with the simplest approach that meets the need. Anthropic’s guidance on building effective agents distinguishes predefined workflows from agents that choose their next steps, and explains when that flexibility justifies the added complexity. Apply that distinction in Salesforce using its decision guide for agentic and traditional automation.

Apply the same reasoning to hiring. List the tasks behind the additional workload, identify what can be automated or assisted, then assess the human work that remains. Include supervision, exception handling and maintenance in that assessment. Compare the full operating cost and service quality of the options before deciding which skills or additional capacity the team needs.

Improve the process from evidence

Record the starting point and track completed outcomes: handling time, resolution time, rework, handoffs and cost per completed request. Review failed and abandoned requests as well as successful ones. A conversation ending is not sufficient evidence that the business work is complete.

Use the results to decide what to improve next: the information, an action, the scope or the handoff. Expand responsibilities when the process supports them, and maintain the agent alongside the rest of the organization. That ongoing ownership belongs in the same operating model as Salesforce support.

The first agent gives you a practical place to begin. The larger improvement comes from making this assessment a habit: define the work, choose how it should be done and give the resulting process clear ownership.