Study guide

13.1 Agentforce Architecture, Agent Builder & Public Sector Agents

Salesforce Accredited Agentforce 360 for Public Sector Professional Exam

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: Overview, Architecture & Constituent Data Modeling

1.1 AP-222 Exam Blueprint, Passing Standards & Credential Overview 1.2 Public Sector Solutions Layered Architecture & Industry Common Layer 1.3 Person Accounts & Constituent Data Modeling

2 Chapter 2: Licenses, Permits, and Inspections (LPI) — Intake & Issuance

2.1 Regulatory Authorization Types & Application Intake 2.2 Business License & Permit Issuance, Conditions & Status Tracking 2.3 Application Reviews, Multi-Department Approvals & Renewals

3 Chapter 3: Inspections, Code Enforcement, and Compliance

3.1 Inspection Types, Action Plan Templates & Onsite Visit Execution 3.2 Regulatory Codes, Assessment Indicators & In-Field Checklists 3.3 Regulatory Code Violations, Enforcement Actions & Remediation Workflows

4 Chapter 4: Grants Management & Grantmaking Lifecycle

4.1 Funding Programs, Funding Opportunities (NOFOs) & Public Discovery 4.2 Grant Application Intake, Review Workspaces & Multi-Stage Scoring 4.3 Funding Awards, Disbursement Schedules & Post-Award Reporting

5 Chapter 5: Benefits Management & Assistance Programs

5.1 Benefit Programs, Benefit Schedules & Beneficiary Data Architecture 5.2 Discovery Framework Assessments & Question Versioning 5.3 Rules-Based Eligibility Determination & Recertification Lifecycle

6 Chapter 6: Employee Experience & Emergency Response Management

6.1 Public Sector Employee Experience & Workforce Operations 6.2 Emergency Response Management (ERM) Intake, Triage & Incident Dispatch 6.3 Rapid Resource Allocation, Volunteer Coordination & Contact Tracing

7 Chapter 7: Document Processing, Intelligent Automation & Reporting

7.1 Document Checklist Items, Content Management & Upload Portals 7.2 Intelligent Document Automation (IDA), the Document Workspace & the IDA vs. IDA/IFR Decision 7.3 Intelligent Document Reader (OCR with Amazon Textract) & eSignature Integration 7.4 OmniStudio Document Generation & Dynamic PDF Production 7.5 Public Sector Operational Reporting, Compliance Dashboards & CRM Analytics

8 Chapter 8: OmniStudio for Public Sector — Guided Intake & 360 Views

8.1 OmniScript Architecture, Step Design & Conditional Branching 8.2 Data Prefill Patterns, Context Passing & Save-for-Later 8.3 FlexCard Architecture, Constituent 360 Layouts & Action Frameworks

9 Chapter 9: OmniStudio Integration & Server-Side Processing

9.1 Data Mappers (DataRaptors) — Turbo Extract, Extract, Transform & Load 9.2 Integration Procedures — Action Chaining, Batching & Error Handling 9.3 External API Integrations, HTTP Actions & Named Credentials

10 Chapter 10: Business Rules Engine (BRE) & Dynamic Fee Calculation

10.1 Expression Sets — Calculation Steps, Formulas & Versioning 10.2 Decision Tables & Decision Matrices for Policy Decisioning 10.3 Dynamic Fee Schedules, Calculation Procedures & Regulatory Pricing

11 Chapter 11: Experience Cloud Citizen Portals & Service Console

11.1 Public Sector Experience Cloud Site Templates & Citizen Self-Service 11.2 Guest vs. Authenticated User Journeys & Identity Verification 11.3 Multilingual Localization, Custom Labels & Translation Workbench 11.4 Public Sector Service Console, Workspace Tabs & Omni-Channel Routing

12 Chapter 12: Security, Compliance, Government Cloud & Best Practices

12.1 Data Security, Org-Wide Defaults (OWD) & Sharing Architecture 12.2 Government Cloud Tiers, FedRAMP & DoD Compliance 12.3 Salesforce Shield, Field Audit Trail & Platform Encryption 12.4 Declarative-First Strategy, Process Library & Deployment with IDX Workbench

13 Chapter 13: Agentforce & AI Innovation for Public Sector

13.1 Agentforce Architecture, Agent Builder & Public Sector Agents 13.2 Topic Definitions, Instructions, Actions & CRM/Data Cloud Grounding 13.3 Einstein Trust Layer, Guardrails & Responsible AI Governance

14 Chapter 14: Discovery, Requirements & Solution Design

14.1 Documenting Business Needs, Agency Value & Vision for Desired Outcomes 14.2 Discovery & Design Approaches and Solution Documentation 14.3 Mapping Business Processes, Personas & Requirements

15 Chapter 15: Org Setup, Data Management & Integration Governance

