service-omni-channel-inventory-analyze
SkillCommunicationLets your agent list the Salesforce service channels configured in an org and see how each one routes work.
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the service-omni-channel-inventory-analyze skill
About this skill
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, analy
What this skill tells your AI
The instructions your AI receives, as published by forcedotcom/sf-skills in skills/service-omni-channel-inventory-analyze/SKILL.md and read by ahel’s review.
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-aliasis required and must already be authenticated with Salesforce CLI.--typeis optional and case-insensitive. It filters the returned inventory without changing the source data.
Preconditions and safety
- Target org authenticated through
sfCLI. - 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
getChannelInstancescontroller 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-analyzestatus:analyzedorblockedfilter: canonical channel type ornullsummary.total_configured: number of instances returned by the platform before filteringsummary.returned: number of instances ininstancessummary.by_channel_type: counts for the returned inventorysummary.by_routing_type: Queue, Flow, and Other counts for the returned inventoryinstances: normalized channel instance objectsblocking_issue: actionable failure reason ornull
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
nullwhen 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 |
Signals
- GitHub stars
- 1k
- Forks
- 351
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
service-omni-channel-inventory-analyze- Source
- github.com/forcedotcom/sf-skills
github.com/forcedotcom/sf-skills
Related picks
Skill · aaronnat23
The pick for Whatsappwhatsapp-marketing
Skill · arnabbagxd
The pick for Whatsappautomation-flow-generate
Skill · forcedotcom
The pick for Salesforceposthog-inbound-leads
Skill · posthog
The pick for Salesforceslack-gif-creator
Skill · anthropics
More in Communicationerror-handling
Skill · affaan-m
More in Communication