--- name: service-omni-presence-status-deploy description: "Create the standard Available and Busy presence statuses needed for Omni-Channel routing. TRIGGER when users ask to deploy Omni presence statuses, configure agent availability, deploy Omni status metadata, create an Available status for Case, Incident, Messaging, or Voice, or add the standard Busy status. DO NOT TRIGGER for custom status designs, unsupported objects, or PresenceUserConfig capacity." allowed-tools: Bash Read Write Edit Glob Grep metadata: version: "1.0" domains: ["Service"] minApiVersion: "66.0" relatedSkills: - "service-omni-base-settings-configure" - "service-omni-channel-setup-coordinate" - "service-omni-permission-set-assign" - "service-omni-service-channel-configure" accessCheck: - type: license value: ServiceCloud cliTools: - tool: ["jq"] semver: ">=1.6" - tool: ["sf"] semver: ">=2.139.6" --- # service-omni-presence-status-deploy Deploy the sObject-specific `Available_` ServicePresenceStatus bound to that sObject's ServiceChannel, and ensure a universal `Busy` status exists, in one atomic Metadata API deploy. Every Omni agent needs an "available for work" status carrying a channel (so incoming work routes) and an "off-work" status (so they can step away). A presence status binds to exactly one ServiceChannel by DeveloperName, so each routing target needs its own Available status. It pairs with `service-omni-permission-set-assign`, which grants agents access to the statuses this skill deploys, and is invoked once per routing target by `service-omni-channel-setup-coordinate`. | Target sObject | Available status | Bound channel | |---|---|---| | `Case` | `Available_Case` | `Cases` | | `Incident` | `Available_Incident` | `Incidents` | | `MessagingSession` | `Available_Messaging` | `sfdc_livemessage` | | `VoiceCall` | `Available_Voice` | `sfdc_phone` | **Busy is UI-defined, not metadata-defined.** The Omni "Busy vs Online" option is not expressible via the Metadata API — a `ServicePresenceStatus` carries only `