/sf-service-itsm:service-voice-configuration-managefrom sf-service-itsm
Lists, creates, updates, and deletes native Contact Center voice configurations (VoiceTelephonyDefinition) via the thb-voice-config Connect API. Resolves pre-dial flow, users, profiles, and caller-line IDs from the org before writing.
Ships in sf-service-itsm. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Drives the thb-voice-config Connect API to manage voice configurations
(VoiceTelephonyDefinition, key prefix 1pK) for native Contact Center. A voice configuration
holds a dialing prefix, a dialing region, a default caller Id, a pre-dial flow, and a set of
assigned users and profiles. This skill lists and inspects configurations, creates new ones,
updates existing ones, and deletes them — resolving the Ids a configuration needs from the org
before writing.
MessagingChannel/voice channels (use
service-agentforce-contact-center-coordinate); outbound dialing / campaign configuration;
and any non-voice configuration.403; stop and tell the user
they need Contact Center admin access.Gather or confirm before acting:
sf org display --json and read result.alias (falling back to
result.username); use that as <alias> for every script. Never run an interactive login.1pK…). If the user names a
configuration by label, resolve the Id with list-configurations.sh first.All steps are sequential. If a step fails or any API call returns a non-2xx, stop and report the error rather than continuing.
Run autonomously. Do not block on the user. Infer every value you can from the request, resolve
the rest from the curated list and the lookup scripts, and proceed — then report what you chose.
Ask a clarifying question only when a human is available and the request is genuinely ambiguous
and you cannot resolve a safe default; never ask merely to confirm, and never stop to ask about
connecting or authenticating an org. When no human is available (headless / automated runs), do
not call AskUserQuestion — proceed with the most likely interpretation and resolved defaults.
Confirm the org connection — run sf org display --target-org <alias> --json and read
result.instanceUrl. If it fails, report that the org must be authenticated first, then stop.
Determine the operation — pick list / get / create / update / delete from the user's request ("create…" → create, "show/read/view…" → get, "list…" → list, "change/update…" → update, "delete/remove…" → delete). If a human is available and the request is truly ambiguous you may confirm; otherwise proceed with the most likely operation. Branch below.
List — run scripts/list-configurations.sh <alias>. Present the returned
configurations as a numbered list (name, developerName, id). This is also how you
resolve an Id for get/update/delete when the user named a configuration by label.
Get — run scripts/get-configuration.sh <alias> <configId>. Present the full detail.
Remember the output uses the read-side field names (dialingRegion, preDialFlowId,
defaultCallerIdentifier) — see references/voice_config_api.md.
Create — read references/voice_config_api.md for the input contract, then:
name (required). Optionally collect developerName (immutable after create — if
omitted the platform derives it), dialingPrefix, region, description.region + dialingPrefix, resolve the value from assets/regions.json: match the
region the user named to the closest regionCode (e.g. "US West" / "US East" / "US" → US;
a country name → its entry) and use that entry's dialingPrefix. Accept a value the user
gave verbatim. Report the region chosen. Only if a human is available and no entry plausibly
matches should you present the list; never block waiting for a choice.references/lookups.md) — never hardcode
Ids. Pick the entry that matches the user's request; if a human is available you may present
the list for selection, but never block — choose the best match and report it:
callOriginationFlowId ← scripts/lookup-flows.sh <alias> (a flow durableId)userIds ← scripts/lookup-users.sh <alias> (User Ids)profileIds ← scripts/lookup-profiles.sh <alias> (Profile Ids)defaultCallerId ← scripts/lookup-caller-lines.sh <alias> (a caller-line code)CreateVoiceConfigurationInputRepresentation JSON with the input field names
and run scripts/create-configuration.sh <alias> '<json-body>'. Capture the returned id.get-configuration.sh and show it.Update — read references/voice_config_api.md, then:
configId (Step 3 if needed) and fetch the current state with
get-configuration.sh so you can show what changes.name is required on every update. Do not send
developerName (immutable). Translate read-side values back to input field names
(dialingRegion→region, preDialFlowId→callOriginationFlowId,
defaultCallerIdentifier→defaultCallerId). Resolve any new flow/user/profile/caller-line
Ids with the lookup scripts.userIds / profileIds replace the full list. To add or remove one,
fetch the current assignments, edit the list, and send the whole set. Omit the field to
leave assignments untouched; send [] to clear them. Proceed with the set implied by the
request and report the final intended set; if a human is available you may confirm first, but
do not block.scripts/update-configuration.sh <alias> <configId> '<json-body>', then read it back.Delete — resolve the configId (Step 3 if the user named it by label). When the request
explicitly identifies the configuration to delete, proceed; if a human is available you may
confirm first (naming the configuration), but do not block. Then run
scripts/delete-configuration.sh <alias> <configId>. The org's default configuration
cannot be deleted (400); surface that clearly if it happens. If the named configuration does
not exist, stop and report that plainly rather than deleting anything else.
Report — give a short summary of what you did: the operation performed
(list / get / create / update / delete), the target org, the affected configuration (its
id (1pK…) and name for a single-record op), any fields changed on an update, and the
final user/profile assignment counts. End with a one-line outcome stating SUCCESS or the
exact error and the step it failed at.
| Constraint | Rationale |
|---|---|
| Never run an interactive login; require a pre-authenticated org alias | Auth/org lifecycle is out of scope; keeps the skill portable |
Call the Connect API via sf api request rest; never extract the access token | Uses the CLI's stored session for --target-org — no raw token handling |
Never pass --json to sf api request rest | The command has no such flag; its body is already JSON. (sf data query in the lookups does use --json) |
| Never hardcode flow / user / profile / caller-line Ids | They are org-specific; resolve them with the lookup scripts |
name is required on both create and update | The service has no null-guard; a missing name returns 500, not a clean error |
Do not send developerName on update | It is immutable after create; the update input does not accept it |
userIds / profileIds replace the full assignment list | Not additive — send the complete intended set, or omit to leave untouched |
| Stop and report on any non-2xx API response | Partial changes left silent are worse than a clear failure |
| Issue | Resolution |
|---|---|
| Read a config, then an update fails on unknown fields | The GET output uses read-side names; translate dialingRegion/preDialFlowId/defaultCallerIdentifier back to region/callOriginationFlowId/defaultCallerId before sending |
409 CONFLICT on create | A configuration with that developerName already exists — pick another or reuse the existing one |
400 on delete | The default configuration cannot be deleted — confirm the target is not the org default |
403 on any call | The caller is not a native Contact Center admin — stop; the user must have that access |
| An update unexpectedly removed users/profiles | userIds/profileIds replace the full list; always send the complete intended set |
Create returned 200 but a user/profile isn't assigned | Create is lenient — a 200 + id means the record was created, but user/profile assignment is best-effort and not rolled back if it fails. Always read the config back (Step 5, final sub-step) and confirm the assignments landed |
| Regions list seems incomplete | assets/regions.json is a curated static list (regions are not queryable) — extend it or let the user supply region/dialingPrefix directly |
This skill reads and writes VoiceTelephonyDefinition records in the target org:
id), read back and shown.Pairs with service-agentforce-contact-center-coordinate, which procures phone numbers and
creates the voice MessagingChannel. This skill owns the voice configuration record only; it
does not procure numbers or create channels. Hand off number/channel work to that skill.
| File | When to read |
|---|---|
references/voice_config_api.md | Any operation — the CRUD contract, field-name input/output mapping, and status codes |
references/lookups.md | Steps 5–6 — how to resolve flow/user/profile/caller-line Ids and the static-regions note |
assets/regions.json | Steps 5–6 — static region + dialing-prefix choices |
scripts/list-configurations.sh | Step 3 — list all configurations |
scripts/get-configuration.sh | Step 4 — read one configuration |
scripts/create-configuration.sh | Step 5 — create a configuration |
scripts/update-configuration.sh | Step 6 — update a configuration |
scripts/delete-configuration.sh | Step 7 — delete a configuration |
scripts/lookup-flows.sh | Step 5/6 — resolve a pre-dial flow durableId for callOriginationFlowId |
scripts/lookup-users.sh | Step 5/6 — resolve assignable User Ids for userIds |
scripts/lookup-profiles.sh | Step 5/6 — resolve Profile Ids for profileIds |
scripts/lookup-caller-lines.sh | Step 5/6 — resolve a caller-line code for defaultCallerId |
assets/regions.json (opens in a new tab)references/lookups.md (opens in a new tab)references/voice_config_api.md (opens in a new tab)scripts/create-configuration.sh (opens in a new tab)scripts/delete-configuration.sh (opens in a new tab)scripts/get-configuration.sh (opens in a new tab)scripts/lib.sh (opens in a new tab)scripts/list-configurations.sh (opens in a new tab)scripts/lookup-caller-lines.sh (opens in a new tab)scripts/lookup-flows.sh (opens in a new tab)scripts/lookup-profiles.sh (opens in a new tab)scripts/lookup-users.sh (opens in a new tab)scripts/update-configuration.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub cloudzlab/sf-team-skills --plugin sf-service-itsm28 skills in this plugin
/service-add-agents-to-contact-center-createAdds one or more agents (users) to a Contact Center (also known as Call Center). The action accepts user identifiers in multiple formats (User Id, Email, UserName, FirstName, LastName, or Alias) and a contact center identifier (CallCenter Id, Display name, or Internal name). Optionally creates quick connect configuration for the agents if requested by the user. Works with User, CallCenter metadata. Use this skill for add agents to contact center, add users to contact center, add agents to call center, add reps to contact center, add reps to call center, add users to call center, enroll agents in contact center, enroll users in contact center, assign agents to contact center, assign users to contact center, add agents with quick connect, add agents with quickconnect./service-agentforce-contact-center-coordinateCoordinates end-to-end setup of an Agentforce Contact Center voice channel: gathers country and phone-number-type selections, procures a chosen number, resolves its CommunicationChannelLine, verifies the number is live, and creates an active PstnVoice MessagingChannel. The user picks the routing model: Omni Queue (route to the contact center queue) or Omni Flow (route to an Agentforce agent, creating or reusing the agent plus its routing flows). Use when the user asks to set up an Agentforce Contact Center, provision a contact center phone number and voice channel together, or put an Agentforce agent on native voice. TRIGGER when the user says set up agentforce contact center, configure contact center voice, or create a voice channel with omni flow and an agentforce agent. DO NOT TRIGGER when only wiring an existing channel to an existing agent with no number to procure, or creating a non-voice messaging channel.2 plugins ship this exact skill · first indexed Dec 1, 2026
Other plugins' skills for the same job