15.1 Setting Up an Org for Agentforce Public Sector 15.2 Data Management Strategy, Data Quality & Integration Governance

13.1 Agentforce Architecture, Agent Builder & Public Sector Agents

Key Takeaways Explain This Topic AI

On July 24, 2026, Salesforce formally rebranded the credential to 'Salesforce Accredited Agentforce 360 for Public Sector Professional' (AP-222), cementing the shift from passive CRM records to proactive, autonomous AI agents in government operations.

The Atlas Reasoning Engine replaces rigid intent-and-tree chatbots with an autonomous cognitive loop (Sense, Reason/Plan, Act, Evaluate) that orchestrates multi-step workflows without pre-scripted decision trees.

Public Sector Solutions deploys three primary agent archetypes: Agentforce Service Agent (constituent self-service on Experience Cloud and messaging), Agentforce Caseworker Assistant / Employee Agent (copilot in Service Console), and Agentforce Field Inspection Agent (mobile assistance for in-field inspectors).

Agent Builder is the low-code control plane where administrators configure agent identity, roles, company/agency profiles, topics, instructions, and multi-channel deployments (Experience Cloud, SMS, WhatsApp, and Service Cloud Voice).

Unlike traditional Einstein Bots that require manual dialog authoring and fall back on unexpected inputs, Agentforce dynamically selects actions, evaluates execution results, and grounds responses in real-time CRM and Knowledge data.

Last updated: September 2026

13.1 Agentforce Architecture, Agent Builder & Public Sector Agents

Exam Focus: On July 24, 2026, Salesforce officially updated the credential title from Public Sector Solutions Accredited Professional to Salesforce Accredited Agentforce 360 for Public Sector Professional (AP-222) . This milestone marked an epochal transition in government technology: shifting from static record-keeping CRMs and scripted decision-tree bots to autonomous generative AI agents capable of reasoning, planning multi-step actions, and executing public sector workflows. The AP-222 blueprint heavily assesses candidate mastery of the Atlas Reasoning Engine , the configuration lifecycle in Agent Builder , the operational distinction between Service Agents and Employee Agents, and architectural deployment patterns across digital public channels.

The Autonomous Shift: Why AP-222 Renamed to Agentforce 360

For decades, public sector digital transformation struggled under the weight of three systemic challenges:

Severe Caseworker Backlogs: Eligibility workers, building plan examiners, and social service case managers spend up to 60% of their working hours performing repetitive administrative triage—validating document completeness, reading zoning bylaws, or summarizing voluminous case histories.

Constituent Communication Friction: Citizens seeking municipal permits or emergency cash assistance expect 24/7, multilingual, mobile-friendly engagement. Traditional agency call centers operate on limited business hours with crushing hold times.

Fragility of Scripted Chatbots: First-generation conversational systems (such as classic Einstein Bots) relied on rigid, intent-based dialog trees. If a constituent phrased a question outside the trained intent model or attempted to cross conversational domains (e.g., asking about a permit fee in the middle of an inspection booking flow), the chatbot broke down, forcing frustrating fallbacks or premature agent escalations.

To resolve these structural bottlenecks, Salesforce introduced Agentforce and embedded the Atlas Reasoning Engine natively into the Public Sector Solutions (PSS) data model. On July 24, 2026, Salesforce renamed the AP-222 credential to reflect that every enterprise public sector architect must now be an autonomous agency architect—capable of deploying trusted, policy-bounded AI agents that autonomously execute government business logic while strictly safeguarding public trust.

Agentforce Platform Architecture & The Atlas Reasoning Engine

At the core of Agentforce is the Atlas Reasoning Engine , a proprietary cognitive orchestration framework that simulates human administrative problem-solving within deterministic enterprise guardrails. +-----------------------------------------------------------------------------------+

  • | Atlas Reasoning Engine Execution Loop |
  • +-----------------------------------------------------------------------------------+
  • | 1. SENSE / PERCEIVE --> Ingests constituent utterance, channel context, |
  • | authenticated User.ContactId, and session memory. |
  • | |
  • | 2. REASON / PLAN --> Evaluates active Topics, selects relevant Topic, |
  • | identifies missing slot parameters, and generates an |
  • | ordered Action Execution Plan. |
  • | |
  • | 3. ACT / EXECUTE --> Dispatches Standard & Custom Actions (Invocable Flows, |
  • | Apex, OmniStudio Integration Procedures, APIs). |
  • | |
  • | 4. EVALUATE / REFINE --> Evaluates action execution payload. If additional data is|
  • | required, re-plans; otherwise synthesizes grounded, |
  • | policy-compliant natural language response. |
  • +-----------------------------------------------------------------------------------+
  • The Four Stages of the Atlas Reasoning Loop

Sense / Perceive: When a constituent enters a query (via web chat, SMS, or voice), Atlas evaluates the raw text alongside contextual variables: Is the constituent an authenticated citizen with a known ContactId and AccountId ? What channel are they on? What is the preceding dialogue history?

