@salesforce/afv-skills 1.44.0 → 1.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/package.json +1 -1
  2. package/skills/consumer-goods-rtr-datacloud-export-configure/SKILL.md +72 -0
  3. package/skills/consumer-goods-rtr-datacloud-export-configure/references/inputs-and-namespace.md +38 -0
  4. package/skills/consumer-goods-rtr-datacloud-export-configure/references/procedure.md +158 -0
  5. package/skills/consumer-goods-rtr-datacloud-export-configure/scripts/detect-namespace.js +86 -0
  6. package/skills/consumer-goods-rtr-datacloud-export-configure/scripts/render-apex.js +64 -0
  7. package/skills/consumer-goods-rtr-datacloud-export-configure/scripts/resolve-id-by-name.js +47 -0
  8. package/skills/consumer-goods-rtr-datacloud-export-configure/scripts/sf-rest.js +171 -0
  9. package/skills/consumer-goods-rtr-datacloud-export-configure/scripts/soql-escape.js +26 -0
  10. package/skills/consumer-goods-rtr-datacloud-export-configure/scripts/upsert-report-config.apex +51 -0
  11. package/skills/consumer-goods-rtr-datacloud-export-configure/scripts/upsert-system-setting.apex +21 -0
  12. package/skills/consumer-goods-tpe-dashboard-configure/SKILL.md +74 -0
  13. package/skills/consumer-goods-tpe-dashboard-configure/references/phases-1-6.md +112 -0
  14. package/skills/consumer-goods-tpe-dashboard-configure/references/phases-7-12.md +157 -0
  15. package/skills/consumer-goods-tpe-dashboard-configure/scripts/find-failure-reason.js +132 -0
  16. package/skills/consumer-goods-tpe-dashboard-configure/scripts/poll-status.js +116 -0
  17. package/skills/consumer-goods-tpe-dashboard-configure/scripts/render-apex.js +64 -0
  18. package/skills/consumer-goods-tpe-dashboard-configure/scripts/run-data-transform.js +121 -0
  19. package/skills/consumer-goods-tpe-dashboard-configure/scripts/schedule-business-period-export.apex +27 -0
  20. package/skills/consumer-goods-tpe-dashboard-configure/scripts/sf-rest.js +171 -0
  21. package/skills/consumer-goods-tpe-dashboard-configure/scripts/soql-escape.js +25 -0
  22. package/skills/consumer-goods-tpe-dashboard-custom-kpi-configure/SKILL.md +141 -0
  23. package/skills/consumer-goods-tpe-dashboard-custom-kpi-configure/references/payload-shapes.md +447 -0
  24. package/skills/consumer-goods-tpe-dashboard-custom-kpi-configure/references/procedure.md +263 -0
  25. package/skills/consumer-goods-tpe-dashboard-custom-kpi-configure/scripts/clone-tpe-dashboards.js +537 -0
  26. package/skills/consumer-goods-tpe-dashboard-custom-kpi-configure/scripts/sf-rest.js +195 -0
  27. package/skills/consumer-goods-tpe-datakit-deploy/SKILL.md +157 -0
  28. package/skills/consumer-goods-tpe-datakit-deploy/scripts/detect-namespace.js +86 -0
  29. package/skills/consumer-goods-tpe-datakit-deploy/scripts/download-static-resource.js +151 -0
  30. package/skills/consumer-goods-tpe-datakit-deploy/scripts/extract-crm-field-permissions.js +115 -0
  31. package/skills/consumer-goods-tpe-datakit-deploy/scripts/sf-rest.js +109 -0
  32. package/skills/consumer-goods-tpe-datakit-deploy/scripts/update-field-permissions.js +433 -0
  33. package/skills/service-catalog-template-coordinate/SKILL.md +263 -0
  34. package/skills/service-catalog-template-coordinate/examples/output-templates.md +44 -0
  35. package/skills/service-catalog-template-coordinate/references/mcp-invocation.md +183 -0
  36. package/skills/service-catalog-template-coordinate/references/operations.md +230 -0
  37. package/skills/service-itsm-agentic-setup-agent-runtime-access-assign/SKILL.md +243 -0
  38. package/skills/service-itsm-agentic-setup-agent-runtime-access-assign/references/cli-invocation.md +205 -0
  39. package/skills/service-itsm-agentic-setup-agent-runtime-access-assign/references/helper-contracts.md +236 -0
  40. package/skills/service-itsm-agentic-setup-agent-runtime-access-assign/references/permset-topology.md +132 -0
  41. package/skills/service-itsm-agentic-setup-agent-runtime-access-assign/scripts/classify-activated-agents.mjs +106 -0
  42. package/skills/service-itsm-agentic-setup-agent-runtime-access-assign/scripts/classify-agent-access-state.mjs +113 -0
  43. package/skills/service-itsm-agentic-setup-agent-runtime-access-assign/scripts/classify-assignment-state.mjs +99 -0
  44. package/skills/service-itsm-agentic-setup-agent-runtime-access-assign/scripts/classify-platform-permset-availability.mjs +155 -0
  45. package/skills/service-itsm-agentic-setup-agent-runtime-access-assign/scripts/gate-unified-catalog-tiers.mjs +100 -0
  46. package/skills/service-itsm-agentic-setup-agent-runtime-access-assign/scripts/rank-candidate-users.mjs +95 -0
  47. package/skills/service-itsm-agentic-setup-agent-runtime-access-assign/scripts/resolve-target-user.mjs +86 -0
  48. package/skills/service-itsm-agentic-setup-agentforce-coordinate/SKILL.md +44 -23
  49. package/skills/service-itsm-agentic-setup-agentforce-coordinate/examples/output-templates.md +33 -9
  50. package/skills/service-itsm-agentic-setup-agentforce-studio-configure/SKILL.md +17 -18
  51. package/skills/service-itsm-agentic-setup-cmdb-coordinate/SKILL.md +3 -1
  52. package/skills/service-itsm-agentic-setup-configure/SKILL.md +20 -12
  53. package/skills/service-itsm-agentic-setup-configure/examples/output-templates.md +73 -5
  54. package/skills/service-itsm-agentic-setup-employee-agent-configure/SKILL.md +8 -7
  55. package/skills/service-itsm-agentic-setup-employee-agent-configure/references/cli-invocation.md +45 -33
  56. package/skills/service-itsm-agentic-setup-employee-agent-configure/references/reactivation.md +8 -6
  57. package/skills/service-itsm-agentic-setup-employee-agent-configure/references/workflow-detail.md +10 -10
  58. package/skills/service-itsm-agentic-setup-employee-agent-configure/scripts/classify-agent-existence.mjs +114 -56
  59. package/skills/service-itsm-agentic-setup-employee-agent-configure/scripts/classify-preflight.mjs +33 -17
  60. package/skills/service-itsm-agentic-setup-employee-agent-configure/scripts/render-report.mjs +9 -3
  61. package/skills/service-itsm-agentic-setup-fulfiller-agent-configure/SKILL.md +8 -7
  62. package/skills/service-itsm-agentic-setup-fulfiller-agent-configure/references/cli-invocation.md +43 -32
  63. package/skills/service-itsm-agentic-setup-fulfiller-agent-configure/references/reactivation.md +6 -4
  64. package/skills/service-itsm-agentic-setup-fulfiller-agent-configure/references/workflow-detail.md +10 -10
  65. package/skills/service-itsm-agentic-setup-fulfiller-agent-configure/scripts/classify-agent-existence.mjs +106 -55
  66. package/skills/service-itsm-agentic-setup-fulfiller-agent-configure/scripts/classify-preflight.mjs +27 -13
  67. package/skills/service-itsm-agentic-setup-fulfiller-agent-configure/scripts/render-report.mjs +9 -3
  68. package/skills/service-itsm-agentic-setup-incident-sla-configure/SKILL.md +159 -161
  69. package/skills/service-itsm-agentic-setup-incident-sla-configure/assets/attach-milestone-action.json +51 -0
  70. package/skills/service-itsm-agentic-setup-incident-sla-configure/assets/attach-milestone.json +1 -1
  71. package/skills/service-itsm-agentic-setup-incident-sla-configure/assets/predefined-incident-policy.json +120 -0
  72. package/skills/service-itsm-agentic-setup-incident-sla-configure/examples/milestone-patterns.md +28 -5
  73. package/skills/service-itsm-agentic-setup-incident-sla-configure/examples/output-templates.md +19 -1
  74. package/skills/service-itsm-agentic-setup-incident-sla-configure/references/mcp-invocation.md +350 -30
  75. package/skills/service-itsm-channels-coordinate/SKILL.md +80 -213
  76. package/skills/service-itsm-slack-itservice-configure/SKILL.md +363 -0
  77. package/skills/service-itsm-slack-itservice-configure/references/connect-agentforce-to-slack.md +159 -0
  78. package/skills/service-itsm-slack-itservice-configure/references/manage-slack-connection.md +88 -0
  79. package/skills/service-itsm-slack-itservice-configure/references/manage-user-access.md +117 -0
  80. package/skills/service-itsm-slack-itservice-configure/references/record-visibility.md +78 -0
  81. package/skills/service-itsm-slack-itservice-configure/references/site-membership-verification.md +126 -0
  82. package/skills/service-itsm-slack-itservice-configure/scripts/classify-user-access.mjs +167 -0
  83. package/skills/service-itsm-teams-configure/SKILL.md +50 -47
  84. package/skills/service-itsm-teams-configure/references/azure-credential-population.md +42 -28
  85. package/skills/service-itsm-teams-configure/references/gotchas.md +1 -2
  86. package/skills/service-itsm-teams-coordinate/SKILL.md +22 -18
  87. package/skills/service-itsm-teams-coordinate/examples/output-templates.md +12 -9
  88. package/skills/service-itsm-teams-itdesk-configure/SKILL.md +60 -44
  89. package/skills/service-itsm-teams-itservice-configure/SKILL.md +56 -70
  90. package/skills/service-catalog-template-deploy/SKILL.md +0 -310
  91. package/skills/service-catalog-template-deploy/references/cli-invocation.md +0 -258
  92. package/skills/service-catalog-template-deploy/scripts/activate-verify.mjs +0 -164
  93. package/skills/service-catalog-template-deploy/scripts/build-deploy-payload.mjs +0 -94
  94. package/skills/service-catalog-template-deploy/scripts/resolve-template.mjs +0 -331
  95. package/skills/service-catalog-template-search/SKILL.md +0 -212
  96. package/skills/service-catalog-template-search/references/cli-invocation.md +0 -128
  97. package/skills/service-catalog-template-search/scripts/classify-catalog.mjs +0 -205
