Skip to content

What is Agentforce? Salesforce Agents Explained

Published Updated

Agentforce is Salesforce’s platform for building AI agents that answer questions and take actions in Salesforce and channels such as Slack. It’s a good fit when your team already holds the records and runs the workflow in Salesforce. A service agent, for example, can look up an order before it replies to a customer.

What Agentforce is

Agentforce lets Salesforce administrators define the jobs an AI agent can do, the records it can read and the actions it can take. In sales, an agent can help qualify incoming leads. In service, it can answer a customer from a knowledge article or hand the conversation to a staff member.

Salesforce renamed Einstein Copilot, its original conversational assistant, to Agentforce Assistant. Agentforce now covers a wider set of employee-facing and customer-facing agents. Salesforce markets the broader family as Agentforce 360, with products such as Agentforce Sales and Agentforce Service. Slack is also a channel where staff can use supported agents.

How Agentforce Agents Work

The Atlas reasoning engine matches a request to a subagent and uses its instructions and available actions to decide what happens next. Older Salesforce screens and documentation call subagents topics. A subagent defines a job such as checking order status. Its instructions tell the agent when to ask for an order number or hand over to a person. An action does the work, such as running a Salesforce Flow to look up the order.

Agent Script can make a step mandatory, such as verifying the customer’s identity before looking up an order. When the next step needs interpretation, Atlas can use a large language model (LLM) to choose from the configured actions. The result of an action can inform the next action or the reply.

Grounding gives the model business information for the task at hand. An action can retrieve Salesforce records, such as a delivery status. An Agentforce Data Library can bring in relevant knowledge articles or documents through Data 360, formerly Data Cloud. The Einstein Trust Layer checks prompts for attempts to override instructions and flags potentially harmful responses. Salesforce disables pattern-based and field-based data masking for agents, including when an agent action calls a prompt template.

Hypothetical Order Status Enquiry

A customer asks where their order is in web chat. Once the customer verifies their identity, the service agent runs a lookup and uses the status on the order record to answer. If the lookup returns conflicting details, the agent follows its instructions to transfer the chat to the service queue with the conversation attached.

Agentforce Licensing and Cost Drivers

Salesforce bills Agentforce by action, by customer conversation or through per-user licensing, depending on the use case. Salesforce’s Australian Agentforce pricing lists the buying options and what each includes.

Buying option What you pay for What to estimate
Flex Credits Metered use, such as actions the agent runs How often each action runs, including when one request needs several actions
Conversations Each billable customer-facing conversation Expected customer conversations across the channels you plan to launch
Per-user licensing Seats for employees who use Agentforce How many people need access and whether their plan also meters actions

Salesforce’s Agentforce User Licence requires Flex Credits. Some cloud and industry add-ons include unmetered employee agent use for licensed users. Salesforce also lists Max Editions with the Agentforce add-on included.

Ask your Salesforce account team to price the exact agent type and edition you plan to use. Budget separately for Data 360 consumption where the workflow uses it, plus the work to clean records, connect systems and test the agent. In a pilot, compare actual usage in Digital Wallet with your estimate before you open a second channel.

Setting Up Agentforce in Salesforce

To set up an Agentforce Service Agent, build it in a Salesforce sandbox and release it to one channel once it passes tests for the jobs you’ve assigned.

Salesforce lists Enterprise, Performance, Unlimited and Developer as supported Lightning editions for the builder, with entitlements depending on the agent type. Enable Einstein generative AI and Agentforce, and set up Data 360 where the required features use it. Give the administrator the permissions to manage the agent. Give the service agent user access only to the records and actions it needs. Fix duplicate or stale records before asking the agent to use them.

  1. Open Agentforce Studio from the App Launcher, select the Agents tab and choose New Agent. Pick the service agent template and assign the user under which the agent will run.
  2. Keep the subagents for your pilot and add the actions they need. For order enquiries, define when the agent must verify identity and what should trigger a handover. Select a data library if the agent must answer from your knowledge articles.
  3. Use Simulate in Agentforce Builder to inspect which subagent and action it selects with mock data. Use Live Test only in the sandbox to check that real actions read or update the expected records.
  4. Run batches of cases in Agentforce Testing Center in the sandbox. The tests can change records. Include a valid order, an order the customer can’t access and a request outside the pilot’s scope. Check that the agent returns the right order for the first case and hands off or declines as configured for the others.
  5. Configure one service channel, commit the version and activate it for a limited rollout. In that channel, confirm a transfer reaches the right queue and that a staff member can see the conversation. Review incorrect answers and failed handovers before adding more topics or channels.

If a lookup returns no record in the sandbox, run it under the agent user’s access and check the fields the action uses. That can distinguish a permissions problem from a missing or stale order.

Data Residency and Trust for Australian Orgs

An Australian Hyperforce deployment can store supported Salesforce data at rest in Australia. Salesforce lists Sydney as an Australian region for Einstein Platform and Agentforce instances. The location where a language model processes a prompt depends on the model and routing settings.

For example, Salesforce lists an Australian primary Azure OpenAI endpoint for geo-aware GPT 4.1 requests from Australian orgs. Those requests can fall back to the United States if that endpoint fails. Salesforce documents a setting that disables that fallback for supported models. Use Salesforce’s model-routing guidance to identify which settings apply to the model and feature you’ll deploy.

Salesforce says its zero-data-retention contracts require covered external model providers to discard submitted information after returning a response and prevent its use for training. Salesforce’s own conversation and audit records follow separate settings.

Australian Privacy Policy Disclosures

Under the Privacy Act 1988, the automated-decision disclosure duty applies to entities covered by the Australian Privacy Principles (APPs). The rule applies to covered decisions made once the provisions commence. The Office of the Australian Information Commissioner’s APP 1 guideline gives the commencement date.

Under APP 1.7, the entity must have arranged for a computer program to make a decision or perform a step substantially and directly related to making it. The program must use personal information about that individual to make the decision or perform that step. The decision must be one that could reasonably be expected to significantly affect that person’s rights or interests.

APP 1.8 requires the privacy policy to identify the kinds of personal information used. The policy must describe the kinds of decisions made solely by the program and separately describe the kinds of decisions for which the program performs that step. A person making the final decision can still fall within the second category.

APP 1.9 also covers a refusal or failure to make a decision or perform that step. An effect can benefit or disadvantage the person. Privacy and Other Legislation Amendment Act 2024, Schedule 1 Part 15

When Agentforce Needs Systems Outside Salesforce

Agentforce can reach outside Salesforce through an action that calls an application programming interface (API) or an approved tool on a Model Context Protocol (MCP) server. MuleSoft can expose operations from other systems to Agentforce. For example, an agent can read stock levels from an enterprise resource planning (ERP) system or fetch a current policy from a document store. The agent still needs an authorised tool and access to the data for each operation.

Keep Agentforce as the starting point when staff work in Salesforce and the agent needs only a few external lookups. An agent built outside Salesforce can fit better when the work starts in another system, the records and approvals live across several tools and Salesforce is only one destination. In that case, compare AI agent frameworks against the systems that own each action and where staff need to approve it.