Reason / Plan: Unlike traditional bots that match keywords to intent dialogs, Atlas performs semantic reasoning. It matches the utterance against defined Topics (logical domains of capability). Once a topic is selected, Atlas analyzes the topic's natural language instructions to determine whether it has sufficient information to fulfill the user's request, or if it must invoke one or more Actions .

Act / Execute: Atlas autonomously selects the appropriate action—such as an Invocable Flow to query an IndividualApplication status or an OmniStudio Integration Procedure to check business license renewal eligibility. It formats input parameters from the conversation context and triggers execution under strict platform permission sets.

Evaluate / Refine: Atlas ingests the structured output returned by the action. It evaluates whether the goal has been achieved. If an action returns an error or incomplete data (e.g., a missing parcel identification number), Atlas dynamically re-plans to ask a clarifying follow-up question. Once satisfied, it synthesizes an empathetic, plain-language response grounded in the retrieved record data, governed by the Einstein Trust Layer.

Core Public Sector Agent Archetypes

Public Sector Solutions leverages three specialized agent configurations tailored to distinct operational personas:

Agent Archetype Primary User Persona Deployment Channel Primary Capabilities & PSS Use Cases

Agentforce Service Agent Citizens, Licensees, Grant Applicants (External Constituents) Experience Cloud Portals, Messaging for In-App and Web (MIAW), SMS, WhatsApp, Voice 24/7 multilingual self-service; checking application status on IndividualApplication ; answering zoning inquiries; guiding intake checklists; scheduling building inspections.

Agentforce Caseworker Assistant (Employee Agent) Eligibility Adjudicators, Social Workers, Intake Clerks (Internal Staff) Public Sector Service Console (Lightning Record Pages, Utility Bar) Case record summarization; drafting formal notices of determination; recommending Next Best Action; synthesizing complex household relationships; assisting with Discovery Framework assessments.

Agentforce Field Inspection Agent Building Inspectors, Code Enforcement Officers, Health Investigators Salesforce Mobile App, Field Service Mobile, Tablet Console In-field voice-to-text violation logging on RegulatoryCodeViolation ; looking up municipal building codes; re-sequencing daily Visit inspection routes; generating on-site summary citations.

Agent Builder: The Administrative Control Plane

Agent Builder is the unified declarative studio within Setup where public sector administrators and architects configure, test, and activate agents. +-----------------------------------------------------------------------------------+

  • | Agent Builder Configuration Stack |
  • +-----------------------------------------------------------------------------------+
  • | [Agent Identity & Role] --> Name, Agency Persona, Tone, Plain Writing Standard |
  • | [Target Deployment] --> Experience Cloud, Service Console, Telephony/Voice |
  • | [Topics Library] --> Logical capability domains (Permits, Benefits, Visits)|
  • | [Topic Instructions] --> Boundary rules, statutory constraints, step workflows|
  • | [Action Portfolio] --> Flows, Apex, OmniStudio IPs, Prompt Templates |
  • +-----------------------------------------------------------------------------------+
  • Step-by-Step Configuration Lifecycle in Agent Builder

Define Agent Identity & Role:

Assign an administrative name and public persona (e.g., City Permitting Assistant ).

Define the agency profile and operational role: "You are an automated constituent service agent for the Department of Building Inspection. Your role is to help property owners and licensed contractors track permit filings, understand zoning requirements, and schedule site inspections."

Establish tone guidelines aligned with the federal Plain Writing Act of 2010 : "Communicate in clear, accessible language at a 7th-grade reading level. Avoid bureaucratic jargon, legal acronyms, or speculative advice. Maintain a neutral, supportive, and professional tone."

Configure Channel Deployments:

Experience Cloud: Embedded directly onto citizen self-service portals via the embedded messaging component.

Messaging Channels (MIAW): Native integration across SMS, WhatsApp, and Apple Messages for Business, allowing low-income or mobile-first constituents to text inquiries without downloading proprietary apps.

Service Cloud Voice (Telephony): Inbound interactive voice response (IVR) deflection where the agent speaks autonomously via real-time speech-to-text (STT) and text-to-speech (TTS) engines.

Service Console Utility Bar: Configured as an internal sidecar copilot for caseworkers navigating constituent account records.

Assemble Topics and Actions:

Assign discrete topics (e.g., Permit Application Status , Schedule Inspection , Benefit Inquiries ).

Attach verified standard and custom actions to each topic.

Test in the Interactive Preview Canvas:

Agent Builder provides a live execution canvas where architects can test complex constituent utterances.

Crucially, the canvas reveals the Reasoning Trail : it displays exactly which topic Atlas selected, the specific actions it evaluated, the parameters it extracted, and the raw payloads returned from CRM objects.