@@ -1,16 +1,12 @@
1
1
  ---
2
2
  name: service-itsm-channels-coordinate
3
- description: "Top-level interactive coordinator for Employee Service (ITSM) channel setup. Presents menu of channel setup options (Teams, Slack, Swarming, Notifications, Portal) and delegates to the corresponding skill. Use this for: 'setup ITSM channels', 'configure employee service channels', 'set up service cloud communication channels', 'I want to configure ITSM integrations', or any general request for ITSM channel/integration setup where the user hasn't specified exactly which channel they want. DO NOT TRIGGER for requests that already name a specific channel or child skill (e.g. 'configure Teams', 'set up Slack', 'enable Swarming', 'configure ITSM notifications', 'create an employee portal') — route directly to the matching child skill instead."
3
+ description: "Top-level interactive coordinator for Employee Service (ITSM) channel setup. Presents menu of channel setup options (Portal, Teams, Slack) and delegates to the corresponding skill. Use this for: 'setup ITSM channels', 'configure employee service channels', 'set up service cloud communication channels', 'I want to configure ITSM integrations', or any general request for ITSM channel/integration setup where the user hasn't specified exactly which channel they want. DO NOT TRIGGER for requests that already name a specific channel or child skill (e.g. 'configure Teams', 'set up Slack', 'create an employee portal', 'configure ITSM notifications') — route directly to the matching child skill instead."
4
4
  metadata:
