service-itsm-agentic-setup-uel-user-create
Provision and enable a Unified Employee License (UEL) user in Salesforce with the full entity chain — User, Person Account, PersonContact, and Employee2…
от forcedotcom★ 1 200 звёзд на GitHub
Установить service-itsm-agentic-setup-uel-user-create в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Create and Enable a Unified Employee (UEL) User
Provision an employee under the Unified Employee License (UEL) by creating and linking a User
on the Unified Employee license/profile, a Person Account (with an auto-generated Contact), and
an Employee2 record, then assigning the required permission sets. Every operation runs through
the Salesforce-hosted headless-360 MCP server (server key headless-360) via its four
meta-tools (discover, describe, dispatch_readonly, dispatch). The org is derived from the
OAuth JWT bound to the current MCP session — the skill never handles an org id, alias, or
credentials — so the flow behaves identically against production and sandbox with no per-user
MCP install.
Scope
- In scope: Creating a new UEL User, Person Account, Employee2 record; assigning permission sets; verifying the full chain.
- Out of scope: Standard user creation (non-UEL); cloning existing users; managing existing user permissions only; deactivating users; license assignment changes.
Routes at a glance
Reads dispatch through mcp__headless-360__dispatch_readonly; writes through
mcp__headless-360__dispatch. Both take raw HTTP:
{"url": "<path>", "method": "GET|POST", "body"?: {...}, "queryParams"?: {...}}. Full URL paths and
request/response bodies for every row live in references/mcp-invocation.md; this table lists only
the operation and HTTP method.
| Concern | Method + operation | Notes |
|---|---|---|
| Unified Employee license | GET /query (UserLicense) |
Zero rows → stop |
| Unified Employee profile | GET /query (Profile) |
Zero rows → stop |
| Person Account record type | GET /query (RecordType, IsPersonType) |
Zero rows → stop |
| Employee Hub perm set | GET /query (PermissionSet) |
Mandatory; zero rows → stop |
| Employee2 accessible | GET /sobjects/Employee2/describe |
200 = HR module enabled |
| Resolve manager | GET /query (User by Username/Name) |
Active users only |
| Create user | POST /sobjects/User |
Profile = Unified Employee |
| Assign Employee Hub set | POST /sobjects/PermissionSetAssignment |
Mandatory |
| Create Person Account | POST /sobjects/Account |
PersonEmail required |
| Read PersonContact | GET /query (Account) |
Capture PersonContactId |
| Create Employee2 | POST /sobjects/Employee2 |
Use UserId/ContactId field names |
| Verify chain | GET /query |
User + Account + Employee2 + perm sets |
Response envelope: describe, /query, and /sobjects/… are all standard REST — the
dispatch* tool returns the HTTP status plus the parsed body: { "status_code": 200, "body": <REST response> }. Read body. A create returns body.id and body.success == true; a query returns
body.records[]. Status codes: 200/201 success; 400 bad body (re-check schema via describe);
401/auth error the MCP session needs re-auth; 404 the endpoint/impl is not present on this org;
500 a downstream dependency issue.
Required Inputs
Collect from the user (ask only what is not already in conversation context):
Identity (required)
| Field | Description |
|---|---|
FirstName |
Employee first name |
LastName |
Employee last name |
Email |
Employee email address |
Credentials & Locale (required)
| Field | Description | Example |
|---|---|---|
Username |
Email-formatted, globally unique | [email protected] |
Alias |
Max 8 chars | jdoe |
TimeZoneSidKey |
Timezone | America/Los_Angeles |
LocaleSidKey |
Locale | en_US |
LanguageLocaleKey |
Language | en_US |
EmailEncodingKey |
Email encoding | UTF-8 |
Manager (optional)
| Field | Description |
|---|---|
ManagerName or ManagerUsername |
Resolve to ManagerId via SOQL |
HR Attributes for Employee2 (required)
| Field | Description |
|---|---|
Department |
Employee department |
Location |
Employee location |
EmployeeNumber |
HR employee number |
Title |
Job title |
HireDate |
Date format: YYYY-MM-DD |
Permission Sets
Employee Hub Unified Employee User (EmployeeHubEmployeeUser) is always assigned — no other
permission sets belong on a UEL user. If the caller asks for extras (Incident Fulfiller, Case
Agent, or any other fulfiller/agent-role set), decline: those are for fulfillers on the Service
Cloud side, not for requesters who log into the Employee Hub. Point the caller at the
appropriate fulfiller user-create flow instead of extending this one.
Workflow
All steps are sequential. Always read before you write. Every call goes through
mcp__headless-360__* tools. Stop and report if any step fails.
Phase 1 — Preflight & discovery
On any 401 / 403 / 404 from a discover / describe / dispatch / dispatch_readonly call below, halt and surface the raw error — the org or client is not configured correctly. `401
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Read - 02
AskUserQuestion mcp__headless-360__discover mcp__headless-360__describe mcp__headless-360__dispatch_readonly mcp__headless-360__dispatch
Вложенные файлы
- references/mcp-invocation.md
FAQ
Что делает скилл service-itsm-agentic-setup-uel-user-create?
Provision and enable a Unified Employee License (UEL) user in Salesforce with the full entity chain — User, Person Account, PersonContact, and Employee2 — through the Salesforce-hosted headless-360 MCP server. Use when the user asks to create a UEL user, set up a Unified Employee user account, enable an employee under the Unified Employee license, provision an employee with Person Account and Employee2 record, or onboard a new employee onto the Unified Employee profile. Triggers on: create UEL user, set up unified employee, provision unified employee, enable UEL employee, onboard employee user, create person account for employee. DO NOT TRIGGER when: the user asks to create a standard user without UEL, clone an existing user, manage existing user permissions only, assign incident permissions only, reset passwords only, or look up existing users without creation intent.
Как установить скилл service-itsm-agentic-setup-uel-user-create?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл service-itsm-agentic-setup-uel-user-create запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…