Autonomous Agents vs. Traditional Einstein Bots: Architectural Comparison

The AP-222 exam frequently tests an architect's ability to distinguish between legacy chatbot mechanics and autonomous Agentforce architectures.

Architectural Dimension Traditional Chatbots (Einstein Bots) Agentforce (Atlas Reasoning Engine)

Decision Architecture Rigid, deterministic decision trees and directed acyclic graphs (DAGs). Dynamic, goal-oriented reasoning loop based on semantic intent and active memory.

Intent Modeling Requires hundreds of manually curated intent utterances per dialog state; high maintenance. Zero-shot and few-shot natural language understanding derived from semantic Topic descriptions.

Contextual Agility Brittle; cannot easily pivot between unrelated subjects without explicit 'Redirect' dialogs. Fluid; effortlessly pivots between topics, evaluates multi-part questions, and resumes prior tasks.

Action Invocation Actions are hardcoded to specific dialog steps; parameters must be explicitly mapped in advance. Atlas dynamically decides which action to call and extracts required parameters from unstructured dialogue.

Data Grounding Scripted merge fields and static text templates. Real-time grounding via CRM records, Salesforce Knowledge, and Data Cloud unified constituent graphs.

Failure Handling Triggers repetitive 'Confused' dialogs, forcing hard transfers to human call queues. Dynamically re-plans, asks clarifying questions, or performs graceful, contextual handoffs to caseworkers.

  • High-Impact Public Sector Use Cases
  • 1. 24/7 Multilingual Constituent Service

Government jurisdictions frequently encompass diverse linguistic communities. Under Executive Order 13166 (Improving Access to Services for Persons with Limited English Proficiency), agencies must provide equitable access. Agentforce natively supports real-time multilingual communication across 50+ languages without requiring administrators to build and maintain separate dialog trees or translation dictionaries for each language.

2. Autonomous Permit & License Inquiries

Constituents frequently flood municipal contact centers asking: "What is the status of my commercial plumbing permit application, and why is it delayed?" An Agentforce Service Agent:

Authenticates the citizen via SMS one-time passcode (OTP) or Experience Cloud session.

Queries the BusinessLicenseApplication or IndividualApplication record.

Identifies pending dependencies (e.g., "Your application #BLA-8821 is currently pending because the Fire Prevention Bureau inspection on Visit record #VIS-0412 has not yet occurred." ).

Autonomously offers to trigger the Schedule Inspection action.

3. Guided Intake & Document Completeness Assistance

Over 40% of public benefit and license applications are rejected due to incomplete documentation. When a constituent asks what they need to apply for SNAP or a child care voucher, the agent queries the relevant DocumentChecklist and regulatory requirements. It guides the constituent through necessary income verifications, explains accepted document formats (PDF, JPEG), and initiates an upload workflow.

4. Benefit Status & Disbursement Verification

Constituents enrolled in social safety net programs (such as TANF, Medicaid, or general assistance) can check their active enrollment status, view assigned benefit amounts on BenefitAssignment , and verify scheduled payment disbursement dates without waiting on hold for a human caseworker.

  • 💡 Real-World Exam Scenarios & Case Analysis
  • Scenario 1: Transitioning from Scripted Bots to Agentforce

A state Department of Professional Regulation currently uses classic Einstein Bots on its public portal for nursing license renewals. The agency experiences a 45% drop-off rate because applicants frequently ask complex questions combining continuing education credits, criminal background affidavits, and fee waivers. The bot repeatedly triggers its fallback dialog and fails.

What is the recommended architectural solution on the AP-222 exam?

Architectural Solution: Retire the rigid Einstein Bot dialogs and deploy an Agentforce Service Agent configured via Agent Builder.

Implementation: Create distinct topics for License Renewal Status , Continuing Education Verification , and Fee Waiver Eligibility . Equip the agent with Invocable Flows to query BusinessLicenseApplication records and ground the agent in the state regulatory board's Salesforce Knowledge base. Atlas autonomously parses multi-part inquiries and coordinates responses without manual tree scripting.

Scenario 2: Alleviating Social Services Caseworker Burnout

County welfare caseworkers report spending an average of 45 minutes per client review reading through dozens of historical Case records, Assessment question responses, and uploaded document notes before conducting annual benefit recertifications.

How should the Lead Architect solve this using Agentforce?

Architectural Solution: Deploy an Agentforce Caseworker Assistant (Employee Agent) embedded directly into the Public Sector Service Console Lightning Record Page.

Implementation: Equip the Employee Agent with record summarization prompt templates and CRM grounding actions. When a caseworker opens a constituent's Account or IndividualApplication , the agent automatically generates an executive summary highlighting household income changes, flag discrepancies, and recommend whether the recertification should be auto-approved or scheduled for an interview.

Loading diagram... Agentforce Platform Architecture & Atlas Reasoning Loop