Salesforce · Slack · Claude

Agentforce, Slackforce, Claudeforce

A working example of Salesforce agents for self-service and human handoff, the Slack alerts around them, and how Claude built and documented it. Pick a page.

Agentforce, Slackforce, Claudeforce: build, connect and operate Salesforce agents with Claude

Pages

Which one do I use?

Start from what you are trying to do, not from the product name.

What are you trying to do? Someone asks, in their own words,and needs an answer or an action Agentforcea conversation A visitor asks about productsStaff ask for High priority cases A team should be told when somethinghappens, and nobody has to ask Slackforcea notification A new High priority Case arrivesA summary every morning at 8:00 You are building, changing, testingor documenting this project Claudeforcebuild-time help Add an action and run its testsWrite the docs, push to GitHub Rule of thumb a person asks → Agentforce · an event happens → Slackforce · a developer works → Claudeforce Needs often combine: an escalated chat leads to a Case, the Case triggers an alert, a teammate asks the agent about it.
Three questions cover most cases. If more than one answer is yes, combine them.

Use Agentforce

  • The input is free text and the right answer depends on what was said
  • You want routine questions answered before they reach staff
  • The person may need a human, with the chat attached
  • You need to look up or change Salesforce data in plain language

Say: "I want visitors to get answers without waiting."

Use Slackforce

  • Something happens in Salesforce and the team should know now
  • You want a regular summary nobody has to request
  • The message is the same shape every time
  • One-way is enough: no reply, no buttons

Say: "Tell the team when a High priority Case arrives."

Use Claudeforce

  • You are adding or changing code, agents or configuration
  • You need to read and document what is already in an org
  • You want tests run, failures diagnosed, docs written
  • A web step needs doing, with a person approving it

Say: "Add an action to the agent and run the tests."

How they fit together

Agentforce and Slackforce run in your Salesforce org, in front of people. Claudeforce sits underneath, at build time, and never talks to customers.

RUN TIME SALESFORCE ORG Website visitortypes a question Support staffasks about cases AGENTFORCE Site Helper agentanswers, captures, escalates Omni-Channel queuethen a human agent Case Triage agentlists cases, sets priority SLACKFORCE SlackCaseNotifierbuilds and posts the message Case triggerHigh priority Daily digest8:00 schedule Shared dataCase records · Knowledge articles Slack channelteam sees alerts and digest BUILD TIME CLAUDEFORCE Claude CodeCLI, git, tests Claude in ChromeSlack and Setup, with approval Docs and pagesdiagrams, README A developer or adminasks, reviews, approves chat reads, edits new case webhook builds, deploys, tests
Teal is Agentforce, amber is Slackforce, blue is Claudeforce. The two run-time parts share the Case object. Claudeforce builds, deploys and tests both.

Side by side

The first three do different jobs and share one org and one Case object. Salesforce in Claude is a reference page on a separate product. Claude Agents on AWS is a way to build your own agent beside them.

AgentforceSlackforceClaudeforceSalesforce in ClaudeClaude Agents on AWS
In one lineConversational agents that understand free text and act on Salesforce dataAutomatic Slack messages when something happens in SalesforceClaude helping people build, test and document the projectClaude as the interface for sellers, using Salesforce and Slack connectors (reference, beta)Your own Claude agent on AWS, shared in an LWC or a public site
Who it servesWebsite visitors and support staffThe support teamThe developer or adminSellers and sales leadersStaff on record pages and visitors on a public site
What starts itSomeone sends a messageA new Case, or the clock at 8:00A person asks Claude to do a taskA seller asks Claude, or a schedule the seller setsA click in an LWC, or a Case event
AI at run timeYes, a language model reasons about each messageNo. Plain Apex, the same output each timeYes, but only while building, never in front of customersYesYes, a Claude model you choose
Where it runsSalesforce, in the chat on your siteSalesforce, posting to SlackYour editor and your browserThe Claude app, with connectors to Salesforce and SlackLambda in your AWS account, called from Salesforce through Apex
Human in the loopHands over to a human through Omni-ChannelHumans read and act on the messagesA person approves secrets, logins, permission clicks and risky stepsThe seller approves each change before it is written, by defaultPeople read the answers. Writes are limited to an internal comment from a background job
Main pieces hereSite Helper agent, Case Triage agent, Apex actions, Knowledge, messaging channel, queueCase trigger, digest job, notifier class, webhook labelSalesforce CLI, git, Claude in Chrome, published pagesA reference page on the plugin, plus how MCP connects Claude to Salesforceaws-agent, Apex services, two LWCs, Named Credential, SAM template
Best forDeflecting routine questions and answering in contextMaking sure nothing urgent is missedDoing repeatable build, test and documentation work fastAccount research, call prep, pipeline review, CRM updatesCustom logic, other systems, a specific model, one agent shared by many apps
Not forPlain notifications and fixed rulesConversation, approvals, buttonsSecrets, production support, unreviewed production deploysCustomer-facing chat, building Salesforce metadata. Cases are not described in the articleA conversation with a human handoff inside Salesforce. Use Agentforce
StatusConfigured. Live human handoff not run by ClaudeBuilt and proven end to endUsed throughout this repoReference only, not set up hereBuilt and tested locally. Not deployed to AWS

One issue through all three

  1. Agentforce. A visitor chats that their generator will not start and asks for a person. The Site Helper router sends the chat to Escalation and Omni-Channel puts it in the queue.
  2. A human. A support agent accepts the chat and opens a High priority Case.
  3. Slackforce. The Case trigger posts an alert to the team channel within seconds.
  4. Agentforce again. A teammate asks the Case Triage Assistant for the open High priority Cases and gets the list.
  5. Claudeforce. Claude built the agents, the Apex and the alerts, wrote the tests and documented them. It plays no part in the customer conversation.

An example flow. Each step exists, but they have not been run together as one scenario.

Common mix-ups

You wantUseWhy
A notification when a Case is createdSlackforceIt is an event with a fixed message. An agent adds cost and variation for no gain.
Visitors to get answers without waitingAgentforceIt needs understanding of free text, and a path to a person.
To change what the agent says, or give it a new actionClaudeforce, then AgentforceClaude edits and tests it while you build. Agentforce is what runs afterwards.
To use the Case Triage agent from SlackAgentforce, reached from SlackThe agent does the work. Needs the Salesforce and Slack integration, which is unconfirmed on a free plan.
Sellers to ask Claude about their pipelineSalesforce in ClaudeClaude is the interface and Salesforce is the data. See the reference page. It is not set up in this repo.
My own Claude agent, outside Salesforce, shared in an LWC or a siteClaude Agents on AWSCustom logic and tools that Agentforce does not give you. You build and run it. See the page.
Claude to reach Salesforce through MCPSalesforce in Claude, MCP sectionLocal, vendor-hosted or self-hosted. Each has different pros and cons.
A secret entered, or a permission screen approvedYouNone of the three should do this for you.