Agent skill

Service Agentforce Channel Configure

by forcedotcom in forcedotcom/sf-skills

Wires an existing, active Agentforce agent to a channel by resolving a fallback queue, setting up inbound routing (either PATCH SessionHandlerId on the MessagingChannel, or an inbound RoutingFlow…

Apache-2.0Auto-check: notesDevOps & Cloud

Install Service Agentforce Channel Configure

skills CLI
$ npx skills add forcedotcom/sf-skills --skill service-agentforce-channel-configure -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install forcedotcom/sf-skills service-agentforce-channel-configure --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/forcedotcom/sf-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/service-agentforce-channel-configure .claude/skills/service-agentforce-channel-configure && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
service-agentforce-channel-configure
GitHub stars
1.1k
Token cost
~5.4k tokens
SKILL.md length
2,180 words
Files
16 (incl. scripts, references, assets)
Skills in repo
252
Repo updated
First seen
Licence
Apache-2.0

At a glance

Wires an existing, active Agentforce agent to a channel by resolving a fallback queue, setting up inbound routing (either PATCH SessionHandlerId on the MessagingChannel, or an inbound RoutingFlow…

  • Works in 4 steps: Production write-guard (mandatory,… → Verify agent and resolve queue → Wire inbound routing → …
  • The user wants to add a channel to an existing agent
  • SKILL.md covers Scope, Required inputs, Workflow and Rules / constraints, plus 2 more sections
  • Runs Python scripts from its folder; calls sf and python3

What it does

Service Agentforce Channel Configure is an agent skill from forcedotcom/sf-skills. Wires an existing, active Agentforce agent to a channel by resolving a fallback queue, setting up inbound routing (either PATCH SessionHandlerId on the MessagingChannel, or an inbound RoutingFlow for Voice/Email), and optionally configuring outbound escalation. Use when the user wants to add a channel to an existing agent, connect an agent to a messaging or voice channel, route Voice or Email-to-Case to an Agentforce agent, or set up a fallback queue for an agent channel. Also applies to an existing Help Agent…

Its SKILL.md is about 5.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 20 other files, including scripts, reference files and assets (for example `references/agent-wiring.md`, `references/botemaildefinition.md` and `references/channel-branch-email.md`).

It sits in DevOps & Cloud, covering Deployment. The repository describes itself as: Salesforce's curated collection of agent skills for building applications. Optimized for Agentforce Vibes, compatible with all AI tools. The licence is Apache-2.0.

When your agent uses it

  • The user wants to add a channel to an existing agent
  • Connect an agent to a messaging
  • Email-to-Case to an Agentforce agent
  • Set up a fallback queue for an agent channel

Example prompts

  • “Use the service-agentforce-channel-configure skill to wire an existing, active Agentforce agent to a channel by resolving a fallback queue, setting…”
  • “/service-agentforce-channel-configure”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Production write-guard (mandatory, before any write)
  2. Verify agent and resolve queue
  3. Wire inbound routing
  4. Outbound escalation (optional)

What it can do on your machine

Read from SKILL.md and the folder at commit 4bbae5c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Write
    • Edit
    • Glob
    • Grep
    • AskUserQuestion

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • sf
    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Service Agentforce Channel Configure loads about 5.4k tokens when it runs, and up to ~25k if it reads all its reference files. Until then it costs about 264 tokens; SKILL.md has 2,180 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~264
When it runs · the whole SKILL.md, loaded when a task matches
~5.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~25k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from forcedotcom/sf-skills at commit 4bbae5c, republished under its Apache-2.0 licence (© forcedotcom). 2,180 words, ~5,380 tokens.

Download SKILL.mdSave it as .claude/skills/service-agentforce-channel-configure/SKILL.md (or your agent's skills folder). This skill also uses 15 other files; get the full folder from GitHub.
name
service-agentforce-channel-configure
description
Wires an existing, active Agentforce agent to a channel by resolving a fallback queue, setting up inbound routing (either PATCH SessionHandlerId on the MessagingChannel, or an inbound RoutingFlow for Voice/Email), and optionally configuring outbound escalation. Use when the user wants to add a channel to an existing agent, connect an agent to a messaging or voice channel, route Voice or Email-to-Case to an Agentforce agent, or set up a fallback queue for an agent channel. Also applies to an existing Help Agent. The channel infrastructure must already exist — this skill adds routing. DO NOT TRIGGER when the agent does not yet exist or still needs Help Agent setup (use agentforce-generate or service-helpagent-coordinate), when setting up Email-to-Case with an agent end-to-end (use service-email-to-case-configure), when creating the MessagingChannel itself (use service-digital-engagement-channel-configure), or when creating an Embedded Service Deployment (use service-digital-engagement-deployment-configure).
allowed-tools
Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion
metadata.version
1.1
metadata.domains
Service, Agentforce
metadata.minApiVersion
67.0
metadata.relatedSkills
agentforce-generate, service-agentforce-human-escalation-configure, service-digital-engagement-channel-configure…

service-agentforce-channel-configure: Wire an Agentforce agent to a channel

Adds inbound routing between an existing channel and an existing Agentforce agent. The agent receives work items from the channel; a fallback queue handles overflow when the agent is unavailable.

This skill is generic — it works for any Agentforce agent, not just the Help Agent template.

Scope

In scope:

  • Resolving or creating a fallback queue with the correct QueueSobject SobjectType
  • Branch A (Enhanced Chat / Enhanced Messaging): deploying sessionHandlerType=AgentforceServiceAgent + sessionHandlerQueue on an existing MessagingChannel, then binding SessionHandlerId via Data API PATCH
  • Branch B (Voice): assumes the phone number and PstnVoice MessagingChannel already exist (provisioned by the caller, e.g. service-helpagent-coordinate), then creating an inbound RoutingFlow (routingType: Copilot) that routes to the agent with the queue as fallback
  • Branch C (Email-to-Case): inbound routing via direct case-owner assignment or an Omni-Channel RoutingFlow, plus deploying a BotEmailDefinition (Email Configuration) that links the agent to Service Email and binding it to the routing address
  • Optional outbound escalation: delegating the verified agent-to-human handoff contract to service-agentforce-human-escalation-configure

Out of scope:

  • Creating the agent — use agentforce-generate or service-helpagent-coordinate
  • Creating the MessagingChannel — use service-digital-engagement-channel-configure
  • Creating the Embedded Service Deployment — use service-digital-engagement-deployment-configure
  • Creating the Voice or Email-to-Case channel infrastructure

Required inputs

  • Agent DeveloperName and agent label (MasterLabel) — must be an existing, active agent
  • Channel type — one of: Enhanced Chat, Enhanced Messaging (3rd-party), Voice, Email-to-Case
  • Channel identifier — MessagingChannel DeveloperName (Branch A), or the channel name/context (Branches B/C)
  • Target org alias

Workflow

Steps are sequential. Read references/channel-types.md first to confirm the routing branch before proceeding.

Phase 0 — Production write-guard (mandatory, before any write)

This skill performs metadata/data writes (MessagingChannel edits, RoutingFlow deploys, agent republish). Before any write, classify the target org and refuse real production:

bash
sf data query --target-org $ORG --json \
  --query "SELECT Id, IsSandbox, TrialExpirationDate, OrganizationType FROM Organization LIMIT 1"
  • safe_to_write is true only when IsSandbox=true, OR TrialExpirationDate is non-null (trial/CDO), OR OrganizationType is Developer Edition / Base Edition.
  • If safe_to_write is false, stop — state plainly that this is a real production customer org and escalation/channel wiring will not be applied. Do not proceed to any write phase.
  • If safe_to_write is true, show the write plan (which MessagingChannel/RoutingFlow/agent will change) and get explicit user confirmation of the target org before continuing.

Never bypass this gate — a mistaken production write here reroutes live customer traffic.

Phase 1 — Verify agent and resolve queue
  1. Confirm the agent exists and has an active version:

    bash
    # Get the definition
    sf data query --target-org $ORG --json \
      --query "SELECT Id, DeveloperName, MasterLabel FROM BotDefinition WHERE DeveloperName='{AGENT_DEVELOPER_NAME}'"
    
    # Check for an Active version
    sf data query --target-org $ORG --json \
      --query "SELECT Id, Status FROM BotVersion WHERE BotDefinitionId='{BOT_DEFINITION_ID}' AND Status='Active' LIMIT 1"

    Stop with a clear message if the definition is not found or no version has Status = Active.

    Branch A caveat — an Active BotVersion is necessary but NOT sufficient to bind as sessionHandlerAsa. The platform only accepts an agent that is provisioned/connected as a deployable Agentforce Service Agent (typically an ExternalCopilot). Binding an agent that is merely Active fails the Phase 2 deploy with Only active Agentforce Service Agents are supported for a Messaging Channel. Confirm bindability read-only before writing: if any MessagingChannel on the org already uses sessionHandlerType=AgentforceServiceAgent, retrieve it (sf project retrieve start --metadata "MessagingChannel:{EXISTING}" --target-org $ORG) and read its <sessionHandlerAsa> — that set is the org's provably-bindable ASAs. If the chosen agent is not a provisioned ASA and no bindable ASA exists, stop and report BLOCKED: provide an agent that is provisioned as an Agentforce Service Agent.

  2. Resolve the fallback queue and routing configuration — follow references/queue-resolution.md:

    • Determine SobjectType from the channel type (see references/channel-types.md)
    • Query existing compatible queues; present via AskUserQuestion or create new
    • Query for an existing QueueRoutingConfig; create one with the correct capacity percentage if absent
    • Capture QUEUE_DEVELOPER_NAME, QUEUE_NAME, and QUEUE_ID

Phase 2 — Wire inbound routing
Live-traffic warning gate (runs before any branch)

Before making any routing change, detect whether the channel already has active inbound routing (Branch A: non-empty SessionHandlerType; Branches B/C: any active RoutingFlow assigned to the service channel). If it does, first check whether the user's prompt already answered the timing choice ("do not cut over" / "wire manually" / "review first" → defer silently; "cut over now" / "activate immediately" → proceed silently). Only if the prompt is silent, warn via AskUserQuestion and let the user choose "Re-route now" or "Set up, then wire manually" — and on any ambiguous or no-selection response, default to the deferred path (never to a live re-route). When deferred, set DEFER_INBOUND_ROUTING=true, skip the channel-activation step in the chosen branch, and print the manual wiring instructions at the end of Phase 2.

If the channel has no existing routing, skip this gate entirely and proceed directly.

Full detection queries, exact AskUserQuestion block, deferred-flow rules per branch, and manual-wiring copy: references/live-traffic-gate.md.


Branch A — Enhanced Chat / Enhanced Messaging (3rd-party)

No RoutingFlow required. Deploy the MessagingChannel with sessionHandlerType + sessionHandlerQueue only, then bind the bot via a Data API PATCH. sessionHandlerAsa is not accepted by the Metadata API at v67 — the deploy silently drops it and SessionHandlerId stays null unless you run the PATCH. The bot must be Active before the PATCH ("Only active Agentforce Service Agents are supported" otherwise).

Run all five steps in order. Perform retrieve and edit in the current SFDX project, so the deploy reads the edited .messagingChannel-meta.xml from force-app; do not use a temporary directory.

  1. Retrieve the current MessagingChannel metadata into the working-directory project:

    bash
    sf project retrieve start \
      --metadata "MessagingChannel:{CHANNEL_DEVELOPER_NAME}" \
      --target-org $ORG
  2. Edit the retrieved .messagingChannel-meta.xml in place — set exactly these two fields (do NOT add <sessionHandlerAsa>):

    xml
    <sessionHandlerType>AgentforceServiceAgent</sessionHandlerType>
    <sessionHandlerQueue>{QUEUE_DEVELOPER_NAME}</sessionHandlerQueue>

    Apply this edit with the file-editing tool (Edit/Write) so the change is saved to the retrieved file at force-app/main/default/messagingChannels/{CHANNEL_DEVELOPER_NAME}.messagingChannel-meta.xml in the working directory — do not hand-edit it through an inline sed/cat heredoc into a temp path. The deploy in step 3 must read this same on-disk file.

  3. Deploy:

    bash
    sf project deploy start \
      --metadata "MessagingChannel:{CHANNEL_DEVELOPER_NAME}" \
      --target-org $ORG

    If the deploy fails with Only active Agentforce Service Agents are supported for a Messaging Channel, the agent is not a bindable ASA on this org (see the Phase 1 caveat). Do not retry with the same agent — the channel is left unchanged (the failed deploy is atomic). Report BLOCKED with the remediation: bind an agent already provisioned as an Agentforce Service Agent, or provision this one, then re-run.

  4. Bind the bot via Data API PATCH:

    bash
    CHAN_ID=$(sf data query --target-org $ORG --json \
      --query "SELECT Id FROM MessagingChannel WHERE DeveloperName='{CHANNEL_DEVELOPER_NAME}'" \
      | python3 -c "import sys,json; print(json.load(sys.stdin)['result']['records'][0]['Id'])")
    BOT_ID=$(sf data query --target-org $ORG --json \
      --query "SELECT Id FROM BotDefinition WHERE DeveloperName='{AGENT_DEVELOPER_NAME}'" \
      | python3 -c "import sys,json; print(json.load(sys.stdin)['result']['records'][0]['Id'])")
    QUEUE_ID=$(sf data query --target-org $ORG --json \
      --query "SELECT Id FROM Group WHERE Type='Queue' AND DeveloperName='{QUEUE_DEVELOPER_NAME}'" \
      | python3 -c "import sys,json; print(json.load(sys.stdin)['result']['records'][0]['Id'])")
    
    sf api request rest --method PATCH -o $ORG \
      "/services/data/v67.0/sobjects/MessagingChannel/${CHAN_ID}" \
      --body "{\"SessionHandlerId\":\"${BOT_ID}\",\"FallbackQueueId\":\"${QUEUE_ID}\"}"
    # Expected: HTTP 204
  5. Verify:

    bash
    sf data query --target-org $ORG --json \
      --query "SELECT SessionHandlerId, FallbackQueueId FROM MessagingChannel WHERE Id='${CHAN_ID}'"

    Both SessionHandlerId and FallbackQueueId must be non-null.

No agent file changes — no republish needed. Proceed to Phase 3 (optional).


Branch B — Voice

Wire the PstnVoice MessagingChannel through an inbound Copilot RoutingFlow, with the queue as fallback, and add the required modality voice: block before republishing the agent.

Follow references/channel-branch-voice.md end to end. Highlights:

  • Step 0 — reuse an existing PstnVoice MessagingChannel or have service-helpagent-coordinate provision one first using that skill's Voice channel reference; abort if the org uses a partner telephony provider (see references/channel-types.md).
  • Steps 1–3 — write and deploy the inbound RoutingFlow using the template in references/routing-flow.md, verifying ActiveVersionId is non-null.
  • Step 4 — deploy a MessagingChannel metadata file for {CHANNEL_DEVELOPER_NAME} with sessionHandlerType=Flow, sessionHandlerFlow={FLOW_DEVELOPER_NAME}, sessionHandlerQueue={QUEUE_DEVELOPER_NAME}. Without this the flow is never executed and calls hang up. Verify SessionHandlerId starts with 300.
  • Step 5 — append the platform-default modality voice: block (voice_id UgBBYS2sOqTuMpoF3BR0, "Mark", en_US) to the .agent file if missing; do not ask the user. Republish per references/agent-wiring.md.

Proceed to Phase 3 (optional).


Branch C — Email-to-Case

Let the user choose direct case-owner assignment or an Omni-Channel Copilot RoutingFlow. This branch requires API v68.0+, a connection service_email: surface, and a BotEmailDefinition.

Follow references/channel-branch-email.md end to end. Load-bearing gotchas (full walkthrough in that file):

  • Step 1 — bind routing-address fields via Tooling-API PATCH or a --metadata-dir Settings:Case deploy, never a source --metadata Settings:Case deploy (it reads sourceApiVersion and mutates the user's project).
  • Step 2 — choose inbound routing (AskUserQuestion): case-owner (caseOwner = the agent's bot user) or Omni-Channel flow (Copilot RoutingFlow + routingFlow/fallbackQueue). Resolve the bot user either way; routing fields go in the Step 4d deploy.
  • Step 3 — the agent is already active, so add the mandatory connection service_email: surface via deactivate → publish → activate (a plain publish fails with couldn't find the default agent user). Batch the outbound route here too if escalation is wanted.
  • Step 4 — BotEmailDefinition: preflight the save-time gates, validate the reply template, deploy via --metadata-dir, then bind the routing address in one Settings:Case deploy (botEmailDefinition + Step 2 routing fields + the required casePriority). Stop on failure.

Branch C is complete once the routing-address binding is verified. Proceed to Phase 3.


Show full SKILL.md (858 more words)Show less
Phase 3 — Outbound escalation (optional)

Authoritative owner: full agent-to-human escalation is owned by service-agentforce-human-escalation-configure. This includes the escalation topic, planner coupling, staffed human queue, outbound flow, failure-threshold directives, republish, and deterministic verification.

After inbound routing is confirmed, ask the user:

"Inbound routing is now set up — the channel will route to [agent name]. Do you also want to configure outbound escalation so the agent can hand off to a human when requested?"

If yes, delegate to service-agentforce-human-escalation-configure. Pass the resolved agent, channel type, context object, and fallback queue as known inputs. Do not duplicate that skill's write or verification steps here.


Rules / constraints

RuleRationale
Verify the agent exists and is Active before making any changesWiring a channel to a non-existent or inactive agent silently fails at runtime
If the channel already has active inbound routing, honor an explicit defer/cutover intent in the prompt without asking; otherwise warn via AskUserQuestion and default to defer on ambiguityRe-routing takes effect immediately and affects live traffic — queue and RoutingFlow creation always proceed; only the activation step is gated, and the safe default is non-destructive
When deferred, print exact manual wiring instructions before Phase 3The operator needs to know precisely what to run when they're ready to cut over
Never modify the MessagingChannel without retrieving the current metadata firstOverwriting without retrieval discards existing settings
Branch A: no RoutingFlow, no agent republish; deploy sessionHandlerType + sessionHandlerQueue via metadata, then bind SessionHandlerId via Data API PATCHsessionHandlerAsa is not accepted by the Metadata API at v67 — the deploy silently drops it, so bot binding must happen via the Data API PATCH after deploy. Bot must be Active before the PATCH
Branches B/C: always create a new RoutingFlow — never reuse existing org flowsOOB platform flows commonly have ActiveVersionId: null and cannot be referenced
Branches B/C: use routingType: Copilot and copilotLabel — not QueueBasedQueueBased routes to the queue directly; Copilot routes to the agent first with the queue as fallback
Queue Id must be queried and embedded in the RoutingFlow XMLThe queueId parameter requires a hardcoded 18-char record Id — do not leave it empty
Queue naming: {ChannelTypeLabel} QueueNamed after the channel type, not the agent
Outbound escalation is optional — never block inbound routing completion on itInbound and outbound are independent; inbound wiring is complete without the outbound step
Branch C: deploy BotEmailDefinition via --metadata-dir, never --metadata BotEmailDefinition:<name>Not in the CLI's SDR registry, so the named-type deploy fails; metadata-format works
Branch C: do not wire an agent carrying a ServiceCustomerVerification topic to emailDetect and stop — do not auto-remove (may be legitimate for a multi-surface agent). See channel-branch-email.md Step 4a

Verification checklist

Queue
  • Queue has a QueueSobject record with the correct SobjectType for the channel type
  • Running user is a member of the queue (if newly created)
  • Queue has a QueueRoutingConfig with the correct CapacityPercentage (50 / 100 / 25 for Chat / Voice / Email)
Branch A — MessagingChannel
  • SessionHandlerType = AgentforceServiceAgent after deploy
  • Bot is Active before the Data API PATCH
  • SessionHandlerId is non-null after the Data API PATCH (matches the bot's BotDefinition.Id, starts with 0Xx)
  • FallbackQueueId is non-null after the Data API PATCH (matches the resolved queue Id)
Branches B/C — RoutingFlow
  • RoutingFlow ActiveVersionId is non-null
  • routingType = Copilot in the flow's routeWork action
  • copilotLabel matches the agent's exact MasterLabel
  • queueId is populated (non-empty)
Branch C — Email routing address
  • If new: EmailRoutingAddress record created with correct PersonalName and Address
  • If new: CaseSettings patched with caseOrigin, saveEmailHeaders: true, addressType: EmailToCase
  • If new: user informed that a verification email was sent to the support address (non-blocking)
Branch C — BotEmailDefinition
  • Preflight passed: agent is EinsteinServiceAgent with a bot user holding agentforceServiceAgentUser; active version carries the ServiceEmail surface; no ServiceCustomerVerification topic on the email agent
  • Reply EmailTemplate is SFX, HTML, public, and contains [[[GENERATED_CONTENT]]] + [[[LEGAL_DISCLOSURE]]]
  • Headless path (API ≥68): BotEmailDefinition deployed via --metadata-dir with success: true; legalDisclaimer/signature ≥10 chars
  • Routing address's botEmailDefinition child set to the deployed component fullName
  • Inbound routing set on the same routing address: caseOwner+caseOwnerType or routingFlow+fallbackQueue, with casePriority present
Optional Phase 3 — Outbound escalation
  • service-agentforce-human-escalation-configure returned CONFIGURED or ALREADY-CONFIGURED

Reference file index

FileWhen to read
references/channel-types.mdPhase 1 — determine SobjectType and routing branch
references/queue-resolution.mdPhase 1 — queue lookup, creation, and Id capture
references/live-traffic-gate.mdPhase 2 — detection queries, deferred-flow rules, and manual wiring copy for the live-traffic warning gate
references/channel-branch-voice.mdBranch B — full Voice inbound wiring: PstnVoice channel selection, RoutingFlow, MessagingChannel assignment, modality voice: republish
references/channel-branch-email.mdBranch C — full Email-to-Case wiring: API v68.0+ precondition gate, CaseSettings flags, EmailRoutingAddress + read-modify-write patch, inbound RoutingFlow, mandatory connection service_email: surface block, headless BotEmailDefinition deploy, routing-address binding
references/botemaildefinition.mdBranch C Step 4 — BotEmailDefinition fields, save-time validation order, ASA template rules, --metadata-dir deploy recipe, ServiceEmail surface prerequisite, composite org gate
references/routing-flow.mdBranches B/C — inbound RoutingFlow XML template, deploy, verify
references/agent-wiring.mdPhase 3 (optional) — outbound escalation connection block
assets/BotEmailDefinition.botEmailDefinition-meta.xmlBranch C Step 4c — starting template for the BotEmailDefinition source file
assets/mdapi-package.xmlBranch C Step 4c — metadata-format package.xml for the --metadata-dir deploy
assets/email/unfiled$public/AgentforceForServiceEmailTemplate.email + .email-meta.xmlBranch C Step 4b (fallback) — minimal ASA-compliant SFX reply template when the user has none
scripts/validate-botemaildefinition.pyBranch C Step 4c — validate the BotEmailDefinition file before deploy
scripts/validate-emailtemplate.pyBranch C Step 4b (fallback) — validate the SFX template before deploy

© forcedotcom, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 15 other files (scripts, references, assets) in skills/service-agentforce-channel-configure of forcedotcom/sf-skills.

  • SKILL.md
  • assets/BotEmailDefinition.botEmailDefinition-meta.xml
  • assets/email/unfiled$public/AgentforceForServiceEmailTemplate.email
  • assets/email/unfiled$public/AgentforceForServiceEmailTemplate.email-meta.xml
  • assets/mdapi-package.xml
  • assets/settings-mdapi-package.xml
  • references/agent-wiring.md
  • references/botemaildefinition.md
  • references/channel-branch-email.md
  • references/channel-branch-voice.md
  • references/channel-types.md
  • references/live-traffic-gate.md
  • references/queue-resolution.md
  • references/routing-flow.md
  • scripts/validate-botemaildefinition.py
  • scripts/validate-emailtemplate.py

Open the folder on GitHubat commit 4bbae5c

Compare with similar skills

Service Agentforce Channel Configure next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Service Agentforce Channel Configure compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Service Agentforce Channel Configure this skillforcedotcom/sf-skills1.1k—~5.4kAutomated safety check: NotesApache-2.0
Kubeshark Installerkubeshark/kubeshark12k—~3.6kAutomated safety check: NotesApache-2.0
GreptimeDB Dev Docker ImageGreptimeTeam/greptimedb6.7k—~4kAutomated safety check: NotesApache-2.0
KubeSphere ServiceMesh Managerkubesphere/kubesphere17k—~2.4kAutomated safety check: PassCustom licence
Vercelremotion-dev/remotion63k—~1.2kAutomated safety check: PassCustom licence
AWS Cdk Developmentzxkane/aws-skills3672 repos~2.5kAutomated safety check: PassMIT

Similar skills

  • Kubeshark Installer

    kubeshark/kubeshark

    Installs and configures Kubeshark on a Kubernetes cluster, choosing between the quick CLI path and a Helm install with custom values.

    12k GitHub stars~3.6k tokensUpdated yesterday
    DevOps & CloudAuto-check: notes
  • GreptimeDB Dev Docker Image

    GreptimeTeam/greptimedb

    Packages a locally built GreptimeDB debug binary into a development-only Docker image for local-cluster testing, with an optional push to a dev registry.

    6.7k GitHub stars~4k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • KubeSphere ServiceMesh Manager

    kubesphere/kubesphere

    Installs, checks and troubleshoots the KubeSphere ServiceMesh extension (Istio, Kiali, Jaeger), including grayscale release, sidecar injection, topology and tracing issues.

    17k GitHub stars~2.4k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check passed
  • Vercel

    remotion-dev/remotion

    Official

    Set up a Codex monitor for Vercel deployments and preview URLs.

    63k GitHub stars~1.2k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • AWS Cdk Development

    zxkane/aws-skills

    AWS Cloud Development Kit (CDK) expert for building cloud infrastructure with TypeScript/Python.

    367 GitHub starsUsed in 2 repos~2.5k tokens
    DevOps & CloudAuto-check passed
  • Senior DevOps Toolkit

    maslennikov-ig/claude-code-orchestrator-kit

    Comprehensive DevOps skill for CI/CD, infrastructure automation, containerization, and cloud platforms (AWS, GCP, Azure). Includes pipeline setup…

    260 GitHub starsUsed in 6 repos~1.1k tokens
    DevOps & CloudAuto-check: notes

More from forcedotcom/sf-skills

All 252 skills in this repo
  • Agentforce Architecture Analyze

    forcedotcom/sf-skills

    Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA plugins.

    1.1k GitHub stars~4.5k tokensUpdated yesterday
    Auto-check passed
  • Agentforce D360 Analyze

    forcedotcom/sf-skills

    Data Cloud 360° view of a single Agentforce session. An agent skill from forcedotcom/sf-skills.

    1.1k GitHub stars~3.4k tokensUpdated yesterday
    Auto-check passed
  • Apply a Salesforce sandbox post-copy automation JSON config against a target org.

    1.1k GitHub stars~5.3k tokensUpdated yesterday
    Auto-check: notes
  • Apply a Salesforce sandbox post-copy automation JSON config against a target org.

    1.1k GitHub stars~5.4k tokensUpdated yesterday
    Auto-check: notes
  • Design Systems Slds Apply

    forcedotcom/sf-skills

    Apply SLDS-compliant UI using the correct blueprints, styling hooks, utility classes, and icons.

    1.1k GitHub stars~3.7k tokensUpdated yesterday
    Auto-check passed
  • Experience Lwc Generate

    forcedotcom/sf-skills

    Lightning Web Components with PICKLES methodology and 165-point scoring.

    1.1k GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Service Agentforce Channel Configure

What does Service Agentforce Channel Configure do?

Wires an existing, active Agentforce agent to a channel by resolving a fallback queue, setting up inbound routing (either PATCH SessionHandlerId on the MessagingChannel, or an inbound RoutingFlow…. Service Agentforce Channel Configure is an agent skill from forcedotcom/sf-skills. Wires an existing, active Agentforce agent to a channel by resolving a fallback queue, setting up inbound routing (either PATCH SessionHandlerId on the MessagingChannel, or an inbound RoutingFlow for Voice/Email), and optionally configuring outbound escalation.

When should I use Service Agentforce Channel Configure?

Service Agentforce Channel Configure fits situations like: the user wants to add a channel to an existing agent; connect an agent to a messaging; email-to-Case to an Agentforce agent; set up a fallback queue for an agent channel.

How do I install Service Agentforce Channel Configure in Claude Code?

Run `npx skills add forcedotcom/sf-skills --skill service-agentforce-channel-configure -a claude-code`. Or copy the skill folder (skills/service-agentforce-channel-configure in forcedotcom/sf-skills) into .claude/skills/service-agentforce-channel-configure in your project. Claude Code loads it when a task matches its description.

How do I install Service Agentforce Channel Configure in Codex?

Run `npx skills add forcedotcom/sf-skills --skill service-agentforce-channel-configure -a codex`. Or copy the skill folder (skills/service-agentforce-channel-configure in forcedotcom/sf-skills) into .agents/skills/service-agentforce-channel-configure in your project. Codex loads it when a task matches its description.

Can I use Service Agentforce Channel Configure in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add forcedotcom/sf-skills --skill service-agentforce-channel-configure -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/service-agentforce-channel-configure, .gemini/skills/service-agentforce-channel-configure, .github/skills/service-agentforce-channel-configure and .opencode/skills/service-agentforce-channel-configure in your project.

What does Service Agentforce Channel Configure need to run?

Going by SKILL.md and its folder, Service Agentforce Channel Configure needs Python for the scripts in its folder and the command-line tools its instructions call (sf and python3). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion.

Does Service Agentforce Channel Configure access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Service Agentforce Channel Configure safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Service Agentforce Channel Configure use?

Service Agentforce Channel Configure is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Service Agentforce Channel Configure use?

About 5.4k tokens (SKILL.md is roughly 22k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 19k tokens, read only when the agent opens those files.

What are the alternatives to Service Agentforce Channel Configure?

Skills that share tags, products or a category with Service Agentforce Channel Configure: Kubeshark Installer (kubeshark/kubeshark, 12k stars), GreptimeDB Dev Docker Image (GreptimeTeam/greptimedb, 6.7k stars), KubeSphere ServiceMesh Manager (kubesphere/kubesphere, 17k stars) and Vercel (remotion-dev/remotion, 63k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Service Agentforce Channel Configure?

forcedotcom (a GitHub organization) maintains it in forcedotcom/sf-skills, which has 1,067 GitHub stars. The repository holds 252 skills in this directory. The repository was last updated on October 9, 2026.

Source: forcedotcom/sf-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.