6-decisions-production-agent

6 decisions that make a production agent

The article emphasizes that clients value predictability over speed and cost, highlighting the importance of Hypercare and effective handoff phases.

“Digital labor” is a slogan. It doesn’t tell you the job, the data, the writes, the refusals, or who picks up when the model should stop. Before any Agentforce implementation starts in Agentforce Builder, put these six items on a whiteboard: Role, Knowledge, Actions, Guardrails, Channels, and a Human Handoff.

This list is SI methodology for implementation. Agentforce supplies the primitives — you still decide how they fit a production agent. Summer ’26 is current GA; Multi-Agent Orchestration (connected subagents) is Beta. The goal: don’t design an agent without first addressing all six decisions.

Agentforce implementation
Figure 2 — The six decisions. SI methodology, not a Salesforce product model.

01 - Role: what the agent is for.

Decide. One job, in one sentence. Who it serves. What it must never pretend to own. Agent Script’s config block holds the role and a description of goals and purpose. Pick a type: AgentforceServiceAgent or AgentforceEmployeeAgent.

Inside that job sit subagents. Beginning in April 2026, topics were renamed to subagents. A subagent is a job the agent can do: description, actions, reasoning instructions. The start_agent block (Agent Router in Canvas) classifies each utterance and routes.

Done looks like

A one-line job. A named type. A short roster of subagents with no overlapping descriptions. Required welcome and error messages. A written “out of scope” list the router can honor.

Common SI failure

A 40-line persona and no job. The model invents work you never funded. If the room cannot say what this agent will refuse, you do not have a role.

02 - Knowledge: what it is allowed to know.

6-decisions-production-agent
Figure 3 — Knowledge is named sources plus a fallback when retrieval is empty. “Ground it on the org” is not a source.

Decide. Where a correct answer comes from, and what happens when retrieval is empty. Public grounding paths include CRM context, Salesforce Knowledge, file libraries, website content indexed in Data 360, and custom retrievers. (Data Cloud was renamed Data 360 on 14 October 2025; the functionality did not change.)

Agentforce Data Libraries turn unstructured content into searchable indexes. A retriever returns passages to the model at run time. Apex citations can label Knowledge, PDFs, and external URLs. If you need Data Libraries, develop in a sandbox that can connect to Data 360.

Done looks like

Named sources. An active retriever. Citations on or off as a decision. A fallback when nothing relevant is retrieved: say so, ask a clarifying question, or escalate. Never guess.

Common SI failure

“Ground it on the org.” That is not a source. If you cannot name where a right answer lives, you cannot name where a wrong one came from.

03 - Actions: what it is allowed to do.

Decide. Every lookup, write, and side effect is an Agentforce action. Public surfaces include Flow, Apex REST, AuraEnabled methods, Apex InvocableMethod, named queries, and prompt templates. Agent Script can run an action every time a subagent runs, or expose it as a tool the LLM may choose. You can chain actions and set require_user_confirmation before an action executes.

Actions have to reach a system of record. That is an integration problem. In this meeting, design the contract: inputs, outputs, idempotency, failure. Do not design the bus.

The action table — one row per action
Action name Target Required inputs Confirmation Owner
Look up order TargetOrder Mgmt Required inputsOrder ID ConfirmationNo OwnerCommerce
Issue refund TargetPayments Required inputsOrder ID, amount ConfirmationYes OwnerFinance

Done looks like

The action table, filled in. Named queries activated in the API Catalog. Users who execute them have read access to the queried objects.

Common SI failure

A chatty agent with no actions, then a next sprint labeled “automation.” Conversation is not work. If the agent cannot read or write a record on purpose, it is a demo.

04 - Guardrails: what it must not do.

6-decisions-production-agent
Figure 4 — The three guardrail layers are connected. The agent’s path climbs from the Trust Layer through permissions to script, where a “must not” gate stops the payout.
6-decisions-production-agent
Figure 5 — Three layers, not one checkbox: Trust Layer, permissions, and script. All payment actions require downstream enforcement.

Decide. Three layers, not one checkbox.

  • Platform floor – Trust Layer: The Einstein Trust Layer provides grounding in CRM data, masking of sensitive data, toxicity detection, audit trail and feedback, and zero data retention agreements with third-party LLM partners. Salesforce also states you are responsible for LLM-generated content you share, and recommends a human check for most external-facing use cases.
  • Data floor – Permissions: An agent runs as a Salesforce user. That user’s permissions grant or deny access to records and Apex. Service agents require default_agent_user in the access block. Start with least privilege.
  • Behavior floor – Script: Agent Script lets you mark where the LLM may reason and where the agent must execute deterministically: if/else, forced action sequence, forced subagent transition. Put high-risk steps on the deterministic path. Write “must not” in instructions, then enforce it with confirmation and permissions.

Done looks like

A named agent user and permission set. A “must not” list. Deterministic paths for money, entitlement, and outbound send. A review path for customer-facing answers.

Common SI failure

Treating Trust Layer as a completed risk review. Masking and toxicity detection do not decide whether this agent may issue a credit. You do.

05 - Channels: where it actually runs.

Decide. One primary surface for v1. Only list a channel if a public Help or developer page names it for this agent type. Public docs name:

  • Slack: Build in Salesforce, add a Slack connection. Employee Agent templates exist; Service Agents need explicit member access.
  • Enhanced Chat v2: Service agents on external web chat, via a messaging connection block.
  • Headless: Agent API and custom connections.
  • Mobile: Agentforce Mobile SDK; Enhanced In-App Chat, including escalation that keeps conversation context.

