service-omni-supervisor-config-deploy
Installation
SKILL.md
service-omni-supervisor-config-deploy
Deploy the classic Omni-Channel Supervisor Configuration (OmniSupervisorConfig) to a Salesforce org in a single Metadata API deploy. OmniSupervisorConfig is a full Metadata API type whose XSD embeds every companion as a repeatable child element, so the whole configuration — parent plus companions — lands atomically from one .omniSupervisorConfig-meta.xml file, and Salesforce rolls the companions back together on a partial failure. By default the deploy binds supervisors explicitly by user and lists the queues they monitor; profile scope is optional (see Behavior).
Inputs
bash scripts/deploy-and-report.sh <org-alias> [supervisor_count] [additional_queues_csv] [profiles_csv] [skill_visibility] [config_developer_name]
org-alias(required) — must resolve viasf org display --target-org <alias>.supervisor_count(optional, default1, range1..5) — how many activesupervisor{N}.<suffix>@example.comusers to detect and bind.additional_queues_csv(optional) — queue DeveloperNames to bind. When the coordinator supplies this list it is authoritative; when omitted, the canonicalCaseQueue,messagingqueuedefaults are used. Every requested queue must already exist on the org.profiles_csv(optional) — opt into profile-based fallback scope; supply metadata profile fullNames (e.g.Standard,ServiceCloud). Omit it to bind supervisors by user only.skill_visibility(optional, orOMNI_SUPERVISOR_SKILL_VISIBILITY) —AllSkillsorAnySkill. Omitted values preserve an existing config's selection; a new config defaults toAllSkills.config_developer_name(optional, orOMNI_SUPERVISOR_CONFIG_DEVELOPER_NAME; defaultOmni_Supervisor) — the exact classicOmniSupervisorConfig.DeveloperNameto create or reconcile. Supply it when an org has multiple supervisor configurations; the skill never guesses between candidates.OMNI_SUPERVISOR_CONFIG_MASTER_LABELoptionally sets the label for a new config. Existing labels are preserved by default.