Skip to content
Development
Skill

/service-omni-channel-inventory-analyze

Use to inventory configured Omni-Channel instances across Voice, Email, Chat, SMS, Facebook, WhatsApp, and In-App, including each channel's Queue, Flow, or Other routing target, without changing the org. TRIGGER when: list Omni channels, inventory Omni routing, inspect channel

From plugin
sf-skills
1.2k200 skills6 agents15 commands4 MCP

Claude Code

$ npx -y skills add forcedotcom/sf-skills --skill service-omni-channel-inventory-analyze --agent claude-code

SKILL.md

service-omni-channel-inventory-analyze.SKILL.md
name: service-omni-channel-inventory-analyze
description: "Use to inventory configured Omni-Channel instances across Voice, Email, Chat, SMS, Facebook, WhatsApp, and In-App, including each channel's Queue, Flow, or Other routing target, without changing the org. TRIGGER when: list Omni channels, inventory Omni routing, inspect channel routing targets, analyze Omni-Channel setup, or find configured service channels. Do not use to create, update, activate, or delete channels or routing configuration."
allowed-tools: Bash Read Write Grep Glob
metadata:
  version: "1.0"
  domains: ["Service"]
  minApiVersion: "66.0"
  relatedSkills:
    - "service-omni-channel-setup-coordinate"
    - "service-omni-queue-routing-config-deploy"
    - "service-omni-routing-flow-deploy"
    - "service-omni-service-channel-configure"
  accessCheck: "OrgPermissions.LightningService"
  cliTools:
    - tool: ["jq"]
      semver: ">=1.6"
    - tool: ["python3"]
      semver: ">=3.8"
    - tool: ["sf"]
      semver: ">=2.139.6"

service-omni-channel-inventory-analyze

Read the org's complete Omni-Channel setup-home inventory without making changes. The supported headless operation combines Voice, Email, Live Chat, and Messaging channel families and returns their derived routing type and routing target. Use this analyzer before changing an unfamiliar org or when a user asks what Omni channels and routing are already configured.

Inputs

bash scripts/analyze.sh <org-alias> [--type Voice|Email|Chat|SMS|Facebook|WhatsApp|InApp]
  • `org-alias` is required and must already be authenticated with Salesforce CLI.
  • `--type` is optional and case-insensitive. It filters the returned inventory without changing the source data.

Preconditions and safety

  • Target org authenticated through `sf` CLI.
  • API v66.0 or later.
  • The running user must have **View Setup and Configuration** and **Customize Application**.
  • This skill is read-only. The shared Headless dispatcher uses an HTTP POST envelope, but the invoked `getChannelInstances` controller action performs no org mutation.
  • Use `sf api request rest`; never extract or print an access token.

Run

Invoke `scripts/analyze.sh` with the target org and optional channel type. The script POSTs the approved `OmniChannelInstancesController.getChannelInstances` envelope to the shared Headless dispatcher, validates the inner response, optionally filters it, and returns a stable summary plus the matching channel instances.

The inventory includes these source fields when the platform supplies them:

| Field | Meaning | |---|---| | `id`, `label` | Channel identity and display label | | `omniChannelInstanceType` | Voice, Email, Chat, SMS, Facebook, WhatsApp, or InApp | | `routingType` | Queue, Flow, or Other | | `routingRequirementId`, `routingRequirementLabel` | Queue, flow, or other routing target | | `channelUrl`, `routingRequirementUrl` | Setup navigation links synthesized by the platform | | `icon`, `messages` | Display metadata and platform-provided notices |

Output contract

The script emits one JSON object:

  • `skill`: `service-omni-channel-inventory-analyze`
  • `status`: `analyzed` or `blocked`
  • `filter`: canonical channel type or `null`
  • `summary.total_configured`: number of instances returned by the platform before filtering
  • `summary.returned`: number of instances in `instances`
  • `summary.by_channel_type`: counts for the returned inventory
  • `summary.by_routing_type`: Queue, Flow, and Other counts for the returned inventory
  • `instances`: normalized channel instance objects
  • `blocking_issue`: actionable failure reason or `null`

An empty `instances` array with `status: analyzed` is a valid inventory result. Authentication, authorization, endpoint, or malformed-response failures return `status: blocked` and exit non-zero; never reinterpret them as an empty org.

Boundaries

  • Do not replace this operation with independent SOQL queries. No single public object API reproduces the platform's cross-family aggregation, routing-type derivation, and setup URL generation.
  • Do not infer missing routing fields. Preserve `null` when the platform does not supply a value.
  • Do not use the returned setup URLs as mutation endpoints.
  • For configuration changes, hand off to the appropriate leaf skill only after presenting the inventory to the user.

| Requested follow-up | Skill | |---|---| | Coordinate a complete Omni setup | `service-omni-channel-setup-coordinate` | | Create or reuse a Service Channel | `service-omni-service-channel-configure` | | Create or update a queue routing configuration | `service-omni-queue-routing-config-deploy` | | Deploy a QueueBased or SkillsBased routing flow | `service-omni-routing-flow-deploy` |

References

| File | When to read | |---|---| | `references/api-notes.md` | Supported endpoint, permission boundary, response fields, and why the headless operation is canonical |

Read more
@forcedotcom
Ships withsf-skills

This repository provides Salesforce agent skills, plugins, and sample apps for building applications.

1.2k200 skills6 agents4 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.2k
Star history of forcedotcom/sf-skills on GitHub, a chart by star-history.com

Other skills on sf-skills.

agentforce-observe

agentforce-observe

Analyze production Agentforce agent behavior using session traces and Data Cloud, and manage Agent Health Monitoring (AHM)…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills3w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc3w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2w252k
@facebook@facebookInstall Skill

Questions about service-omni-channel-inventory-analyze.

Which coding agents can use service-omni-channel-inventory-analyze?
service-omni-channel-inventory-analyze installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.