Service omni channel inventory analyze

From forcedotcom/sf-skills · View interactive version

Service omni channel inventory analyze is an AI agent skill from the GitHub repository forcedotcom/sf-skills. 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

How to use this skill

Skill file

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]

Preconditions and safety

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:

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

| 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 |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.