@salesforce/afv-skills 1.67.0 → 1.69.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.
- package/README.md +55 -5
- package/package.json +1 -1
- package/skills/afcc-setup-coordinate/SKILL.md +348 -0
- package/skills/afcc-setup-coordinate/assets/console-app/AFCC_Service_Console.app-meta.xml +19 -0
- package/skills/afcc-setup-coordinate/assets/console-app/Admin.profile-meta.xml +8 -0
- package/skills/afcc-setup-coordinate/assets/console-app/Standard.profile-meta.xml +8 -0
- package/skills/afcc-setup-coordinate/assets/gap_report_template.md +35 -0
- package/skills/afcc-setup-coordinate/assets/org_profile_template.json +16 -0
- package/skills/afcc-setup-coordinate/references/gotchas.md +22 -0
- package/skills/afcc-setup-coordinate/scripts/audit_org.sh +159 -0
- package/skills/agentforce-bot-upgrade/SKILL.md +117 -66
- package/skills/agentforce-bot-upgrade/assets/_vendored/agent-spec-template.md +139 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/agent-design-and-spec-creation.md +1211 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/agent-script-core-language.md +1390 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/agent-subagent-map-diagrams.md +341 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/agent-user-setup.md +672 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/agent-validation-and-debugging.md +904 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/agentscript-toolchain.md +112 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/architecture-patterns.md +277 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/common-control-flow-pitfalls.md +255 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/control-flow-actions-sequencing.md +198 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/control-flow-lifecycle-side-effects.md +87 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/data-library-reference.md +891 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/instruction-resolution.md +658 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/org-setup-for-adl.md +551 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/patterns-by-requirement.md +88 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/posture-and-determinism.md +215 -0
- package/skills/agentforce-bot-upgrade/references/extraction-blueprint.md +11 -4
- package/skills/agentforce-bot-upgrade/references/generate-agent-spec.md +19 -3
- package/skills/agentforce-bot-upgrade/references/handoff-output-format.md +82 -52
- package/skills/agentforce-bot-upgrade/references/input-contract.md +8 -8
- package/skills/agentforce-bot-upgrade/references/mapping-rules.md +19 -6
- package/skills/agentforce-bot-upgrade/references/post-conversion-enhancements-reference.md +65 -6
- package/skills/agentforce-bot-upgrade/references/quality-checklist.md +4 -4
- package/skills/agentforce-bot-upgrade/references/sf-cli-bot-reference.md +17 -3
- package/skills/agentforce-hyperclassifier-configure/README.md +24 -0
- package/skills/agentforce-hyperclassifier-configure/SKILL.md +111 -0
- package/skills/agentforce-hyperclassifier-configure/assets/customer-org.env.example +4 -0
- package/skills/agentforce-hyperclassifier-configure/assets/sample_descriptions.json +8 -0
- package/skills/agentforce-hyperclassifier-configure/assets/sample_evals.csv +17 -0
- package/skills/agentforce-hyperclassifier-configure/references/api-contract.md +41 -0
- package/skills/agentforce-hyperclassifier-configure/references/authentication.md +35 -0
- package/skills/agentforce-hyperclassifier-configure/references/evaluation.md +46 -0
- package/skills/agentforce-hyperclassifier-configure/references/installation.md +35 -0
- package/skills/agentforce-hyperclassifier-configure/references/onboarding.md +93 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/__init__.py +1 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/client.py +219 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/eca.py +178 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/evaluation.py +207 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/onboarding.py +191 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/optimizer.py +187 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/hyperclassifier.py +111 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/report_hyperclassifier.py +149 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/setup_hyperclassifier.py +74 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/tests/test_hyperclassifier_skill.py +887 -0
- package/skills/agentforce-offline-experimentation-run/SKILL.md +14 -22
- package/skills/agentforce-offline-experimentation-run/scripts/bt_compare.py +81 -0
- package/skills/agentforce-offline-experimentation-run/scripts/bt_fetch.py +358 -0
- package/skills/agentforce-offline-experimentation-run/scripts/bt_patch_agent.py +110 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/__init__.py +34 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/agentpatch.py +483 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/agentsrc.py +565 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/cache.py +95 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/compare.py +617 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/fetch.py +1012 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/judge.py +140 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/messages.py +93 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/patch.py +327 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/redact.py +40 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/results.py +288 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/scoring.py +340 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/sfap.py +354 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/splits.py +136 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/stdm.py +98 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/tokens.py +173 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/units.py +199 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/versions.py +194 -0
- package/skills/agentforce-offline-experimentation-run/scripts/build_report.py +367 -379
- package/skills/agentforce-offline-experimentation-run/scripts/resolve-token.sh +23 -6
- package/skills/agentforce-offline-experimentation-run/scripts/sfap_replay.py +483 -796
- package/skills/commerce-react-storefront-create/SKILL.md +54 -21
- package/skills/dx-lifecycle-center/SKILL.md +22 -13
- package/skills/dx-lifecycle-center/examples/workflows.md +54 -17
- package/skills/dx-lifecycle-center/references/connect-api.md +33 -4
- package/skills/dx-lifecycle-center/references/connect-org.md +62 -12
- package/skills/dx-lifecycle-center/references/deploy.md +3 -3
- package/skills/dx-lifecycle-center/references/hub-org.md +19 -3
- package/skills/dx-lifecycle-center/references/list-orgs.md +50 -24
- package/skills/dx-lifecycle-center/references/troubleshooting.md +22 -1
- package/skills/dx-lifecycle-center/scripts/hub-get.sh +41 -0
- package/skills/dx-lifecycle-center/scripts/resolve-environment.sh +151 -4
- package/skills/dx-org-devhub-configure/SKILL.md +85 -84
- package/skills/dx-org-devhub-configure/examples/status-output.md +25 -2
- package/skills/dx-org-devhub-configure/scripts/devhub.sh +265 -140
- package/skills/dx-org-devhub-configure/scripts/test-devhub.sh +100 -15
- package/skills/dx-packaging-convert-1gp-to-2gp-create/SKILL.md +63 -0
- package/skills/dx-packaging-convert-1gp-to-2gp-create/references/conversion-operations.md +252 -0
- package/skills/dx-packaging-move-to-2gp-migrate/SKILL.md +88 -0
- package/skills/dx-packaging-move-to-2gp-migrate/references/api-operations.md +167 -0
- package/skills/dx-packaging-push-upgrade-configure/README.md +47 -0
- package/skills/dx-packaging-push-upgrade-configure/SKILL.md +355 -0
- package/skills/dx-packaging-push-upgrade-configure/references/best-practices.md +61 -0
- package/skills/dx-packaging-push-upgrade-configure/references/cli-reference.md +148 -0
- package/skills/dx-packaging-push-upgrade-configure/references/objects.md +106 -0
- package/skills/dx-packaging-push-upgrade-configure/references/soql-recipes.md +144 -0
- package/skills/dx-scratch-def-configure/SKILL.md +163 -0
- package/skills/dx-scratch-def-configure/examples/confirm-card.md +53 -0
- package/skills/dx-scratch-def-configure/examples/report-recipes.md +100 -0
- package/skills/dx-scratch-def-configure/references/features.json +3270 -0
- package/skills/dx-scratch-def-configure/references/project-scratch-def.schema.json +1841 -0
- package/skills/dx-scratch-def-configure/references/settings-map.json +682 -0
- package/skills/dx-scratch-def-configure/scripts/lib_scratch_def.py +1306 -0
- package/skills/dx-scratch-def-configure/scripts/requirements.txt +3 -0
- package/skills/dx-scratch-def-configure/scripts/scrape_config_values.py +848 -0
- package/skills/education-cloud-domain-configure/SKILL.md +1 -1
- package/skills/education-cloud-multi-campus-configure/SKILL.md +1 -1
- package/skills/education-cloud-student-recruitment-agent-configure/SKILL.md +1 -1
- package/skills/experience-afv-analytics-query/SKILL.md +239 -0
- package/skills/experience-afv-analytics-query/references/references.md +176 -0
- package/skills/experience-app-mcp-delivery-generate/SKILL.md +142 -0
- package/skills/experience-app-mcp-delivery-generate/references/eca-consumer-key.md +26 -0
- package/skills/experience-app-mcp-delivery-generate/references/mcp-config-delivery.md +38 -0
- package/skills/experience-app-mcp-delivery-generate/references/plugin-format-and-publishing.md +80 -0
- package/skills/experience-app-mcp-delivery-generate/scripts/developer_name.mjs +9 -0
- package/skills/experience-app-mcp-delivery-generate/scripts/discover_mcp_context.mjs +114 -0
- package/skills/experience-app-mcp-delivery-generate/scripts/generate_mcp_config.mjs +27 -0
- package/skills/experience-app-mcp-delivery-generate/scripts/generate_plugin.mjs +184 -0
- package/skills/experience-app-mcp-delivery-generate/scripts/mcp_config.mjs +57 -0
- package/skills/experience-app-mcp-delivery-generate/scripts/preflight.mjs +109 -0
- package/skills/experience-app-mcp-delivery-generate/scripts/retrieve_eca_consumer_key.mjs +143 -0
- package/skills/experience-app-mcp-generate/SKILL.md +174 -0
- package/skills/experience-app-mcp-generate/assets/__ECA_NAME__.eca-meta.xml +7 -0
- package/skills/experience-app-mcp-generate/assets/__ECA_NAME__.ecaGlblOauth-meta.xml +15 -0
- package/skills/experience-app-mcp-generate/assets/__ECA_NAME__.ecaOauth-meta.xml +6 -0
- package/skills/experience-app-mcp-generate/assets/__ECA_NAME__.ecaOauthPlcy-meta.xml +12 -0
- package/skills/experience-app-mcp-generate/assets/__ECA_NAME___defaultPolicy.ecaPlcy-meta.xml +7 -0
- package/skills/experience-app-mcp-generate/assets/__MCP_SERVER_NAME__.mcpServerDefinition-meta.xml +5 -0
- package/skills/experience-app-mcp-generate/references/eca-fields.md +76 -0
- package/skills/experience-app-mcp-generate/references/mcp-objects.md +66 -0
- package/skills/experience-app-mcp-generate/references/tool-bindings.md +85 -0
- package/skills/experience-app-mcp-generate/references/troubleshooting.md +41 -0
- package/skills/experience-app-mcp-generate/references/ui-frameworks.md +19 -0
- package/skills/experience-app-mcp-generate/references/widget-resources.md +96 -0
- package/skills/experience-app-mcp-generate/scripts/activate_server.mjs +166 -0
- package/skills/experience-app-mcp-generate/scripts/check_setup_progress.mjs +212 -0
- package/skills/experience-app-mcp-generate/scripts/list_sites.mjs +211 -0
- package/skills/experience-app-mcp-generate/scripts/merge_tools.mjs +407 -0
- package/skills/experience-app-mcp-generate/scripts/preflight.mjs +127 -0
- package/skills/experience-app-mcp-generate/scripts/render_eca.mjs +144 -0
- package/skills/experience-app-mcp-generate/scripts/render_mcp_server.mjs +64 -0
- package/skills/experience-app-mcp-generate/scripts/retrieve_existing_prompts.mjs +145 -0
- package/skills/experience-app-mcp-generate/scripts/retrieve_existing_tools.mjs +72 -0
- package/skills/experience-app-mcp-generate/scripts/scan_tool_candidates.mjs +195 -0
- package/skills/experience-app-mcp-generate/scripts/utils/callback_url.mjs +36 -0
- package/skills/experience-app-mcp-generate/scripts/utils/developer_name.mjs +9 -0
- package/skills/experience-app-mcp-generate/scripts/utils/eca_check.mjs +156 -0
- package/skills/experience-app-mcp-generate/scripts/utils/metadata_path.mjs +13 -0
- package/skills/experience-app-mcp-generate/scripts/verify_server.mjs +118 -0
- package/skills/experience-cms-content-type-generate/SKILL.md +1 -1
- package/skills/experience-design-validate/SKILL.md +1 -1
- package/skills/experience-search-coordinate/SKILL.md +18 -12
- package/skills/experience-search-coordinate/references/content-route.md +79 -1
- package/skills/field-service-data-capture-migrate/SKILL.md +1 -1
- package/skills/nonprofit-fundraising-configure/SKILL.md +1 -1
- package/skills/nonprofit-fundraising-configure/references/mcp-invocation.md +52 -4
- package/skills/nonprofit-fundraising-configure/references/permission-targeting.md +19 -2
- package/skills/platform-apex-generate/SKILL.md +14 -11
- package/skills/platform-apex-test-generate/SKILL.md +2 -1
- package/skills/platform-custom-field-generate/SKILL.md +24 -16
- package/skills/platform-custom-metadata-type-generate/SKILL.md +1 -0
- package/skills/platform-custom-setting-generate/SKILL.md +1 -0
- package/skills/platform-datamask-run/SKILL.md +52 -71
- package/skills/platform-datamask-run/references/api-surface.md +10 -4
- package/skills/platform-datamask-run/references/policy-authoring.md +56 -7
- package/skills/platform-datamask-run/references/run-and-abort.md +17 -10
- package/skills/platform-datamask-run/scripts/poll-job.sh +15 -25
- package/skills/platform-dataspace-access-configure/SKILL.md +43 -10
- package/skills/platform-flexipage-generate/SKILL.md +7 -10
- package/skills/platform-flexipage-generate/references/mcp_action_examples.md +42 -38
- package/skills/platform-metadata-discovery-get/SKILL.md +185 -0
- package/skills/platform-metadata-discovery-get/references/api-map.md +25 -0
- package/skills/platform-metadata-discovery-get/references/h360-routes.md +30 -0
- package/skills/platform-metadata-discovery-get/references/scoped-soql.md +52 -0
- package/skills/platform-metadata-grounding-get/SKILL.md +170 -0
- package/skills/platform-policy-rule-generate/SKILL.md +85 -231
- package/skills/platform-policy-rule-generate/references/condition-model.md +47 -0
- package/skills/platform-policy-rule-generate/references/condition-templates.md +89 -0
- package/skills/platform-policy-rule-generate/references/conjunction-compiler.md +25 -0
- package/skills/platform-policy-rule-generate/references/conjunction-expression.md +30 -0
- package/skills/platform-policy-rule-generate/references/consumer-all.md +9 -0
- package/skills/platform-policy-rule-generate/references/consumer-datacloud-ui.md +99 -0
- package/skills/platform-policy-rule-generate/references/deploy-errors.md +24 -36
- package/skills/platform-policy-rule-generate/references/examples/ExistsJoinRLS/package.xml +12 -0
- package/skills/platform-policy-rule-generate/references/examples/ExistsJoinRLS/policyRuleDefinitionSets/ExistsJoinRLS.policyRuleDefinitionSet +5 -0
- package/skills/platform-policy-rule-generate/references/examples/ExistsJoinRLS/policyRuleDefinitions/ExistsJoinRLS_Rule_1.policyRuleDefinition +91 -0
- package/skills/platform-policy-rule-generate/references/examples/FieldReadDeny/package.xml +12 -0
- package/skills/platform-policy-rule-generate/references/examples/FieldReadDeny/policyRuleDefinitionSets/FieldReadDeny.policyRuleDefinitionSet +5 -0
- package/skills/platform-policy-rule-generate/references/examples/FieldReadDeny/policyRuleDefinitions/FieldReadDeny_Rule_1.policyRuleDefinition +72 -0
- package/skills/platform-policy-rule-generate/references/examples/LastCharactersFieldMasking/package.xml +12 -0
- package/skills/platform-policy-rule-generate/references/examples/LastCharactersFieldMasking/policyRuleDefinitionSets/LastCharactersFieldMasking.policyRuleDefinitionSet +5 -0
- package/skills/platform-policy-rule-generate/references/examples/LastCharactersFieldMasking/policyRuleDefinitions/LastCharactersFieldMasking_Rule_1.policyRuleDefinition +77 -0
- package/skills/platform-policy-rule-generate/references/examples/PrincipalFieldMatchRLS/package.xml +12 -0
- package/skills/platform-policy-rule-generate/references/examples/PrincipalFieldMatchRLS/policyRuleDefinitionSets/PrincipalFieldMatchRLS.policyRuleDefinitionSet +5 -0
- package/skills/platform-policy-rule-generate/references/examples/PrincipalFieldMatchRLS/policyRuleDefinitions/PrincipalFieldMatchRLS_Rule_1.policyRuleDefinition +77 -0
- package/skills/platform-policy-rule-generate/references/examples/TaggedObjectAccess/package.xml +12 -0
- package/skills/platform-policy-rule-generate/references/examples/TaggedObjectAccess/policyRuleDefinitionSets/TaggedObjectAccess.policyRuleDefinitionSet +5 -0
- package/skills/platform-policy-rule-generate/references/examples/TaggedObjectAccess/policyRuleDefinitions/TaggedObjectAccess_Rule_1.policyRuleDefinition +65 -0
- package/skills/platform-policy-rule-generate/references/headless-transport.md +87 -0
- package/skills/platform-policy-rule-generate/references/policy-schema-full.md +18 -11
- package/skills/platform-policy-rule-generate/references/policy-shapes.md +107 -0
- package/skills/platform-policy-rule-generate/references/principal-expression.md +31 -0
- package/skills/platform-policy-rule-generate/references/reference-resolution.md +51 -0
- package/skills/platform-policy-rule-generate/references/resource-expression.md +48 -0
- package/skills/platform-policy-rule-generate/references/runtime-context.md +9 -0
- package/skills/platform-policy-rule-generate/references/templates-access.md +11 -9
- package/skills/platform-policy-rule-generate/references/templates-advanced.md +5 -3
- package/skills/platform-policy-rule-generate/references/templates-record.md +37 -22
- package/skills/platform-policy-rule-generate/references/templates-transform.md +10 -8
- package/skills/platform-policy-rule-generate/references/templates.md +2 -2
- package/skills/platform-policy-rule-generate/references/ui-compatibility.md +36 -18
- package/skills/platform-report-generate/SKILL.md +29 -5
- package/skills/platform-report-generate/references/chart-types.md +26 -2
- package/skills/platform-report-generate/references/column-names.md +43 -0
- package/skills/platform-report-generate/references/errors-and-troubleshooting.md +1 -1
- package/skills/platform-report-generate/references/summary-formulas-sorting-limits.md +118 -0
- package/skills/platform-report-generate/references/verification-checklist.md +22 -2
- package/skills/service-digital-engagement-channel-configure/SKILL.md +49 -110
- package/skills/service-digital-engagement-channel-configure/assets/messaging_channel_template.xml +35 -0
- package/skills/service-digital-engagement-channel-configure/examples/asa_agent_channel.xml +2 -2
- package/skills/service-digital-engagement-channel-configure/examples/auth_queue_channel.xml +58 -0
- package/skills/service-digital-engagement-channel-configure/examples/omni_flow_channel.xml +2 -2
- package/skills/service-digital-engagement-channel-configure/examples/omni_queue_channel.xml +3 -3
- package/skills/service-digital-engagement-channel-configure/references/channel_settings.md +128 -28
- package/skills/service-digital-engagement-channel-configure/references/onboarding_contract.md +16 -20
- package/skills/service-digital-engagement-channel-configure/references/prechat_params.md +10 -0
- package/skills/service-digital-engagement-channel-configure/references/recaptcha_handoff.md +38 -0
- package/skills/service-digital-engagement-channel-configure/references/user_verification.md +9 -0
- package/skills/service-digital-engagement-channel-configure/scripts/check-api-version.sh +4 -4
- package/skills/service-digital-engagement-channel-configure/scripts/normalize-channel-name.sh +12 -7
- package/skills/service-e911-configure/SKILL.md +242 -0
- package/skills/service-itsm-agentic-setup-agent-runtime-access-assign/SKILL.md +1 -1
- package/skills/service-itsm-agentic-setup-agentforce-coordinate/SKILL.md +1 -1
- package/skills/service-itsm-agentic-setup-agentforce-studio-configure/SKILL.md +1 -1
- package/skills/service-itsm-agentic-setup-agentforce-studio-validate/SKILL.md +1 -1
- package/skills/service-itsm-agentic-setup-employee-agent-configure/SKILL.md +1 -1
- package/skills/service-itsm-agentic-setup-fulfiller-agent-configure/SKILL.md +1 -1
- package/skills/service-itsm-agentic-setup-incident-management/SKILL.md +47 -44
- package/skills/service-itsm-agentic-setup-incident-management/examples/output-templates.md +110 -83
- package/skills/service-itsm-agentic-setup-incident-management/references/manage-incidents-with-ai.md +7 -3
- package/skills/service-itsm-agentic-setup-incident-management/references/priority-matrix.md +7 -5
- package/skills/service-itsm-agentic-setup-incident-management/references/sla-milestones.md +2 -2
- package/skills/service-itsm-agentic-setup-incident-management/references/status-checks.md +437 -0
- package/skills/service-itsm-agentic-setup-itsm-agentforce-permset-assign/SKILL.md +1 -1
- package/skills/agentforce-bot-upgrade/references/planner-workflow-reference.md +0 -78
- package/skills/experience-content-media-image-generate/SKILL.md +0 -83
- package/skills/experience-content-media-image-generate/scripts/download-image.sh +0 -84
- package/skills/experience-content-media-stock-image-search/SKILL.md +0 -193
- package/skills/experience-content-media-stock-image-search/scripts/download-stock-image.py +0 -102
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: service-e911-configure
|
|
3
|
+
description: "Use this skill when users want to set up and manage Service Cloud Voice (Native CCaaS / Thunderbird) Emergency Calling (E911). Trigger when users mention e911."
|
|
4
|
+
metadata:
|
|
5
|
+
version: "1.0"
|
|
6
|
+
accessCheck: "ThunderbirdVoice.userIsContactCenterAdminNativeCCaaS"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Managing E911
|
|
10
|
+
|
|
11
|
+
## When to Use This Skill
|
|
12
|
+
|
|
13
|
+
Set up and manage Service Cloud Voice (Native CCaaS / Thunderbird) Emergency Calling (E911). Two routing providers are supported: RedSky and External Vendor (a BYOC telephony trunk). get-emergency-config reports the master switch, the active route, and each provider's status. save-emergency-provider configures a provider: REDSKY provisions a RedSky organization and admin user and requires a Voice number lease license, EXTERNAL_VENDOR takes a trunk chosen from get-telephony-providers. Configuring a provider does not turn the service on or change the active route, except that the first provider configured becomes active. set-route-via switches the active route, and the target must be fully configured. update-e911-status is the master switch: enable=true needs a fully configured active provider, enable=false suspends Emergency Calling and keeps provider settings. enable-legacy-red-sky is a legacy one-shot RedSky provision and enable. If RedSky is configured but its admin user was not created, run create-admin-profile to retry. get-exported-users builds a RedSky Device Users CSV from the org's active Contact Center (Native CCaaS) users. All operations require the Contact Center Admin permission for Service Cloud Voice.
|
|
14
|
+
|
|
15
|
+
## Workflow
|
|
16
|
+
|
|
17
|
+
Read state with get-emergency-config. To set up, run save-emergency-provider (EXTERNAL_VENDOR needs a telephonyProviderId from get-telephony-providers; REDSKY needs the Voice number lease license), optionally set-route-via to pick the active route, then update-e911-status enable=true. enable=false only suspends. If redSkyConfigured but redSkyAdminCreated=false, retry create-admin-profile. enable-legacy-red-sky is the legacy one-shot RedSky enable. Email/name for RedSky come from UserContext server-side. Before running update-e911-status with enable=false, set-route-via, save-emergency-provider with REDSKY, or enable-legacy-red-sky, tell the user what will change and get an explicit yes. Each can change where emergency calls go, or whether they go at all, and REDSKY and enable-legacy-red-sky create an external RedSky organization. Always pass enable explicitly to update-e911-status; omitting it suspends the service.
|
|
18
|
+
|
|
19
|
+
## Critical Constraints
|
|
20
|
+
|
|
21
|
+
**Preconditions:**
|
|
22
|
+
|
|
23
|
+
- The org must have the SalesforceVoice license (Native Voice / Thunderbird). (check: `Service Cloud Voice access`)
|
|
24
|
+
- The calling user must have the Contact Center Admin permission for Service Cloud Voice. This permission guards every E911 operation. (check: `Contact Center Admin role`)
|
|
25
|
+
- Configuring RedSky through save-emergency-provider requires an active Salesforce Voice number lease license (redSkyEligible=true in get-emergency-config). (check: `Voice number lease license`)
|
|
26
|
+
- An External Vendor trunk must be fully provisioned (it has an external trunk identifier and a valid two-letter country) before it can be saved. (check: `Telephony trunk provisioned`)
|
|
27
|
+
- update-e911-status enable=true and set-route-via fail unless the target provider is fully configured. Turning Emergency Calling off suspends it and keeps provider settings, so it can be turned on again. (check: `Provider configured`)
|
|
28
|
+
|
|
29
|
+
## Verification Checklist
|
|
30
|
+
|
|
31
|
+
After every write operation, confirm the effect by re-reading state:
|
|
32
|
+
|
|
33
|
+
- After `update-e911-status`: call `verify-e911-status` (`GET /headless/invoke/platform/e911`)
|
|
34
|
+
- After `create-admin-profile`: call `verify-create-admin-profile` (`GET /headless/invoke/platform/e911/get-admin-created-status`)
|
|
35
|
+
- After `set-route-via`: call `verify-set-route-via` (`GET /headless/invoke/platform/e911/get-emergency-config`)
|
|
36
|
+
- After `save-emergency-provider`: call `verify-save-emergency-provider` (`GET /headless/invoke/platform/e911/get-emergency-config`)
|
|
37
|
+
- After `enable-legacy-red-sky`: call `verify-enable-legacy-red-sky` (`GET /headless/invoke/platform/e911`)
|
|
38
|
+
|
|
39
|
+
## Operations Reference
|
|
40
|
+
|
|
41
|
+
Operations grouped by purpose. Use these as the building blocks for the workflows above.
|
|
42
|
+
|
|
43
|
+
### Summary
|
|
44
|
+
|
|
45
|
+
| Operation | Purpose | Status | Call | Depends on |
|
|
46
|
+
|-----------|---------|--------|------|------------|
|
|
47
|
+
| `get-e911-status` | read | proposed | `GET /headless/invoke/platform/e911` | — |
|
|
48
|
+
| `get-admin-created-status` | read | proposed | `GET /headless/invoke/platform/e911/get-admin-created-status` | — |
|
|
49
|
+
| `get-current-user-email` | read | proposed | `GET /chatter/users/me` | — |
|
|
50
|
+
| `create-admin-profile` | write | proposed | `PATCH /headless/invoke/platform/e911/create-admin-profile` | `save-emergency-provider`, `enable-legacy-red-sky` |
|
|
51
|
+
| `update-e911-status` | write | proposed | `PATCH /headless/invoke/platform/e911/update-e911-status` | — |
|
|
52
|
+
| `verify-e911-status` | verify | — | `GET /headless/invoke/platform/e911` | `update-e911-status` |
|
|
53
|
+
| `get-exported-users` | read | proposed | `GET /headless/invoke/platform/e911/get-exported-users` | — |
|
|
54
|
+
| `verify-create-admin-profile` | verify | — | `GET /headless/invoke/platform/e911/get-admin-created-status` | `create-admin-profile` |
|
|
55
|
+
| `get-emergency-config` | read | proposed | `GET /headless/invoke/platform/e911/get-emergency-config` | — |
|
|
56
|
+
| `get-telephony-providers` | discovery | proposed | `GET /headless/invoke/platform/e911/get-telephony-providers` | — |
|
|
57
|
+
| `save-emergency-provider` | write | proposed | `PATCH /headless/invoke/platform/e911/save-emergency-provider` | — |
|
|
58
|
+
| `set-route-via` | write | proposed | `PATCH /headless/invoke/platform/e911/set-route-via` | `save-emergency-provider` |
|
|
59
|
+
| `verify-set-route-via` | verify | proposed | `GET /headless/invoke/platform/e911/get-emergency-config` | `set-route-via` |
|
|
60
|
+
| `enable-legacy-red-sky` | write | proposed | `PATCH /headless/invoke/platform/e911/enable-legacy-red-sky` | — |
|
|
61
|
+
| `verify-save-emergency-provider` | verify | proposed | `GET /headless/invoke/platform/e911/get-emergency-config` | `save-emergency-provider` |
|
|
62
|
+
| `verify-enable-legacy-red-sky` | verify | proposed | `GET /headless/invoke/platform/e911` | `enable-legacy-red-sky` |
|
|
63
|
+
|
|
64
|
+
### Dependency graph
|
|
65
|
+
|
|
66
|
+
```mermaid
|
|
67
|
+
graph TD
|
|
68
|
+
get_e911_status["get-e911-status (read)"]
|
|
69
|
+
get_admin_created_status["get-admin-created-status (read)"]
|
|
70
|
+
get_current_user_email["get-current-user-email (read)"]
|
|
71
|
+
create_admin_profile["create-admin-profile (write)"]
|
|
72
|
+
update_e911_status["update-e911-status (write)"]
|
|
73
|
+
verify_e911_status["verify-e911-status (verify)"]
|
|
74
|
+
get_exported_users["get-exported-users (read)"]
|
|
75
|
+
verify_create_admin_profile["verify-create-admin-profile (verify)"]
|
|
76
|
+
get_emergency_config["get-emergency-config (read)"]
|
|
77
|
+
get_telephony_providers["get-telephony-providers (discovery)"]
|
|
78
|
+
save_emergency_provider["save-emergency-provider (write)"]
|
|
79
|
+
set_route_via["set-route-via (write)"]
|
|
80
|
+
verify_set_route_via["verify-set-route-via (verify)"]
|
|
81
|
+
enable_legacy_red_sky["enable-legacy-red-sky (write)"]
|
|
82
|
+
verify_save_emergency_provider["verify-save-emergency-provider (verify)"]
|
|
83
|
+
verify_enable_legacy_red_sky["verify-enable-legacy-red-sky (verify)"]
|
|
84
|
+
save_emergency_provider --> create_admin_profile
|
|
85
|
+
enable_legacy_red_sky --> create_admin_profile
|
|
86
|
+
update_e911_status --> verify_e911_status
|
|
87
|
+
create_admin_profile --> verify_create_admin_profile
|
|
88
|
+
save_emergency_provider --> set_route_via
|
|
89
|
+
set_route_via --> verify_set_route_via
|
|
90
|
+
save_emergency_provider --> verify_save_emergency_provider
|
|
91
|
+
enable_legacy_red_sky --> verify_enable_legacy_red_sky
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
### Read operations
|
|
95
|
+
|
|
96
|
+
#### `get-e911-status`
|
|
97
|
+
|
|
98
|
+
Returns whether the Emergency Calling master switch is on. Returns false when it is off, suspended, in error, or not configured yet. Use get-emergency-config for the full state.
|
|
99
|
+
|
|
100
|
+
**Call:** `GET /headless/invoke/platform/e911` — status: `proposed`
|
|
101
|
+
|
|
102
|
+
**Output:** Boolean. true when E911 is enabled; false otherwise, including when the status is missing or unreadable.
|
|
103
|
+
|
|
104
|
+
#### `get-admin-created-status`
|
|
105
|
+
|
|
106
|
+
Returns whether the RedSky admin user has been created. Used to decide whether the create-admin-profile retry is needed when E911 is enabled but admin creation failed.
|
|
107
|
+
|
|
108
|
+
**Call:** `GET /headless/invoke/platform/e911/get-admin-created-status` — status: `proposed`
|
|
109
|
+
|
|
110
|
+
**Output:** Boolean. true when the RedSky admin user has been created; false otherwise.
|
|
111
|
+
|
|
112
|
+
#### `get-current-user-email`
|
|
113
|
+
|
|
114
|
+
Returns calling user's email via Chatter UserDetail (userId='me'). For client-side display only; write paths read email/firstName/lastName from UserContext server-side, not from this step.
|
|
115
|
+
|
|
116
|
+
**Call:** `GET /chatter/users/me` — status: `proposed`
|
|
117
|
+
|
|
118
|
+
**Output:** UserDetailRepresentation. The email field carries the calling user's email; other fields (firstName, lastName, displayName, name, username, photo, etc.) are also returned but not used by the E911 flow.
|
|
119
|
+
|
|
120
|
+
#### `get-exported-users`
|
|
121
|
+
|
|
122
|
+
Returns a RedSky Device Users CSV for the org's active Contact Center (Native CCaaS) users, ready to upload to RedSky. Each row carries the user's email, name, phone, and device-user details; users with noreply@ emails are excluded.
|
|
123
|
+
|
|
124
|
+
**Call:** `GET /headless/invoke/platform/e911/get-exported-users` — status: `proposed`
|
|
125
|
+
|
|
126
|
+
**Output:** String. RedSky Device Users CSV: 4 header-comment lines followed by a column header line (Email, HELD+ User ID, First Name, Last Name, Phone Number, Device User IDs, Callback Number) and one row per active CCaaS-perm-set user (excluding 'noreply@' emails). Device User IDs column carries the Salesforce User Id.
|
|
127
|
+
|
|
128
|
+
#### `get-emergency-config`
|
|
129
|
+
|
|
130
|
+
Returns the Emergency Calling state as one object, covering the master switch, the active route, and the status of both providers.
|
|
131
|
+
|
|
132
|
+
**Call:** `GET /headless/invoke/platform/e911/get-emergency-config` — status: `proposed`
|
|
133
|
+
|
|
134
|
+
**Output:** Object: enabled (Boolean), routeVia (REDSKY, EXTERNAL_VENDOR, or null), redSkyConfigured, redSkyAdminCreated, redSkyStatus (READY or NOT_CONFIGURED), redSkyEligible (true only with a Voice number lease license), externalVendorConfigured, externalVendorStatus (READY or NOT_CONFIGURED), externalVendorTelephonyProviderId, externalVendorTrunkName.
|
|
135
|
+
|
|
136
|
+
### Write operations
|
|
137
|
+
|
|
138
|
+
#### `create-admin-profile`
|
|
139
|
+
|
|
140
|
+
Retries creating the RedSky admin user for an already-configured RedSky organization. Fails if RedSky is not configured yet or the admin already exists.
|
|
141
|
+
|
|
142
|
+
**Call:** `PATCH /headless/invoke/platform/e911/create-admin-profile` — status: `proposed`
|
|
143
|
+
|
|
144
|
+
**Depends on:** `save-emergency-provider`, `enable-legacy-red-sky`
|
|
145
|
+
|
|
146
|
+
#### `update-e911-status`
|
|
147
|
+
|
|
148
|
+
Master switch for Emergency Calling. enable=true turns it on and requires the active provider to be fully configured (a RedSky organization, or an External Vendor trunk with its routing metadata). enable=false suspends Emergency Calling and keeps provider settings, so it is reversible. It does not provision a provider or change the active route; use save-emergency-provider and set-route-via for that. Returns the resulting state, in the same shape as get-emergency-config.
|
|
149
|
+
|
|
150
|
+
**Call:** `PATCH /headless/invoke/platform/e911/update-e911-status` — status: `proposed`
|
|
151
|
+
|
|
152
|
+
**Inputs:**
|
|
153
|
+
|
|
154
|
+
- `enable` *(`Boolean`)* — true turns Emergency Calling on; false suspends it. Always pass it explicitly.
|
|
155
|
+
|
|
156
|
+
**Output:** Object with the resulting Emergency Calling state: enabled (Boolean), routeVia (REDSKY, EXTERNAL_VENDOR, or null), redSkyConfigured, redSkyAdminCreated, redSkyStatus (READY or NOT_CONFIGURED), redSkyEligible, externalVendorConfigured, externalVendorStatus (READY or NOT_CONFIGURED), externalVendorTelephonyProviderId, externalVendorTrunkName.
|
|
157
|
+
|
|
158
|
+
#### `save-emergency-provider`
|
|
159
|
+
|
|
160
|
+
Configures one routing provider without turning the service on or switching the active route; the first provider configured becomes active. REDSKY provisions a RedSky organization and admin user (or reuses an existing one) and needs a Voice number lease license. EXTERNAL_VENDOR validates the chosen trunk and stores its routing metadata. The other provider's settings are kept. Returns the resulting state, in the same shape as get-emergency-config.
|
|
161
|
+
|
|
162
|
+
**Call:** `PATCH /headless/invoke/platform/e911/save-emergency-provider` — status: `proposed`
|
|
163
|
+
|
|
164
|
+
**Inputs:**
|
|
165
|
+
|
|
166
|
+
- `provider` *(`String`)* — Which provider to configure.
|
|
167
|
+
- `telephonyProviderId` *(`String`)* — Record id of the trunk from get-telephony-providers; call that first for EXTERNAL_VENDOR. Required when provider is EXTERNAL_VENDOR; ignored for REDSKY.
|
|
168
|
+
- **Source:** output of `get-telephony-providers`
|
|
169
|
+
|
|
170
|
+
**Output:** Object with the resulting Emergency Calling state, in the same shape as get-emergency-config.
|
|
171
|
+
|
|
172
|
+
#### `set-route-via`
|
|
173
|
+
|
|
174
|
+
Selects the active routing provider for emergency calls. The target must already be fully configured, otherwise the request fails. Returns the resulting state, in the same shape as get-emergency-config.
|
|
175
|
+
|
|
176
|
+
**Call:** `PATCH /headless/invoke/platform/e911/set-route-via` — status: `proposed`
|
|
177
|
+
|
|
178
|
+
**Inputs:**
|
|
179
|
+
|
|
180
|
+
- `routeVia` *(`String`)* — The provider emergency calls should be routed through.
|
|
181
|
+
|
|
182
|
+
**Depends on:** `save-emergency-provider`
|
|
183
|
+
|
|
184
|
+
**Output:** Object with the resulting Emergency Calling state, in the same shape as get-emergency-config.
|
|
185
|
+
|
|
186
|
+
#### `enable-legacy-red-sky`
|
|
187
|
+
|
|
188
|
+
Legacy one-shot RedSky enable. Provisions a RedSky organization and admin user and turns Emergency Calling on in one call, or turns it on without re-provisioning when a RedSky organization already exists. Fails if Emergency Calling is already enabled. Does not require the Voice number lease license.
|
|
189
|
+
|
|
190
|
+
**Call:** `PATCH /headless/invoke/platform/e911/enable-legacy-red-sky` — status: `proposed`
|
|
191
|
+
|
|
192
|
+
### Verify operations
|
|
193
|
+
|
|
194
|
+
#### `verify-e911-status`
|
|
195
|
+
|
|
196
|
+
Read back via get-e911-status to confirm update-e911-status took effect. Returns true after enable=true and false after enable=false (suspended).
|
|
197
|
+
|
|
198
|
+
**Call:** `GET /headless/invoke/platform/e911`
|
|
199
|
+
|
|
200
|
+
**Depends on:** `update-e911-status`
|
|
201
|
+
|
|
202
|
+
#### `verify-create-admin-profile`
|
|
203
|
+
|
|
204
|
+
Read back via get-admin-created-status to confirm create-admin-profile succeeded; the RedSky admin user should now show as created.
|
|
205
|
+
|
|
206
|
+
**Call:** `GET /headless/invoke/platform/e911/get-admin-created-status`
|
|
207
|
+
|
|
208
|
+
**Depends on:** `create-admin-profile`
|
|
209
|
+
|
|
210
|
+
#### `verify-set-route-via`
|
|
211
|
+
|
|
212
|
+
Read back via get-emergency-config to confirm routeVia is the provider that set-route-via selected.
|
|
213
|
+
|
|
214
|
+
**Call:** `GET /headless/invoke/platform/e911/get-emergency-config` — status: `proposed`
|
|
215
|
+
|
|
216
|
+
**Depends on:** `set-route-via`
|
|
217
|
+
|
|
218
|
+
#### `verify-save-emergency-provider`
|
|
219
|
+
|
|
220
|
+
Read back via get-emergency-config to confirm the provider is configured. After REDSKY, redSkyConfigured is true; after EXTERNAL_VENDOR, externalVendorConfigured is true.
|
|
221
|
+
|
|
222
|
+
**Call:** `GET /headless/invoke/platform/e911/get-emergency-config` — status: `proposed`
|
|
223
|
+
|
|
224
|
+
**Depends on:** `save-emergency-provider`
|
|
225
|
+
|
|
226
|
+
#### `verify-enable-legacy-red-sky`
|
|
227
|
+
|
|
228
|
+
Read back via get-e911-status to confirm Emergency Calling is now on. Returns true after a successful enable-legacy-red-sky.
|
|
229
|
+
|
|
230
|
+
**Call:** `GET /headless/invoke/platform/e911` — status: `proposed`
|
|
231
|
+
|
|
232
|
+
**Depends on:** `enable-legacy-red-sky`
|
|
233
|
+
|
|
234
|
+
### Other operations
|
|
235
|
+
|
|
236
|
+
#### `get-telephony-providers`
|
|
237
|
+
|
|
238
|
+
Lists the org's telephony trunks for the External Vendor choice. Pass the chosen trunk's record id to save-emergency-provider as telephonyProviderId.
|
|
239
|
+
|
|
240
|
+
**Call:** `GET /headless/invoke/platform/e911/get-telephony-providers` — status: `proposed`
|
|
241
|
+
|
|
242
|
+
**Output:** List of the org's TelephonyProvider records, each as an object. Empty when the org has none.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: service-itsm-agentic-setup-incident-management
|
|
3
|
-
description: "Orchestrator for Incident Management setup in Service Cloud ITSM: presents the features
|
|
3
|
+
description: "Orchestrator for Incident Management setup in Service Cloud ITSM: presents the features with live org status, and configures each — Incident preferences, Incident persona PSG assignment, Priority Matrix, SLA & Milestones, Incident dashboards, Email-to-Incident, Major Incident Management (approval group + MIM preferences), Broadcast Communications, Manage Incidents with AI, Service Management Privilege (privilege escalation), and audit tracking. Use for: set up or configure incident management, a walkthrough, what incident features can I configure; the incident preference toggles (default field validations, auto-close child incidents, auto-triage, assign with Einstein, restrict assigned group, rich text descriptions); assigning the Incident Fulfiller or Incident Manager persona PSG. DO NOT TRIGGER for: the master on/off switch alone (use the IncidentMgmt SOR), the Priority Matrix, SLA, or field history tracking alone, the Major Incident Manager PSG, creating/editing PSGs, or Problem/Change/Case Management."
|
|
4
4
|
metadata:
|
|
5
|
-
version: "3.
|
|
5
|
+
version: "3.2"
|
|
6
6
|
domains: ["Service"]
|
|
7
7
|
minApiVersion: "67.0"
|
|
8
8
|
relatedSkills:
|
|
@@ -23,14 +23,14 @@ allowed-tools: |
|
|
|
23
23
|
# Incident Management Setup Orchestrator
|
|
24
24
|
|
|
25
25
|
Guide the user through setting up Incident Management features in Salesforce Service Cloud ITSM by
|
|
26
|
-
presenting the available capabilities
|
|
27
|
-
Operation Recipes (SORs) whose own steps this skill runs.
|
|
26
|
+
presenting the available capabilities with their status read from the org, and **delegating** each feature
|
|
27
|
+
to the Setup Operation Recipes (SORs) whose own steps this skill runs.
|
|
28
28
|
|
|
29
29
|
## Goal
|
|
30
30
|
|
|
31
31
|
Act as the coordinator for Incident Management feature configuration. Present a menu of configurable
|
|
32
|
-
features, handle each selection, and after each feature completes,
|
|
33
|
-
until the user is done.
|
|
32
|
+
features with each one's status read from the org, handle each selection, and after each feature completes,
|
|
33
|
+
re-read the statuses and return to the menu until the user is done.
|
|
34
34
|
|
|
35
35
|
## How each feature is handled
|
|
36
36
|
|
|
@@ -38,7 +38,7 @@ until the user is done.
|
|
|
38
38
|
|---|---------|-----------|-----------|
|
|
39
39
|
| P | Incident Preferences | **Delegate** → `IncidentMgmt` (its preference steps) | `references/incident-preferences.md` |
|
|
40
40
|
| 1 | Incident Persona PSG | **Delegate** → `service-itsm-incident-persona-assign` | `references/incident-persona-psg.md` |
|
|
41
|
-
| 2 | Priority Matrix | **Delegate** → `
|
|
41
|
+
| 2 | Priority Matrix | **Delegate** → `ItsmPriorityMatrix` (entity type `Incident`) | `references/priority-matrix.md` |
|
|
42
42
|
| 3 | SLA & Milestones | **Delegate** → `SLASettings`, then `sla-management-setup` (custom policy) | `references/sla-milestones.md` |
|
|
43
43
|
| 4 | Incident Dashboards | **Delegate** → `itsm-incident-dashboard-enablement` (Manager) and `itsm-incident-fulfiller-dashboard-enablement` (Fulfiller) | `references/incident-dashboards.md` |
|
|
44
44
|
| 5 | Email-to-Incident | **Delegate** → `EmailToIncident` | `references/email-to-incident.md` |
|
|
@@ -69,29 +69,29 @@ send the prefix once.
|
|
|
69
69
|
never run a SOR's own enable or delegate step for them, and never follow a hand-off a SOR names for
|
|
70
70
|
either gate or for another feature on this menu.
|
|
71
71
|
3. **Read before write.** Read the current state through the SOR's read steps. If it already matches what
|
|
72
|
-
the user wants, that read is the verification
|
|
72
|
+
the user wants, that read is the verification — no write.
|
|
73
73
|
4. **Confirm the exact change.** State the current value and the exact change, and get an explicit yes
|
|
74
74
|
(`AskUserQuestion`) before any write. The user's initial request is not that confirmation; one yes can
|
|
75
75
|
cover several writes if you listed them all.
|
|
76
76
|
5. **Write, then read back.** Write only through the SOR's write steps, then read back through its verify
|
|
77
|
-
steps.
|
|
77
|
+
steps. The feature is finished only when the read-back shows the chosen state — a write response alone
|
|
78
78
|
is not proof.
|
|
79
79
|
|
|
80
80
|
## Behavior
|
|
81
81
|
|
|
82
|
-
### 0.
|
|
82
|
+
### 0. Read every status from the org
|
|
83
83
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
84
|
+
Every status you show — both prerequisite gates, the menu, the table after a feature runs, the completion
|
|
85
|
+
summary — comes from reading the org with `references/status-checks.md` just before you show it. Never
|
|
86
|
+
carry a status over from earlier in the conversation, from a previous session, or from what the user says
|
|
87
|
+
is already done: setup may have changed since. A failed read is **Couldn't check**, never **Not done**. If
|
|
88
|
+
the org disagrees with what the user said, show the org's status and say so. Only the **target org**
|
|
89
|
+
carries over, unless the user switches orgs.
|
|
90
90
|
|
|
91
91
|
### 1. Extract context from conversation
|
|
92
92
|
|
|
93
|
-
Scan chat history for
|
|
94
|
-
|
|
93
|
+
Scan chat history for the target org, the features the user named, any stated preferences/constraints, and
|
|
94
|
+
business context that informs which features are relevant — never for which features are done.
|
|
95
95
|
|
|
96
96
|
### 2. Verify IT Service Enablement, then ensure the Incident Management master switch is on
|
|
97
97
|
|
|
@@ -105,9 +105,10 @@ version with its minor, such as `v68.0`, never a bare major. If a feature read f
|
|
|
105
105
|
other version strings. Never read or toggle `service-cloud-incident-management`, and do
|
|
106
106
|
not use the Service-Foundation `IncidentManagement` look-alike or its broadcast toggles.
|
|
107
107
|
|
|
108
|
-
|
|
109
|
-
`
|
|
110
|
-
|
|
108
|
+
Read each gate with the Salesforce Go rule in `references/status-checks.md` and act on it as that file's
|
|
109
|
+
gates section says: `ENABLED` continues even with blocked reasons or an unfinished Salesforce Go setup step;
|
|
110
|
+
`NOT_AVAILABLE` or a blocked reason halts — show the reason as plain text (its message is HTML-escaped
|
|
111
|
+
markup) and do not attempt enable. Never infer success from a write response.
|
|
111
112
|
|
|
112
113
|
1. **IT Service Enablement** — only exact `ENABLED` continues. Exact `NOT_ENABLED` with no blocked reasons:
|
|
113
114
|
ask **“IT Service Enablement is off — enable it now?”** with `AskUserQuestion` (single-select, exactly
|
|
@@ -127,15 +128,15 @@ messages are HTML-escaped markup) and halt if present. Never infer success from
|
|
|
127
128
|
|
|
128
129
|
Never offer to bypass either gate.
|
|
129
130
|
|
|
130
|
-
**
|
|
131
|
-
|
|
131
|
+
**Re-read both gates each time the menu is about to show and before a direct single-feature handoff** —
|
|
132
|
+
never reuse an earlier result (step 0).
|
|
132
133
|
|
|
133
|
-
### 3. Present the feature menu
|
|
134
|
+
### 3. Present the feature menu
|
|
134
135
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
several enqueue for sequential handling in step 4.
|
|
136
|
+
Read every row's status (step 0), then emit the **Feature menu** template from `examples/output-templates.md`.
|
|
137
|
+
The table is the menu; the user replies with the numbers they want. Never collect the choice with
|
|
138
|
+
`AskUserQuestion`: a question holds four options at most, so it can't carry every row. Every row stays
|
|
139
|
+
selectable. Selecting one feature is valid; several enqueue for sequential handling in step 4.
|
|
139
140
|
|
|
140
141
|
### 4. Handle each selected feature in order
|
|
141
142
|
|
|
@@ -146,13 +147,14 @@ the per-feature invariants below.
|
|
|
146
147
|
|
|
147
148
|
### 5. After each feature completes
|
|
148
149
|
|
|
149
|
-
|
|
150
|
-
**Post-feature progress** template in
|
|
150
|
+
Re-read every status (step 0), suggest the next logical step — the first row that isn't **Done** or **Not
|
|
151
|
+
available** — and re-present the menu using the **Post-feature progress** template in
|
|
152
|
+
`examples/output-templates.md`.
|
|
151
153
|
|
|
152
154
|
### 6. Completion summary
|
|
153
155
|
|
|
154
|
-
When the user says they're done (or
|
|
155
|
-
|
|
156
|
+
When the user says they're done (or every row reads **Done**), present the **Completion summary** template
|
|
157
|
+
in `examples/output-templates.md`, with every status read just before it (step 0).
|
|
156
158
|
|
|
157
159
|
---
|
|
158
160
|
|
|
@@ -232,8 +234,7 @@ so only that tier's milestones fire.
|
|
|
232
234
|
|
|
233
235
|
- ALWAYS show "(via service-itsm-agentic-setup-incident-management)" in the setup header
|
|
234
236
|
- ALWAYS check the IT Service Enablement and master-switch prerequisites (Behavior step 2) through
|
|
235
|
-
the `IncidentMgmt` SOR before showing the menu or handing off a named feature
|
|
236
|
-
confirmed enabled earlier in this conversation
|
|
237
|
+
the `IncidentMgmt` SOR before showing the menu or handing off a named feature
|
|
237
238
|
- ALWAYS ask each off gate with `AskUserQuestion` (single-select Yes/No), every time, never as plain text,
|
|
238
239
|
before delegating the enable; No stops and points to Setup
|
|
239
240
|
- ALWAYS require exact `ENABLED` verification for `service-cloud-itsm-setup` before the Incident switch;
|
|
@@ -241,15 +242,16 @@ so only that tier's milestones fire.
|
|
|
241
242
|
- ALWAYS present the feature menu before configuring any selected feature (the master-switch prerequisite
|
|
242
243
|
is the only permitted action before the menu) — do not assume which feature the user wants, **except**
|
|
243
244
|
when the user named a specific feature, in which case go straight to it (single-select is fine)
|
|
244
|
-
- ALWAYS
|
|
245
|
-
|
|
245
|
+
- ALWAYS show the feature menu as the table and take the choice from the user's typed reply, never from
|
|
246
|
+
an `AskUserQuestion`
|
|
246
247
|
- ALWAYS read a feature's reference file before executing it, follow its rules, and follow the SOR at
|
|
247
248
|
runtime — never hardcode a route, body, or preference name
|
|
248
249
|
- ALWAYS run a feature's SORs under the hand-off protocol; NEVER hand a feature off to another skill, and
|
|
249
250
|
never follow a SOR's hand-off for either prerequisite gate or for another feature on this menu
|
|
250
251
|
- NEVER set up a feature the user did not select; for "set up everything", walk each feature sequentially
|
|
251
252
|
in recommended order, confirming between each step
|
|
252
|
-
-
|
|
253
|
+
- ALWAYS read each status from the org just before you show it (step 0) — a failed read is **Couldn't
|
|
254
|
+
check**, never **Not done**
|
|
253
255
|
- Do not show Salesforce record IDs in any output — human-readable names only
|
|
254
256
|
|
|
255
257
|
---
|
|
@@ -259,14 +261,14 @@ so only that tier's milestones fire.
|
|
|
259
261
|
Before emitting any menu or summary, confirm each; adjust the output before sending if any is unchecked.
|
|
260
262
|
|
|
261
263
|
- [ ] The header line ends with `(via service-itsm-agentic-setup-incident-management)`
|
|
262
|
-
- [ ]
|
|
263
|
-
|
|
264
|
-
|
|
264
|
+
- [ ] Both prerequisite gates were read from the org through the `IncidentMgmt` SOR just before the menu
|
|
265
|
+
or direct feature handoff; each off gate was asked with `AskUserQuestion` (Yes/No), not plain text,
|
|
266
|
+
before the enable was delegated
|
|
265
267
|
- [ ] The exact `service-cloud-itsm-setup` entry verified exact `ENABLED` before the Incident-switch
|
|
266
268
|
sequence; any other result stopped
|
|
267
|
-
- [ ] The feature menu
|
|
268
|
-
|
|
269
|
-
- [ ] Each
|
|
269
|
+
- [ ] The feature menu is the full table, every row with its status, then the reply line — no
|
|
270
|
+
`AskUserQuestion` for the choice
|
|
271
|
+
- [ ] Each status was read from the org just before this output (step 0) — a label and a short note
|
|
270
272
|
- [ ] A feature is being handled only because the user explicitly selected it (or is being walked through
|
|
271
273
|
sequentially with confirmation under an "all" / "everything" request)
|
|
272
274
|
- [ ] For each feature: its reference file was read and its checks passed; its SORs ran under the
|
|
@@ -283,7 +285,8 @@ Read each `references/` file before executing its feature.
|
|
|
283
285
|
|
|
284
286
|
| File | When to read |
|
|
285
287
|
|------|--------------|
|
|
286
|
-
| `
|
|
288
|
+
| `references/status-checks.md` | **Every run** — every status you show (step 0) and both gates (step 2): the labels, the Salesforce Go rule, each row's reads, the track roll-up |
|
|
289
|
+
| `examples/output-templates.md` | Behavior steps 3, 5, 6 — feature menu, post-feature progress, completion summary |
|
|
287
290
|
| `references/incident-preferences.md` | **Incident Preferences** — where to start in the `IncidentMgmt` SOR, the steps never to run, the one-way confirmations, and the licensed toggles |
|
|
288
291
|
| `references/incident-persona-psg.md` | **Incident Persona PSG** — the not-provisioned stop, the persona menu, one pass per PSG, and the settling status |
|
|
289
292
|
| `references/priority-matrix.md` | **Priority Matrix** — the reads, the full-replacement save, the read-back, and the Salesforce Go step |
|