Done looks like

Channel, agent type, and access model on one line. Identity mapping done. Someone owns the experience after publishing.

Common SI failure

“We’ll put it everywhere.” Each surface has a different identity, confirmation UX, and escalation plumbing. One production agent on one surface beats a half-wired presence on five.

06 - Human handoff: who takes the session when the agent should stop.

6-decisions-production-agent
Figure 6 — Escalation needs a real queue and a person behind it. An empty chair is an incident, not a soft landing.

Decide. When to stop, who receives the thread, and what context travels with it. Skip this and you have a kiosk with no attendant.

Agent Script’s utils.escalate hands off to a human service rep. It needs an active Omni-Channel connection: a connection messaging block with outbound_route_type and outbound_route_name pointing at an Omni-Channel flow. You can gate escalate on a variable (business hours is the documented pattern). utils.end_session ends the conversation when the job is done or the utterance is out of bounds.

Done looks like

A real queue with capacity. An escalation message the customer will see. A test in which a human receives the session with enough context to continue. An “I want a person” path that does not loop.

Common SI failure

An escalate tool with nobody behind it. The agent says it is connecting you. The queue is empty. That is not a soft landing. That is an incident.

If the room cannot answer all six, you are not ready to build.

This is not a go-live checklist. It is a build-readiness checklist. Open Builder after the whiteboard is full, not before. The outcome is usage: sessions that complete the job, actions that hit the record, escalations that land on a person.

Connected subagents can wait. Get one agent through these six decisions. Then talk about the second.

07 - How API People can help.

API People is a Salesforce and MuleSoft integration partner focused on banks, credit unions, and fintechs. Our team brings deep expertise in Financial Services Cloud, OmniStudio, Agentforce, Data 360, Headless 360, MuleSoft, and API-led connectivity. We connect legacy cores (Fiserv, Jack Henry, FIS, and others) so the agent’s actions actually reach the system of record.

Where we typically land
Role & subagents
Clear one-line jobs, non-overlapping subagent descriptions, and router-ready out-of-scope lists.
Knowledge
Named sources, active retrievers, citations decisions, and explicit fallbacks when retrieval is empty.
Actions
Integration contracts (inputs, outputs, idempotency, confirmation) implemented via Flow, Apex, named queries, or MuleSoft so the agent can read and write real records.
Guardrails
Least-privilege agent users, deterministic paths for money and entitlement, and script-level enforcement of “must not.”
Channels
One primary surface for v1 with correct identity mapping and ownership after publishing.
Human handoff
Real Omni-Channel queues, tested context transfer, and a path that does not loop when the customer asks for a person.

The six decisions remain yours. We help you make them complete, then implement the actions, grounding, and escalation so the agent is production-ready rather than conversational theater.

Role. Knowledge. Actions. Guardrails. Channels. Human handoff.

Fill the whiteboard first. Can your team answer all six for the agent you’re about to build?

Reach out →

FAQs

1. What should you decide before starting an Agentforce implementation?

Six things: role, knowledge, actions, guardrails, channels, and human handoff. Agentforce supplies the primitives, but every Agentforce implementation still has to decide how they fit a production agent. If the room cannot answer all six, you are not ready to build.

2. Is the Einstein Trust Layer enough for guardrails in an Agentforce implementation?

No. The Trust Layer is the platform floor: grounding, masking, toxicity detection, and audit trail. A production Agentforce implementation also needs least-privilege permissions and deterministic Agent Script paths for money, entitlement, and outbound send.

3. How does human handoff work in an Agentforce implementation?

Agent Script’s utils.escalate hands the session to a human service rep through an active Omni-Channel connection. It only works if a real queue with capacity sits behind it, and the context travels with the thread.

4. Which channel should an Agentforce implementation launch on?

One primary surface for v1, with identity mapping done and someone who owns the experience after publishing. Each surface has its own identity, confirmation UX, and escalation plumbing — one agent on one surface beats a half-wired presence on five.

Source

Agentforce fundamentals

Agent Script

Knowledge, trust and actions

Channels

Free PDF

Read it offline — get the full PDF

Fill in two fields and the download starts right here.

  • Every figure and diagram at full resolution
  • All sources, linked and cited
Document Download Form [Articles]

No spam. We respect your inbox and your data.
Contact Us

Talk to an integration expert

About your environment — no pitch deck required.

Simple Contact Form [blog page]

Naveen Nadimpalli
Naveen Nadimpalli

Naveen is a results-driven IT leader and integration architect with more than 20 years of experience delivering digital transformation across diverse industries. He brings deep expertise in Salesforce, Financial Services Cloud (FSC), OmniStudio, MuleSoft, enterprise integration, and client engagement.

He specializes in leading end-to-end transformation programs and building scalable, secure, and high-impact solutions that align technology with business objectives. Naveen is also passionate about AI security, agentic AI, and the Model Context Protocol (MCP), and regularly shares practical insights on secure, AI-assisted development.

Articles: 7
Stay ahead on integration & automation

Insights, product releases and event invites for technology leaders — straight to your inbox.

Discover more from API People

Subscribe now to keep reading and get access to the full archive.

Continue reading