5
5
  version: "1.0"
6
6
  domains: ["Service"]
7
- mcpTools:
8
- headless-360:
9
- tools: ["dispatch"]
10
- semver: ">=1.0.0"
7
+ minApiVersion: "66.0"
11
8
  relatedSkills:
12
9
  - "experience-portal-create"
13
- - "service-itsm-swarming-configure"
14
10
  - "service-itsm-teams-configure"
15
11
  - "service-itsm-teams-debug"
16
12
  - "service-itsm-teams-employee-agent-configure"
@@ -24,16 +20,30 @@ Interactive coordinator that presents a menu of ITSM channel setup options and d
24
20
 
25
21
  ## Scope
26
22
 
27
- - **In scope**: Presenting the channel setup menu to the user. Delegating to child skills based on selection (Teams, Swarming, Portal). Validating prerequisites before delegation. Providing clear descriptions of each channel capability. **Notifications is the one exception** — no dedicated notifications child skill exists yet, so this coordinator enables the notification-channel org preferences inline for that choice (see Choice 4); those are the only setup-API writes it performs itself.
28
- - **Out of scope**: Directly calling setup APIs for any channel that has a dedicated child skill (Teams, Swarming, Portal — always delegate). Channel-specific configuration details beyond the initial enablement. User permission assignment. Post-setup testing.
23
+ - **In scope**: Presenting the channel setup menu to the user. Delegating to child skills based on selection (Portal, Teams, Slack). Validating prerequisites before delegation. Providing clear descriptions of each channel capability.
24
+ - **Out of scope**: Directly calling setup APIs for any channel — always delegate to the dedicated child skill. Channel-specific configuration details beyond the initial enablement. User permission assignment. Post-setup testing. ITSM notification preferences (a separate concern — handle those with the dedicated notification-preferences skill, not through this menu).
29
25
 
