What is an Agentforce Service Agent (ASA) in Salesforce?

Published on: 7/7/2025

What is an Agentforce Service Agent (ASA) in Salesforce?

What is an Agentforce Service Agent (ASA)?

 

The Agentforce Service Agent (ASA) is designed to interact with customers and external systems. It can be embedded in digital experiences, connected through buttons, or used to serve external use cases like support AI bots, lead capture assistants, or order-status chat agents.

A key feature of ASA is that conversations run in the context of a specific agent user. This means:

  • You must assign the necessary permissions and access to that user.
  • All flows, data access, and operations will execute with the agent user’s profile and security context, ensuring proper control and auditability.

 

How to Set Up an ASA Agent in Salesforce

Setting up an ASA agent is a straightforward process in Salesforce, once you've enabled the required features. Here's how:

Step 1: Enable Einstein (Generative AI)

  1. In Setup Quick Find, search for Generative AI and select Einstein Setup.
  2. Click the Turn On Einstein toggle to enable generative AI features.

Step 2: Enable Agentforce

  1. In Setup, use the Quick Find bar to search for Agents.
  2. Click Agentforce Agents under the Agent Studio section.
  3. Toggle Agentforce ON.

Step 3: Create an Agentforce Service Agent

  1. Click Open in Builder (upper right corner).
  2. You're now ready to configure your ASA agent.

⚠️ Important: When setting up your ASA agent, make sure to define and assign a dedicated Agent User. This user's context will drive all conversations, data access, and system interactions.

 

Key Components of an ASA Agent

ASA agents share many core features with Employee Type Agents, including:

1. Topics

Logical groupings that define specific capabilities or intents your agent can handle. Topics contain:

  • Classification & Scope: Determines when the Topic applies based on user input.
  • Instructions: Guidance on how the agent should behave for that Topic.
  • Actions: Tasks like calling flows, APIs, or database queries that the agent can perform.

2. Data Library

Central repository of reference information, such as:

  • Knowledge base articles
  • Files and datasets

3. Context & Custom Variables

Manage dynamic data during a session:

  • Context Variables: System or session-specific info like user ID, case number, etc.
  • Custom Variables: Defined by you to store values unique to your use case
  • Filters: Use these to control when Topics trigger based on variable conditions

4. Language Support

Supports multiple languages (e.g., Spanish, French), making the agent usable in multilingual environments.

5. Event Logs

Tracks each session's lifecycle:

  • When a Topic was triggered
  • Which actions executed
  • How the agent responded at each step

Helpful for debugging, auditing, and improving agent performance.

 

6. Unique in ASA(to that of Employee type Agent): Connections

A major differentiator for ASA agents is the Connections component.

Connections allow ASA agents to integrate with external systems or workflows, making them ideal for public-facing or cross-platform use cases.

  • Inbound Flows: Accept requests or data from external buttons, APIs, or embedded interfaces.
  • Outbound Flows: Send data or trigger actions in other systems or services.

This makes ASA agents especially powerful for use cases like:

  • Customer-facing chatbots
  • Portal-based service agents
  • Integration with external forms or channels

 

Final Thoughts

The Agentforce Service Agent (ASA) in Salesforce opens up exciting possibilities for businesses that want to scale external-facing AI agents. While it shares many features with internal agents (like Topics, Data Library, and Context), its ability to connect externally through Connections, combined with its agent user-based context, makes it a flexible tool for handling a wide range of service scenarios.

Whether you’re building a support chatbot, an embedded assistant in a digital portal, or integrating AI with your external systems, ASA gives you the foundation to create smart, scalable, and secure experiences.