30
26
  ---
31
27
 
32
28
  ## Available Channel Setup Skills
33
29
 
34
- This coordinator can invoke five distinct channel setup skills:
30
+ This coordinator can invoke three distinct channel setup skills:
35
31
 
36
- ### 1. Microsoft Teams Setup
32
+ ### 1. Portal Setup
33
+ **Skill:** `experience-portal-create`
34
+
35
+ **What it does:**
36
+ - Creates a Digital Experience portal for employee self-service
37
+ - Supports Employee Service, Partner, and Customer portals
38
+
39
+ **Prerequisites:**
40
+ - Vary by portal type
41
+
42
+ **Use when:** User wants to create a portal for employee self-service.
43
+
44
+ ---
45
+
46
+ ### 2. Microsoft Teams Setup
37
47
  **Skill:** `service-itsm-teams-configure`
38
48
 
39
49
  **What it does:**
@@ -54,12 +64,14 @@ a specific half): `service-itsm-teams-itdesk-configure` (fulfiller/IT Desk check
54
64
  `service-itsm-teams-itservice-configure` (employee/IT Service checklist),
55
65
  `service-itsm-teams-employee-agent-configure` (embedded "Ask AI Agent"), and
56
66
  `service-itsm-teams-debug` (diagnose a failing Teams setup — login, tab loading, agent, swarming, SSO).
67
+ Swarming (collaborative problem-solving) is configured **inside** the Teams setup flow, not as a
68
+ separate top-level channel option.
57
69
 
58
70
  ---
59
71
 
60
- ### 2. Slack Setup
72
+ ### 3. Slack Setup
61
73
  **Skill:** the installed Slack ITSM setup skill — resolve it from the skills catalog at delegation
62
- time by name pattern (see Choice 2 in the workflow); do not hardcode a single skill name.
74
+ time by name pattern (see Choice 3 in the workflow); do not hardcode a single skill name.
63
75
 
64
76
  **What it does:**
65
77
  - Enables Slack integration for ITSM (Employee Service / IT Service on Slack)
@@ -73,54 +85,6 @@ time by name pattern (see Choice 2 in the workflow); do not hardcode a single sk
73
85
 
74
86
  ---
75
87
 
76
- ### 3. Swarming Setup
77
- **Skill:** `service-itsm-swarming-configure`
78
-
79
- **What it does:**
80
- - Enables the `service-cloud-swarming` Salesforce Go feature via headless-360's feature-enablement
81
- Connect API
82
- - Sets the "Select a Collaboration Tool" picklist to `Teams` via
83
- `PATCH /services/data/v67.0/setup/org/values/SWARM_COLLABORATION_TOOL` — fully automated, no
84
- manual click required
85
-
86
- **Prerequisites:**
87
- - Microsoft Teams integration (Swarming requires Teams — run `service-itsm-teams-configure` first)
88
-
89
- **Use when:** User wants collaborative problem-solving for ITSM.
90
-
91
- ---
92
-
93
- ### 4. Notifications Setup
94
- **Skill:** none yet — handled inline by this coordinator (see Choice 4)
95
-
96
- **What it does:**
97
- - Enables the master Notifications feature
98
- - Configures notification channels: Email, In-App, Slack, Teams
99
-
100
- **Prerequisites:**
101
- - Multi-channel Notifications feature enabled
102
- - View Setup + Customize Application permissions
103
-
104
- **Use when:** User wants to enable multi-channel notifications for ITSM events.
105
-
106
- **Note:** For demo, execute inline until dedicated skill is created.
107
-
108
- ---
109
-
110
- ### 5. Portal Setup
111
- **Skill:** `experience-portal-create`
112
-
113
- **What it does:**
114
- - Creates a Digital Experience portal for employee self-service
115
- - Supports Employee Service, Partner, and Customer portals
116
-
117
- **Prerequisites:**
118
- - Vary by portal type
119
-
120
- **Use when:** User wants to create a portal for employee self-service.
121
-
122
- ---
123
-
124
88
  ## Workflow
125
89
 
126
90
  ### Step 1: Present Menu to User
@@ -132,32 +96,22 @@ I can help you set up ITSM channels. Which channel would you like to configure?
132
96
 
133
97
  **Choose one:**
134
98
 
135
- 1. **Microsoft Teams Setup**
99
+ 1. **Portal Setup**
100
+ - Create Digital Experience portal for employee self-service
101
+ - Choose portal type during setup
102
+ - Prerequisites: Vary by portal type
103
+
104
+ 2. **Microsoft Teams Setup**
136
105
  - Enable Teams integration master toggle
137
106
  - Provision authentication infrastructure
138
107
  - Prerequisites: Teams ITSM licenses required
139
108
 
140
- 2. **Slack Setup**
109
+ 3. **Slack Setup**
141
110
  - Enable Slack integration for ITSM
142
111
  - Configure Slack workspace connection
143
112
  - Prerequisites: Slack workspace with admin access
144
113
 
145
- 3. **Swarming Setup**
146
- - Enable Swarming for collaborative problem-solving
147
- - Configure Swarming channels (requires Teams)
148
- - Prerequisites: Teams integration + Swarming feature
149
-
150
- 4. **Notifications Setup**
151
- - Enable multi-channel notifications (Email, In-App, Slack, Teams)
152
- - Configure notification delivery channels
153
- - Prerequisites: Multi-channel Notifications feature
154
-
155
- 5. **Portal Setup**
156
- - Create Digital Experience portal for employee self-service
157
- - Choose portal type during setup
158
- - Prerequisites: Vary by portal type
159
-
160
- Please respond with the number (1, 2, 3, 4, or 5) of your choice.
114
+ Please respond with the number (1, 2, or 3) of your choice.
161
115
  ```
162
116
 
163
117
  **Do NOT proceed** until the user provides a choice.
@@ -168,25 +122,35 @@ Please respond with the number (1, 2, 3, 4, or 5) of your choice.
168
122
 
169
123
  Based on user's choice, check prerequisites **before** delegating to child skills:
170
124
 
171
- #### For Choice 1 or 3 (Teams Integration):
125
+ #### For Choice 2 (Teams Integration):
172
126
  1. Check if Teams master toggle API is accessible
173
127
  2. Attempt to query current toggle state
174
128
  3. If prerequisites fail, inform user about missing Teams ITSM licenses
175
129
 
176
- #### For Choice 2 or 4 (Notifications):
177
- 1. Check if Notifications preference APIs are accessible
178
- 2. Verify Multi-channel Notifications feature is available
179
-
180
130
  **If prerequisites fail:**
181
131
  - Explain what's missing (licenses, features, permissions)
182
- - Offer alternative choices (e.g., suggest #4 if Teams licenses missing)
132
+ - Offer alternative choices (e.g., suggest Slack if Teams licenses missing)
183
133
  - Do NOT attempt to execute the chosen configuration
184
134
 
185
135
  ---
186
136
 
187
137
  ### Step 3: Delegate to Child Skill
188
138
 
189
- #### Choice 1: Microsoft Teams Setup
139
+ #### Choice 1: Portal Setup
140
+
141
+ **Delegation:**
142
+ ```text
143
+ Invoke the experience-portal-create skill.
144
+ ```
145
+
146
+ The portal creation skill will handle all clarifying questions (portal type, name, URL prefix, etc.).
147
+
148
+ **After delegation:**
149
+ "Success: Portal setup delegated to experience-portal-create skill. Follow the prompts to complete portal creation."
150
+
151
+ ---
152
+
153
+ #### Choice 2: Microsoft Teams Setup
190
154
 
191
155
  **Delegation:**
192
156
  ```text
@@ -205,11 +169,11 @@ Next steps:
205
169
 
206
170
  Resolution:
207
171
  - Verify org has Teams ITSM licenses
208
- - Try option #4 (Notifications) instead"
172
+ - Try option #3 (Slack) instead"
209
173
 
210
174
  ---
211
175
 
212
- #### Choice 2: Slack Setup
176
+ #### Choice 3: Slack Setup
213
177
 
214
178
  **Resolve the delegation target deterministically from the skills catalog, then invoke the result.**
215
179
  Do not decide by prose guesswork — look the skill up:
@@ -230,105 +194,20 @@ Do not decide by prose guesswork — look the skill up:
230
194
 
231
195
  ---
232
196
 
233
- #### Choice 3: Swarming Setup
234
-
235
- **Delegation:**
236
- ```text
237
- Invoke the service-itsm-swarming-configure skill.
238
- ```
239
-
240
- **On success:**
241
- "Success: Swarming feature enabled, and the Collaboration Tool is now set to Teams — 'Set Teams as
242
- Collaboration Tool for Swarming' is fully complete, no manual click needed."
243
-
244
- **On failure:**
245
- "Failed: Swarming setup failed: [error details]
246
-
247
- Resolution:
248
- - Ensure Microsoft Teams integration is enabled first (use option #1)
249
- - Verify org has the Swarming feature entitlement"
250
-
251
- ---
252
-
253
- #### Choice 4: Notifications Setup
254
-
255
- **Inline enablement (in-scope exception — no dedicated notifications child skill exists yet).**
256
- Unlike the other choices, this branch enables the notification-channel org preferences itself. Issue
257
- the writes with `mcp__headless-360__dispatch` (`PATCH`, full `/services/data/vXX.0/...` path). When a
258
- dedicated `setup-itsm-notifications-*` child skill lands, delegate to it and drop this inline block.
259
-
260
- **Step 4.1: Enable Master Notifications Preference**
261
- ```text
262
- PATCH /services/data/v66.0/setup/org/preferences/Notifications
263
- Body: {"desiredState": true}
264
- ```
265
-
266
- **Step 4.2: Enable Individual Channels**
267
- ```text
268
- PATCH /services/data/v66.0/setup/org/preferences/EmailNotifications
269
- Body: {"desiredState": true}
270
-
271
- PATCH /services/data/v66.0/setup/org/preferences/InAppNotifications
272
- Body: {"desiredState": true}
273
-
274
- PATCH /services/data/v66.0/setup/org/preferences/SlackNotifications
275
- Body: {"desiredState": true}
276
-
277
- PATCH /services/data/v66.0/setup/org/preferences/TeamsNotifications
278
- Body: {"desiredState": true}
279
- ```
280
-
281
- **On success:**
282
- "Success: All notification channels enabled:
283
- - Email Notifications
284
- - In-App Notifications
285
- - Slack Notifications
286
- - Teams Notifications
287
-
288
- Next steps:
289
- - Create notification definitions at: Setup → Service → Notifications
290
- - Configure ITSM event triggers
291
- - Customize message templates"
292
-
293
- **On failure:**
294
- "Failed: Notification channels setup failed: [error details]
295
-
296
- Resolution:
297
- - Verify org has Multi-channel Notifications feature
298
- - Confirm you have Customize Application permission"
299
-
300
- ---
301
-
302
- #### Choice 5: Portal Setup
303
-
304
- **Delegation:**
305
- ```text
306
- Invoke the experience-portal-create skill.
307
- ```
308
-
309
- The portal creation skill will handle all clarifying questions (portal type, name, URL prefix, etc.).
310
-
311
- **After delegation:**
312
- "Success: Portal setup delegated to experience-portal-create skill. Follow the prompts to complete portal creation."
313
-
314
- ---
315
-
316
197
  ## Decision Tree
317
198
 
318
199
  ```text
319
200
  User requests ITSM channel setup
320
201
  ↓
321
- Present menu (5 options)
202
+ Present menu (3 options)
322
203
  ↓
323
- User selects option (1-5)
204
+ User selects option (1-3)
324
205
  ↓
325
206
  Validate prerequisites (optional)
326
207
  ↓
327
- ├─ Choice 1: Invoke service-itsm-teams-configure
328
- ├─ Choice 2: Resolve the Slack skill from the catalog, then invoke it (or manual instructions)
329
- ├─ Choice 3: Invoke service-itsm-swarming-configure
330
- ├─ Choice 4: Execute notifications setup inline (demo mode)
331
- └─ Choice 5: Invoke experience-portal-create
208
+ ├─ Choice 1: Invoke experience-portal-create
209
+ ├─ Choice 2: Invoke service-itsm-teams-configure
210
+ └─ Choice 3: Resolve the Slack skill from the catalog, then invoke it (or manual instructions)
332
211
  ↓
333
212
  Report outcome to user
334
213
  ↓
@@ -343,38 +222,32 @@ Suggest next steps
343
222
  |---|---|
344
223
  | Always present options before proceeding | User may not know what's possible or what their org supports |
345
224
  | Validate prerequisites before delegating | Catch licensing/feature gaps early before invoking child skills |
346
- | Choice 4 uses manual API calls, not a child skill | No existing skill for "notifications without specific channels" |
225
+ | Notifications are not a menu option | ITSM notification preferences are a separate concern; route those requests to the dedicated notification-preferences skill, not through this coordinator |
226
+ | Swarming is configured inside Teams, not a top-level channel | Swarming requires Teams; it is handled within the Teams setup flow (`service-itsm-teams-configure`), so it is not offered as a separate menu option |
347
227
  | Do not retry failed delegations | Child skills handle their own retries; surfacing error to user for decision |
348
- | Partial success is acceptable | If Teams succeeds but Notifications fails, user can retry Notifications separately |
228
+ | Partial success is acceptable | If Teams succeeds but Slack fails, user can retry Slack separately |
349
229
 
350
230
  ---
351
231
 
352
232
  ## Prerequisites by Choice
353
233
 
354
- ### Choice 1: Teams Setup
234
+ ### Choice 1: Portal Setup
235
+ - Vary by portal type (see experience-portal-create skill)
236
+
237
+ ### Choice 2: Teams Setup
355
238
  - Teams ITSM licenses
356
239
  - Setup admin permissions
357
240
 
358
- ### Choice 2: Slack Setup
241
+ ### Choice 3: Slack Setup
359
242
  - Slack workspace with admin access
360
243
  - Org has Slack integration enabled
361
244
 
362
- ### Choice 3: Swarming Setup
363
- - Microsoft Teams integration (required for Swarming — run Choice 1 first)
364
-
365
- ### Choice 4: Notifications Setup
366
- - Multi-channel Notifications feature enabled
367
- - View Setup + Customize Application permissions
368
-
369
- ### Choice 5: Portal Setup
370
- - Vary by portal type (see experience-portal-create skill)
371
-
372
245
  ---
373
246
 
374
247
  ## Error Handling
375
248
 
376
249
  ### If user provides invalid choice:
377
- "Please choose a valid option: 1, 2, 3, 4, or 5."
250
+ "Please choose a valid option: 1, 2, or 3."
378
251
 
379
252
  ### If prerequisites check fails:
380
253
  "I've detected that your org is missing [specific requirement].
@@ -389,19 +262,13 @@ I recommend choosing [alternative option] instead, which works with your current
389
262
  ### If user is unsure which to choose:
390
263
  "Let me help you decide:
391
264
 
392
- - **Do you want to enable communication channels?**
393
- - Microsoft Teams → Choose #1
394
- - Slack → Choose #2
395
- - Both → Run #1, then #2
396
-
397
- - **Do you want collaborative problem-solving?**
398
- - Swarming (requires Teams) → Choose #1 first, then #3
399
-
400
- - **Do you want notifications for ITSM events?**
401
- - Multi-channel notifications → Choose #4
402
-
403
265
  - **Do you want a portal for employee self-service?**
404
- - Digital Experience portal → Choose #5"
266
+ - Digital Experience portal → Choose #1
267
+
268
+ - **Do you want to enable a communication channel?**
269
+ - Microsoft Teams → Choose #2
270
+ - Slack → Choose #3
271
+ - Both → Run #2, then #3"
405
272
 
406
273
  ---
407
274
 
@@ -410,8 +277,8 @@ I recommend choosing [alternative option] instead, which works with your current
410
277
  After completing channel setup via this coordinator:
411
278
 
412
279
  - **Configure channel-specific settings** — customize each channel's behavior
413
- - **Create notification definitions** — configure ITSM event triggers (if Notifications selected)
414
280
  - **Set up Azure AD** — required for Teams (if Teams selected)
281
+ - **Configure ITSM notifications** — use the dedicated notification-preferences skill (separate from this coordinator)
415
282
  - **Test channels** — verify each channel is working
416
283
 
417
284
  To modify later:
@@ -442,16 +309,14 @@ then leaves without replying" has two fixable causes — auth mode left ON (→
442
309
  ## API Type Classification
443
310
 
444
311
  This coordinator:
445
- - **Does NOT call APIs directly** (except for Choice 4 demo mode) — it delegates to child skills
312
+ - **Does NOT call APIs directly** — it delegates to child skills
446
313
  - **Uses interactive menu** for user selection
447
314
  - **Child skills handle all API calls**
448
315
 
449
316
  Child skills used:
317
+ - `experience-portal-create` — Connect API
450
318
  - `service-itsm-teams-configure` — headless-360 (Salesforce Go feature-enablement Connect API)
451
319
  - Slack ITSM setup skill (resolved from catalog by name pattern) — child skill handles its own API calls
452
- - `service-itsm-swarming-configure` — headless-360 (Salesforce Go feature-enablement Connect API)
453
- - Notifications — no dedicated child skill yet; handled inline via Connect API (see Choice 4)
454
- - `experience-portal-create` — Connect API
455
320
 
456
321
  ---
457
322
 
@@ -463,10 +328,12 @@ Child skills used:
463
328
 
464
329
  3. **Some skills may not exist yet** — if a skill is not found, provide manual setup instructions so the user isn't blocked.
465
330
 
466
- 4. **Choice 4 (Notifications) executes inline** — no dedicated notifications child skill exists yet, so this coordinator enables the notification-channel preferences directly (see Choice 4). When such a skill lands, delegate to it and drop the inline block.
331
+ 4. **Notifications are handled elsewhere** — ITSM notification preferences are not a channel-menu option; route those requests to the dedicated notification-preferences skill.
332
+
333
+ 5. **Swarming lives inside Teams** — Swarming is not a standalone menu option; it is configured within the Teams setup flow (`service-itsm-teams-configure`), since it requires Teams.
467
334
 
468
- 5. **Prerequisites vary by channel** — each channel has different licensing and feature requirements.
335
+ 6. **Prerequisites vary by channel** — each channel has different licensing and feature requirements.
469
336
 
470
- 6. **No retry logic** — this coordinator doesn't retry failed operations. Surface the error and let user decide next steps.
337
+ 7. **No retry logic** — this coordinator doesn't retry failed operations. Surface the error and let user decide next steps.
471
338
 
472
- 7. **Educational role** — help users understand what each channel does and which prerequisites they need.
339
+ 8. **Educational role** — help users understand what each channel does and which prerequisites they need.