@salesforce/afv-skills 1.63.0 → 1.65.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/package.json +1 -1
- package/skills/agentforce-gpt-email-generation-configure/SKILL.md +312 -0
- package/skills/agentforce-offline-experimentation-run/SKILL.md +253 -0
- package/skills/agentforce-offline-experimentation-run/scripts/build_report.py +796 -0
- package/skills/agentforce-offline-experimentation-run/scripts/resolve-token.sh +111 -0
- package/skills/agentforce-offline-experimentation-run/scripts/sfap_replay.py +1053 -0
- package/skills/agentforce-wizard-ui-forecasting-analytics-components-configure/SKILL.md +64 -0
- package/skills/agentforce-wizard-ui-sales-einstein-components-configure/SKILL.md +46 -0
- package/skills/automation-company-profile-info-query/SKILL.md +51 -0
- package/skills/automation-digital-wallet-configure/SKILL.md +689 -0
- package/skills/automation-flow-coordinate/SKILL.md +95 -0
- package/skills/automation-flow-coordinate/references/elements/action-call/action-call.md +1569 -0
- package/skills/automation-flow-coordinate/references/elements/action-call/conversation-messaging.md +96 -0
- package/skills/automation-flow-coordinate/references/elements/action-call/examples/send-sms-message.json +23 -0
- package/skills/automation-flow-coordinate/references/elements/action-call/examples/send-to-journey-no-fields.json +31 -0
- package/skills/automation-flow-coordinate/references/elements/action-call/send-to-journey.md +179 -0
- package/skills/automation-flow-coordinate/references/elements/exit-rule/examples/event-email-link-click.json +13 -0
- package/skills/automation-flow-coordinate/references/elements/exit-rule/exit-rule.md +83 -0
- package/skills/automation-flow-coordinate/references/elements/forward-to-bot-or-agent/examples/forward-to-bot-or-agent.json +69 -0
- package/skills/automation-flow-coordinate/references/elements/forward-to-bot-or-agent/forward-to-bot-or-agent.md +274 -0
- package/skills/automation-flow-coordinate/references/elements/start/audience-common.md +192 -0
- package/skills/automation-flow-coordinate/references/elements/start/automation-event-triggered.md +130 -0
- package/skills/automation-flow-coordinate/references/elements/start/data-cloud-data-change-triggered.md +92 -0
- package/skills/automation-flow-coordinate/references/elements/start/form-submission-triggered.md +88 -0
- package/skills/automation-flow-coordinate/references/elements/start/segment-triggered.md +152 -0
- package/skills/automation-flow-coordinate/references/elements/start/start.md +539 -0
- package/skills/automation-flow-coordinate/references/elements/subflow/subflow.md +152 -0
- package/skills/automation-flow-coordinate/references/elements/wait/wait.md +497 -0
- package/skills/automation-flow-coordinate/references/recipes/author/author.md +868 -0
- package/skills/automation-flow-coordinate/references/recipes/summarize/element-generic.md +300 -0
- package/skills/automation-flow-coordinate/references/recipes/summarize/reference-resolution.md +292 -0
- package/skills/automation-flow-coordinate/references/recipes/summarize/summarize.md +323 -0
- package/skills/automation-flow-coordinate/references/recipes/testing/examples/debug-output-template.md +109 -0
- package/skills/automation-flow-coordinate/references/recipes/testing/shape.md +219 -0
- package/skills/automation-flow-coordinate/references/recipes/testing/shared-stages/intent-analyzer.md +180 -0
- package/skills/automation-flow-coordinate/references/recipes/testing/workflows/debug.md +175 -0
- package/skills/automation-flow-coordinate/references/recipes/testing/workflows/promote.md +255 -0
- package/skills/automation-flow-coordinate/references/recipes/testing/workflows/save-debug.md +212 -0
- package/skills/automation-flow-coordinate/references/resources/variable/variable.md +171 -0
- package/skills/automation-flow-coordinate/references/shared/anti-patterns.md +786 -0
- package/skills/automation-flow-coordinate/references/shared/end/end.md +267 -0
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/README.md +69 -0
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/predictions.jsonl +80 -0
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/prompts.jsonl +116 -0
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/flow-type-resolver.md +321 -0
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/taxonomy.json +320 -0
- package/skills/automation-flow-coordinate/references/shared/server-functions.md +597 -0
- package/skills/automation-sandbox-post-copy-config-generate/SKILL.md +21 -11
- package/skills/automation-sandbox-post-copy-config-generate/assets/config_template.json +10 -0
- package/skills/automation-sandbox-post-copy-config-generate/assets/json_schema.json +33 -1
- package/skills/automation-sandbox-post-copy-config-generate/references/configuration_catalog.md +44 -1
- package/skills/automation-sandbox-post-copy-configure/SKILL.md +132 -124
- package/skills/automation-sandbox-post-copy-configure/references/flow_activation_path.md +151 -0
- package/skills/automation-sandbox-post-copy-configure/references/scheduled_apex_path.md +55 -9
- package/skills/automotive-cloud-appraisal-management-settings-configure/SKILL.md +69 -0
- package/skills/automotive-cloud-dealer-essentials-configure/SKILL.md +78 -0
- package/skills/automotive-cloud-ground-agent-data-pipelines-configure/SKILL.md +373 -0
- package/skills/automotive-cloud-ground-mfg-agent-data-pipelines-configure/SKILL.md +273 -0
- package/skills/automotive-cloud-mfg-agent-data-pipelines-configure/SKILL.md +259 -0
- package/skills/automotive-cloud-mfg-sales-concierge-agent-create/SKILL.md +369 -0
- package/skills/automotive-cloud-mfg-sales-concierge-foundation-configure/SKILL.md +542 -0
- package/skills/automotive-cloud-mfg-sales-concierge-foundation-coordinate/SKILL.md +159 -0
- package/skills/automotive-cloud-mfg-sales-concierge-orchestrator-agent-create/SKILL.md +349 -0
- package/skills/automotive-cloud-mfg-sales-concierge-orchestrator-configure/SKILL.md +505 -0
- package/skills/automotive-cloud-sales-concierge-agent-create/SKILL.md +380 -0
- package/skills/automotive-cloud-sales-concierge-foundation-configure/SKILL.md +567 -0
- package/skills/automotive-cloud-sales-concierge-foundation-coordinate/SKILL.md +159 -0
- package/skills/automotive-cloud-sales-concierge-orchestrator-agent-create/SKILL.md +360 -0
- package/skills/automotive-cloud-sales-concierge-orchestrator-configure/SKILL.md +539 -0
- package/skills/automotive-cloud-sales-concierge-search-grounding-configure/SKILL.md +358 -0
- package/skills/commerce-b2b-merchant-quote-configure/SKILL.md +602 -0
- package/skills/commerce-b2b-store-configure/SKILL.md +251 -0
- package/skills/commerce-credit-memo-create/SKILL.md +139 -0
- package/skills/commerce-delivery-business-hours-configure/SKILL.md +277 -0
- package/skills/commerce-delivery-estimation-apply/SKILL.md +155 -0
- package/skills/commerce-delivery-estimation-configure/SKILL.md +377 -0
- package/skills/commerce-delivery-routing-specs-integrate/SKILL.md +174 -0
- package/skills/commerce-estimate-bopis-query/SKILL.md +279 -0
- package/skills/commerce-estimate-delivery-date-query/SKILL.md +349 -0
- package/skills/commerce-fees-apply/SKILL.md +227 -0
- package/skills/commerce-fulfillment-routing-analyze/SKILL.md +200 -0
- package/skills/commerce-guest-buyer-create/SKILL.md +173 -0
- package/skills/commerce-location-bopis-configure/SKILL.md +378 -0
- package/skills/commerce-location-business-hours-configure/SKILL.md +235 -0
- package/skills/commerce-location-delivery-processing-time-configure/SKILL.md +309 -0
- package/skills/commerce-location-graph-integrate/SKILL.md +131 -0
- package/skills/commerce-location-shipping-carrier-method-configure/SKILL.md +755 -0
- package/skills/commerce-location-temporary-operating-hours-configure/SKILL.md +331 -0
- package/skills/commerce-merchant-buyer-groups-configure/SKILL.md +579 -0
- package/skills/commerce-merchant-buyer-user-onboarding-create/SKILL.md +626 -0
- package/skills/commerce-merchant-catalog-configure/SKILL.md +614 -0
- package/skills/commerce-merchant-extension-provider-configure/SKILL.md +368 -0
- package/skills/commerce-merchant-insights-account-health-churn-analyze/SKILL.md +118 -0
- package/skills/commerce-merchant-insights-inventory-returns-analyze/SKILL.md +65 -0
- package/skills/commerce-merchant-insights-order-shopper-get/SKILL.md +90 -0
- package/skills/commerce-merchant-insights-product-performance-analyze/SKILL.md +72 -0
- package/skills/commerce-merchant-insights-query/SKILL.md +279 -0
- package/skills/commerce-merchant-storefront-guest-access-configure/SKILL.md +656 -0
- package/skills/commerce-order-summary-change-apply/SKILL.md +375 -0
- package/skills/commerce-product-details-get/SKILL.md +363 -0
- package/skills/commerce-product-search/SKILL.md +563 -0
- package/skills/commerce-react-storefront-create/SKILL.md +350 -0
- package/skills/commerce-return-order-summary-create/SKILL.md +513 -0
- package/skills/commerce-search-relevance-analyze/SKILL.md +757 -0
- package/skills/commerce-temporary-processing-time-override-create/SKILL.md +274 -0
- package/skills/communications-initial-setup-configure/SKILL.md +630 -0
- package/skills/communications-multisite-configure/SKILL.md +571 -0
- package/skills/communications-revenue-cloud-settings-configure/SKILL.md +74 -0
- package/skills/communications-smb-fiber-catalog-create/SKILL.md +413 -0
- package/skills/communications-tmf-integrate/SKILL.md +1368 -0
- package/skills/consumer-goods-promotion-bo-api-deploy/SKILL.md +54 -107
- package/skills/consumer-goods-promotion-bo-api-deploy/assets/set-comment-value/payloads/copy.json +1 -1
- package/skills/consumer-goods-promotion-bo-api-deploy/references/conventions-and-payload-rules.md +82 -5
- package/skills/consumer-goods-promotion-bo-api-deploy/references/generate-and-wire.md +35 -2
- package/skills/consumer-goods-promotion-bo-api-deploy/references/preflight-and-seed-queries.md +149 -0
- package/skills/consumer-goods-promotion-bo-api-deploy/references/smoke-and-verify.md +17 -1
- package/skills/consumer-goods-visit-activity-act4-questions-assign/SKILL.md +448 -0
- package/skills/consumer-goods-visit-activity-act5-standard-create/SKILL.md +269 -0
- package/skills/consumer-goods-visit-activity-act6-assortment-configure/SKILL.md +271 -0
- package/skills/consumer-goods-visit-activity-act7-account-scoping-create/SKILL.md +382 -0
- package/skills/consumer-goods-visit-activity-act8-plan-attach-create/SKILL.md +373 -0
- package/skills/consumer-goods-visit-activity-act9-proof-validate/SKILL.md +389 -0
- package/skills/consumer-goods-visit-and-activity-act1-specification-create/SKILL.md +338 -0
- package/skills/consumer-goods-visit-and-activity-act2-template-create/SKILL.md +547 -0
- package/skills/consumer-goods-visit-and-activity-act3-definition-create/SKILL.md +346 -0
- package/skills/consumer-goods-visit-and-activity-configure/SKILL.md +1110 -0
- package/skills/crm-analytics-adoption-insights-configure/SKILL.md +224 -0
- package/skills/crm-analytics-custom-report-type-lightning-configure/SKILL.md +418 -0
- package/skills/crm-analytics-dashboards-configure/SKILL.md +731 -0
- package/skills/crm-analytics-operational-analytics-metadata-bridge-migrate/SKILL.md +233 -0
- package/skills/crm-analytics-report-notifications-ui-configure/SKILL.md +184 -0
- package/skills/crm-analytics-sharing-inheritance-coverage-analyze/SKILL.md +167 -0
- package/skills/crm-analytics-sonic-getting-started-configure/SKILL.md +55 -0
- package/skills/crm-analytics-tableau-next-app-deploy/SKILL.md +1350 -0
- package/skills/crm-analytics-tableau-next-c360-basemodel-validate/SKILL.md +1862 -0
- package/skills/crm-analytics-tableau-next-datacloud-validate/SKILL.md +83 -0
- package/skills/crm-analytics-tableau-next-provisioning-validate/SKILL.md +81 -0
- package/skills/data360-activation-create/SKILL.md +104 -0
- package/skills/data360-activation-external-platform-get/SKILL.md +49 -0
- package/skills/data360-activation-target-create/SKILL.md +93 -0
- package/skills/data360-activation-v2-create/SKILL.md +456 -0
- package/skills/data360-audience-dmo-get/SKILL.md +38 -0
- package/skills/data360-calculated-affinity-create/SKILL.md +82 -0
- package/skills/data360-calculated-insight-create/SKILL.md +148 -0
- package/skills/data360-catalog-metadata-create/SKILL.md +183 -0
- package/skills/data360-code-extension-create/SKILL.md +115 -0
- package/skills/data360-communication-capping-create/SKILL.md +227 -0
- package/skills/data360-connection-create/SKILL.md +491 -0
- package/skills/data360-content-lens-create/SKILL.md +181 -0
- package/skills/data360-data-action-create/SKILL.md +126 -0
- package/skills/data360-data-action-target-create/SKILL.md +181 -0
- package/skills/data360-data-clean-room-create/SKILL.md +238 -0
- package/skills/data360-data-governance-create/SKILL.md +746 -0
- package/skills/data360-data-graph-create/SKILL.md +82 -0
- package/skills/data360-data-harmonized-model-object-reference-create/SKILL.md +38 -0
- package/skills/data360-data-lake-object-create/SKILL.md +207 -0
- package/skills/data360-data-model-object-catalog-get/SKILL.md +49 -0
- package/skills/data360-data-model-object-create/SKILL.md +128 -0
- package/skills/data360-data-model-object-mapping-create/SKILL.md +106 -0
- package/skills/data360-data-space-create/SKILL.md +161 -0
- package/skills/data360-data-streams-create/SKILL.md +324 -0
- package/skills/data360-engagement-signal-get/SKILL.md +38 -0
- package/skills/data360-experiment-create/SKILL.md +82 -0
- package/skills/data360-goal-based-campaign-create/SKILL.md +192 -0
- package/skills/data360-harmonization-process-history-get/SKILL.md +38 -0
- package/skills/data360-harmonized-unstructured-dmo-create/SKILL.md +84 -0
- package/skills/data360-identity-resolution-create/SKILL.md +115 -0
- package/skills/data360-intelligent-document-processing-create/SKILL.md +148 -0
- package/skills/data360-knowledge-graph-construction-create/SKILL.md +93 -0
- package/skills/data360-knowledge-graph-create/SKILL.md +216 -0
- package/skills/data360-knowledge-space-mcp-configure/SKILL.md +475 -0
- package/skills/data360-machine-learning-mcp-configure/SKILL.md +697 -0
- package/skills/data360-multi-org-mcp-configure/SKILL.md +117 -0
- package/skills/data360-secondary-index-mcp-configure/SKILL.md +126 -0
- package/skills/data360-segment-mcp-configure/SKILL.md +159 -0
- package/skills/data360-semantic-calculated-dimension-mcp-configure/SKILL.md +93 -0
- package/skills/data360-semantic-calculated-measurement-mcp-configure/SKILL.md +93 -0
- package/skills/data360-semantic-data-object-mcp-configure/SKILL.md +93 -0
- package/skills/data360-semantic-dimension-mcp-configure/SKILL.md +38 -0
- package/skills/data360-semantic-engine-mcp-configure/SKILL.md +62 -0
- package/skills/data360-semantic-measurement-mcp-configure/SKILL.md +38 -0
- package/skills/data360-semantic-metric-mcp-configure/SKILL.md +93 -0
- package/skills/data360-semantic-model-mcp-configure/SKILL.md +115 -0
- package/skills/data360-standard-mapping-mcp-configure/SKILL.md +38 -0
- package/skills/data360-tenant-lifecycle-mcp-configure/SKILL.md +73 -0
- package/skills/dx-devops-conflict-resolve/SKILL.md +1 -5
- package/skills/dx-devops-pipeline-manage/SKILL.md +1 -5
- package/skills/dx-devops-project-manage/SKILL.md +1 -5
- package/skills/dx-devops-promote/SKILL.md +1 -5
- package/skills/dx-devops-request-status/SKILL.md +1 -5
- package/skills/dx-lifecycle-center/SKILL.md +120 -0
- package/skills/dx-lifecycle-center/examples/workflows.md +175 -0
- package/skills/dx-lifecycle-center/references/connect-api.md +123 -0
- package/skills/dx-lifecycle-center/references/connect-org.md +184 -0
- package/skills/dx-lifecycle-center/references/deploy.md +153 -0
- package/skills/dx-lifecycle-center/references/error-handling.md +21 -0
- package/skills/dx-lifecycle-center/references/hub-org.md +37 -0
- package/skills/dx-lifecycle-center/references/list-orgs.md +99 -0
- package/skills/dx-lifecycle-center/references/request-body.md +75 -0
- package/skills/dx-lifecycle-center/references/troubleshooting.md +31 -0
- package/skills/dx-lifecycle-center/scripts/poll-deploy-status.sh +200 -0
- package/skills/dx-lifecycle-center/scripts/resolve-environment.sh +120 -0
- package/skills/dx-org-devhub-configure/SKILL.md +1 -3
- package/skills/dx-org-shape-manage/SKILL.md +1 -5
- package/skills/dx-org-snapshot-manage/SKILL.md +1 -3
- package/skills/education-cloud-academic-calendar-generate/SKILL.md +1 -3
- package/skills/education-cloud-course-catalog-migrate/SKILL.md +1 -3
- package/skills/education-cloud-domain-configure/SKILL.md +1 -3
- package/skills/education-cloud-multi-campus-configure/SKILL.md +1 -3
- package/skills/education-cloud-student-recruitment-agent-configure/SKILL.md +1 -5
- package/skills/experience-afv-query/SKILL.md +234 -0
- package/skills/experience-agentforce-vibes-in-react-configure/SKILL.md +63 -0
- package/skills/experience-apex-components-configure/SKILL.md +69 -0
- package/skills/experience-apex-pages-configure/SKILL.md +107 -0
- package/skills/experience-app-home-configure/SKILL.md +76 -0
- package/skills/experience-aura-lightning-out-access-configure/SKILL.md +58 -0
- package/skills/experience-briefcase-configure/SKILL.md +287 -0
- package/skills/experience-community-flexi-page-list-create/SKILL.md +74 -0
- package/skills/experience-community-template-definition-list-query/SKILL.md +48 -0
- package/skills/experience-community-theme-definition-list-query/SKILL.md +38 -0
- package/skills/experience-content-assets-configure/SKILL.md +86 -0
- package/skills/experience-custom-domain-create/SKILL.md +727 -0
- package/skills/experience-defer-rendering-workspace-page-setup-configure/SKILL.md +41 -0
- package/skills/experience-field-service-app-builder-configure/SKILL.md +187 -0
- package/skills/experience-flow-category-configure/SKILL.md +117 -0
- package/skills/experience-formula-configure/SKILL.md +358 -0
- package/skills/experience-global-actions-configure/SKILL.md +69 -0
- package/skills/experience-global-publisher-layouts-configure/SKILL.md +79 -0
- package/skills/experience-instrumentation-configure/SKILL.md +64 -0
- package/skills/experience-lex-engagement-configure/SKILL.md +50 -0
- package/skills/experience-lightning-bolt-open/SKILL.md +12 -0
- package/skills/experience-lightning-out-configure/SKILL.md +129 -0
- package/skills/experience-lightning-preview-configure/SKILL.md +67 -0
- package/skills/experience-lightning-types-query/SKILL.md +98 -0
- package/skills/experience-malware-scan-configure/SKILL.md +71 -0
- package/skills/experience-my-salesforce-configure/SKILL.md +126 -0
- package/skills/experience-navigation-menus-configure/SKILL.md +235 -0
- package/skills/experience-notification-types-configure/SKILL.md +206 -0
- package/skills/experience-notifications-configure/SKILL.md +75 -0
- package/skills/experience-record-discovery-query/SKILL.md +227 -0
- package/skills/experience-regenerate-previews-open/SKILL.md +94 -0
- package/skills/experience-sales-cloud-mab-configure/SKILL.md +254 -0
- package/skills/experience-schema-builder-open/SKILL.md +38 -0
- package/skills/experience-simple-record-home-configure/SKILL.md +110 -0
- package/skills/experience-static-resources-configure/SKILL.md +74 -0
- package/skills/experience-ui-bundle-2gp-deploy/SKILL.md +1 -3
- package/skills/experience-ui-bundle-features-generate/SKILL.md +1 -5
- package/skills/experience-ui-bundle-mfa-configure/SKILL.md +1 -3
- package/skills/field-service-data-capture-form-deployer-configure/SKILL.md +23 -2
- package/skills/field-service-data-capture-form-designer-configure/SKILL.md +13 -3
- package/skills/field-service-data-capture-migrate/SKILL.md +1 -3
- package/skills/field-service-mobile-branding-configure/SKILL.md +17 -3
- package/skills/field-service-objective-designer-configure/SKILL.md +72 -379
- package/skills/field-service-prework-brief-deployer-configure/SKILL.md +10 -537
- package/skills/field-service-scheduling-policy-designer-query/SKILL.md +65 -1093
- package/skills/{field-service-setup-orchestrator-get → field-service-setup-coordinate}/SKILL.md +18 -3
- package/skills/field-service-sobject-create-configure/SKILL.md +13 -213
- package/skills/field-service-voice-to-form-configure/SKILL.md +40 -11
- package/skills/field-service-work-plan-configure/SKILL.md +253 -0
- package/skills/field-service-work-rule-designer-configure/SKILL.md +121 -95
- package/skills/fsc-actionable-segmentation-settings-configure/SKILL.md +180 -0
- package/skills/fsc-digital-origination-bre-decision-matrix-foundation-create/SKILL.md +196 -0
- package/skills/fsc-digital-origination-bre-disclosures-consent-configure/SKILL.md +106 -0
- package/skills/fsc-digital-origination-bre-document-upload-configure/SKILL.md +96 -0
- package/skills/fsc-digital-origination-bre-permissions-assign/SKILL.md +111 -0
- package/skills/fsc-digital-origination-bre-setup-coordinate/SKILL.md +250 -0
- package/skills/fsc-digital-origination-bre-stp-eligibility-configure/SKILL.md +122 -0
- package/skills/fsc-digital-origination-coordinate/SKILL.md +653 -0
- package/skills/fsc-digital-origination-demo-run/SKILL.md +225 -0
- package/skills/fsc-digital-origination-execution-guardrails-validate/SKILL.md +112 -0
- package/skills/fsc-digital-origination-initial-setup-configure/SKILL.md +396 -0
- package/skills/fsc-digital-origination-pricing-setup-coordinate/SKILL.md +336 -0
- package/skills/fsc-digital-origination-pricing-setup-data-foundation-create/SKILL.md +208 -0
- package/skills/fsc-digital-origination-pricing-setup-procedure-create/SKILL.md +375 -0
- package/skills/fsc-digital-origination-product-setup-act1-permissions-assign/SKILL.md +83 -0
- package/skills/fsc-digital-origination-product-setup-coordinate/SKILL.md +248 -0
- package/skills/fsc-digital-origination-sample-data-create/SKILL.md +206 -0
- package/skills/fsc-document-checklist-settings-configure/SKILL.md +57 -0
- package/skills/fsc-flexible-hierarchy-configure/SKILL.md +148 -0
- package/skills/fsc-flexible-hierarchy-foundation-configure/SKILL.md +1430 -0
- package/skills/fsc-flexible-hierarchy-graph-config-create/SKILL.md +471 -0
- package/skills/fsc-flexible-hierarchy-rule-based-graph-deploy/SKILL.md +429 -0
- package/skills/fsc-pricing-product-configurator-configure/SKILL.md +150 -0
- package/skills/fsc-pricing-salesforce-omnistudio-switch/SKILL.md +123 -0
- package/skills/fsc-product-act2-catalog-categories-create/SKILL.md +82 -0
- package/skills/fsc-product-act3-attributes-create/SKILL.md +249 -0
- package/skills/fsc-product-act4-classification-assignment-create/SKILL.md +196 -0
- package/skills/fsc-product-act5-considerations-get/SKILL.md +44 -0
- package/skills/fsc-stage-management-apex-flow-deploy/SKILL.md +384 -0
- package/skills/fsc-stage-management-compliant-data-sharing-configure/SKILL.md +144 -0
- package/skills/fsc-stage-management-decision-matrices-create/SKILL.md +107 -0
- package/skills/fsc-stage-management-definition-assignments-create/SKILL.md +189 -0
- package/skills/fsc-stage-management-definition-create/SKILL.md +108 -0
- package/skills/fsc-stage-management-permissions-assign/SKILL.md +143 -0
- package/skills/fsc-stage-management-transitions-configure/SKILL.md +139 -0
- package/skills/health-cloud-appt-booking-config-configure/SKILL.md +135 -0
- package/skills/health-cloud-appt-booking-url-config-configure/SKILL.md +134 -0
- package/skills/health-cloud-care-provider-affl-role-config-configure/SKILL.md +136 -0
- package/skills/health-cloud-care-provider-search-config-configure/SKILL.md +134 -0
- package/skills/health-cloud-care-requests-create/SKILL.md +178 -0
- package/skills/health-cloud-initial-configure/SKILL.md +511 -0
- package/skills/health-cloud-patient-appointment-scheduling-configure/SKILL.md +1374 -0
- package/skills/health-cloud-provider-search-settings-configure/SKILL.md +924 -0
- package/skills/health-cloud-referral-management-coordinate/SKILL.md +513 -0
- package/skills/health-cloud-timeline-configure/SKILL.md +622 -0
- package/skills/health-cloud-virtual-visit-config-configure/SKILL.md +135 -0
- package/skills/industries-account-score-settings-query/SKILL.md +78 -0
- package/skills/industries-actionable-list-data-sources-dmo-configure/SKILL.md +177 -0
- package/skills/industries-ad-product-availability-search/SKILL.md +399 -0
- package/skills/industries-advanced-account-forecast-settings-configure/SKILL.md +628 -0
- package/skills/industries-advanced-therapy-management-settings-configure/SKILL.md +73 -0
- package/skills/industries-atm-settings-starter-configure/SKILL.md +76 -0
- package/skills/industries-batch-document-ai-configure/SKILL.md +196 -0
- package/skills/industries-behavioral-health-app-settings-configure/SKILL.md +71 -0
- package/skills/industries-branch-management-settings-configure/SKILL.md +89 -0
- package/skills/industries-bre-decision-table-access-configure/SKILL.md +367 -0
- package/skills/industries-brokerage-settings-configure/SKILL.md +41 -0
- package/skills/industries-calendar-sync-settings-configure/SKILL.md +89 -0
- package/skills/industries-care-request-settings-configure/SKILL.md +218 -0
- package/skills/industries-case-management-intelligence-settings-configure/SKILL.md +54 -0
- package/skills/industries-catalog-process-attributes-products-configure/SKILL.md +380 -0
- package/skills/industries-catalog-process-fulfillment-configure/SKILL.md +216 -0
- package/skills/industries-catalog-process-intake-configure/SKILL.md +219 -0
- package/skills/industries-catalog-process-knowledge-configure/SKILL.md +153 -0
- package/skills/industries-catalog-process-preprocessor-configure/SKILL.md +168 -0
- package/skills/industries-cds-general-settings-configure/SKILL.md +69 -0
- package/skills/industries-claim-financial-settings-configure/SKILL.md +169 -0
- package/skills/industries-clinical-data-model-settings-configure/SKILL.md +136 -0
- package/skills/industries-clinical-data-model-settings-starter-configure/SKILL.md +105 -0
- package/skills/industries-collection-plan-settings-configure/SKILL.md +132 -0
- package/skills/industries-comms-service-console-settings-configure/SKILL.md +159 -0
- package/skills/industries-compliance-configure/SKILL.md +102 -0
- package/skills/industries-compliance-document-extraction-setup-configure/SKILL.md +76 -0
- package/skills/industries-contact-center-app-layout-configure/SKILL.md +88 -0
- package/skills/industries-contact-center-components-configure/SKILL.md +96 -0
- package/skills/industries-contact-center-path-knowledge-configure/SKILL.md +95 -0
- package/skills/industries-contact-center-user-access-assign/SKILL.md +96 -0
- package/skills/industries-course-waitlist-config-configure/SKILL.md +162 -0
- package/skills/industries-crisis-center-settings-configure/SKILL.md +84 -0
- package/skills/industries-custom-object-settings-configure/SKILL.md +94 -0
- package/skills/industries-data-cloud-integration-configure/SKILL.md +88 -0
- package/skills/industries-data-space-feature-mappings-configure/SKILL.md +245 -0
- package/skills/industries-decision-matrix-builder-configure/SKILL.md +78 -0
- package/skills/industries-decision-table-hbase-configure/SKILL.md +87 -0
- package/skills/industries-decision-table-version-configure/SKILL.md +74 -0
- package/skills/industries-decision-tables-builder-configure/SKILL.md +253 -0
- package/skills/industries-decision-tables-configure/SKILL.md +439 -0
- package/skills/industries-energy-utilities-configure/SKILL.md +251 -0
- package/skills/industries-eu-cloud-multisite-configure/SKILL.md +1008 -0
- package/skills/industries-eu-new-connections-configure/SKILL.md +30 -0
- package/skills/industries-explainability-msg-template-configure/SKILL.md +135 -0
- package/skills/industries-expression-set-message-token-configure/SKILL.md +135 -0
- package/skills/industries-field-service-settings-configure/SKILL.md +82 -0
- package/skills/industries-form-framework-settings-configure/SKILL.md +30 -0
- package/skills/industries-fsc-ai-settings-configure/SKILL.md +57 -0
- package/skills/industries-fsc-association-engine-settings-configure/SKILL.md +172 -0
- package/skills/industries-fsc-b2b-settings-configure/SKILL.md +61 -0
- package/skills/industries-fsc-insurance-settings-configure/SKILL.md +58 -0
- package/skills/industries-fsc-visa-fulfillment-setup-configure/SKILL.md +103 -0
- package/skills/industries-fsc-wealth-agent-settings-configure/SKILL.md +117 -0
- package/skills/industries-fsc-wealth-settings-configure/SKILL.md +99 -0
- package/skills/industries-fundraising-gift-entry-settings-configure/SKILL.md +120 -0
- package/skills/industries-fundraising-rfm-configure/SKILL.md +128 -0
- package/skills/industries-fundraising-settings-configure/SKILL.md +145 -0
- package/skills/industries-fundraising-source-code-gen-configure/SKILL.md +299 -0
- package/skills/industries-google-maps-api-key-settings-configure/SKILL.md +87 -0
- package/skills/industries-grantmaking-intelligence-settings-open/SKILL.md +58 -0
- package/skills/industries-hc-score-category-settings-configure/SKILL.md +167 -0
- package/skills/industries-health-engagement-settings-configure/SKILL.md +218 -0
- package/skills/industries-home-health-agentforce-setup-configure/SKILL.md +131 -0
- package/skills/industries-home-health-bundling-policy-create/SKILL.md +50 -0
- package/skills/industries-home-health-entity-labels-configure/SKILL.md +29 -0
- package/skills/industries-home-health-fsl-package-deploy/SKILL.md +71 -0
- package/skills/industries-home-health-fsl-settings-validate/SKILL.md +27 -0
- package/skills/industries-home-health-guided-setup-care-and-skill-get/SKILL.md +80 -0
- package/skills/industries-home-health-guided-setup-configure/SKILL.md +836 -0
- package/skills/industries-home-health-guided-setup-enable-org-fsl-get/SKILL.md +55 -0
- package/skills/industries-home-health-guided-setup-get-org-ready-get/SKILL.md +61 -0
- package/skills/industries-home-health-licenses-assign/SKILL.md +27 -0
- package/skills/industries-home-health-operating-hours-create/SKILL.md +40 -0
- package/skills/industries-home-health-scheduling-policy-create/SKILL.md +41 -0
- package/skills/industries-home-health-service-objective-create/SKILL.md +22 -0
- package/skills/industries-home-health-skills-create/SKILL.md +31 -0
- package/skills/industries-home-health-users-create/SKILL.md +29 -0
- package/skills/industries-icm-act3-toggles-configure/SKILL.md +198 -0
- package/skills/industries-icm-act5-genai-suggested-assessments-configure/SKILL.md +361 -0
- package/skills/industries-icm-act6-mcg-integration-configure/SKILL.md +550 -0
- package/skills/industries-integrated-care-management-configure/SKILL.md +168 -0
- package/skills/industries-object-enablement-configure/SKILL.md +86 -0
- package/skills/industries-tpm-system-processing-service-configure/SKILL.md +64 -0
- package/skills/insurance-brokerage-agency-billing-configure/SKILL.md +1 -3
- package/skills/integration-apex-settings-configure/SKILL.md +61 -0
- package/skills/marketing-e360-email-archiving-configure/SKILL.md +73 -0
- package/skills/marketing-message-test/SKILL.md +1 -3
- package/skills/nonprofit-fundraising-configure/SKILL.md +240 -0
- package/skills/nonprofit-fundraising-configure/references/gotchas.md +26 -0
- package/skills/nonprofit-fundraising-configure/references/mcp-invocation.md +678 -0
- package/skills/nonprofit-fundraising-configure/references/permission-targeting.md +35 -0
- package/skills/nonprofit-volunteer-management-model-get/SKILL.md +166 -0
- package/skills/nonprofit-volunteer-management-model-get/references/entities.md +315 -0
- package/skills/nonprofit-volunteer-management-model-get/references/relationships.md +175 -0
- package/skills/nonprofit-volunteer-management-model-get/references/themes.md +143 -0
- package/skills/nonprofit-volunteer-management-records-create/SKILL.md +121 -0
- package/skills/nonprofit-volunteer-management-records-create/references/field-guide.md +284 -0
- package/skills/nonprofit-volunteer-management-records-create/references/mcp-invocation.md +248 -0
- package/skills/nonprofit-volunteer-management-records-create/references/review-format.md +140 -0
- package/skills/nonprofit-volunteer-management-records-create/scripts/expand-series.py +632 -0
- package/skills/nonprofit-volunteer-management-records-create/scripts/render-review-table.py +419 -0
- package/skills/nonprofit-volunteer-management-records-create/scripts/tests/test_expand_series.py +690 -0
- package/skills/nonprofit-volunteer-management-records-create/scripts/tests/test_render_review_table.py +421 -0
- package/skills/nonprofit-volunteer-management-structure-generate/SKILL.md +119 -0
- package/skills/nonprofit-volunteer-management-structure-generate/references/configuration-decisions.md +159 -0
- package/skills/nonprofit-volunteer-management-structure-generate/references/discovery-interview.md +137 -0
- package/skills/nonprofit-volunteer-management-structure-generate/references/edge-cases.md +48 -0
- package/skills/nonprofit-volunteer-management-structure-generate/references/mcp-invocation.md +75 -0
- package/skills/nonprofit-volunteer-management-structure-generate/references/plan-output.md +141 -0
- package/skills/platform-custom-field-generate/SKILL.md +1 -0
- package/skills/platform-custom-field-generate/references/advanced-picklists.md +5 -5
- package/skills/platform-custom-metadata-type-generate/SKILL.md +3 -0
- package/skills/platform-custom-object-generate/SKILL.md +4 -0
- package/skills/platform-custom-permissions-configure/SKILL.md +687 -0
- package/skills/platform-custom-setting-generate/SKILL.md +3 -0
- package/skills/platform-datamask-run/SKILL.md +1 -5
- package/skills/platform-label-workbench-import-create/SKILL.md +67 -0
- package/skills/platform-permission-set-generate/SKILL.md +3 -0
- package/skills/platform-privacy-agent-settings-configure/SKILL.md +752 -0
- package/skills/platform-salesforce-connect-adapter-generate/SKILL.md +1 -3
- package/skills/platform-sandbox-configure/SKILL.md +1 -3
- package/skills/platform-value-set-generate/SKILL.md +3 -0
- package/skills/sales-call-scoring-configure/SKILL.md +1 -5
- package/skills/service-agentforce-channel-configure/SKILL.md +1 -3
- package/skills/service-agentforce-human-escalation-configure/SKILL.md +1 -3
- package/skills/service-catalog-template-coordinate/SKILL.md +1 -3
- package/skills/service-concierge-portal-generate/SKILL.md +1 -3
- package/skills/service-email-to-case-configure/SKILL.md +1 -5
- package/skills/service-itsm-agentic-setup-agent-runtime-access-assign/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-agentforce-coordinate/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-agentforce-studio-configure/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-agentforce-studio-validate/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-cmdb-access-assign/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-cmdb-bundle-deploy/SKILL.md +1 -5
- package/skills/service-itsm-agentic-setup-cmdb-configure/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-cmdb-coordinate/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-cmdb-discovery-configure/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-employee-agent-configure/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-fulfiller-agent-configure/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-incident-sla-configure/SKILL.md +1 -0
- package/skills/service-itsm-agentic-setup-itsm-agentforce-permset-assign/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-uel-user-create/SKILL.md +1 -9
- package/skills/service-itsm-incident-mgmt-configure/SKILL.md +1 -5
- package/skills/service-itsm-incident-priority-configure/SKILL.md +1 -3
- package/skills/service-itsm-slack-itservice-configure/SKILL.md +1 -3
- package/skills/service-itsm-swarming-configure/SKILL.md +1 -3
- package/skills/service-itsm-teams-configure/SKILL.md +1 -3
- package/skills/service-itsm-teams-debug/SKILL.md +1 -3
- package/skills/service-itsm-teams-employee-agent-configure/SKILL.md +1 -3
- package/skills/service-itsm-teams-itdesk-configure/SKILL.md +1 -3
- package/skills/service-itsm-teams-itservice-configure/SKILL.md +1 -3
- package/skills/service-native-voice-recording-transcription-configure/SKILL.md +1 -3
- package/skills/service-omni-agent-users-create/SKILL.md +1 -3
- package/skills/service-omni-agent-work-sharing-configure/SKILL.md +1 -3
- package/skills/service-omni-attribute-routing-configure/SKILL.md +1 -3
- package/skills/service-omni-base-settings-configure/SKILL.md +1 -3
- package/skills/service-omni-channel-inventory-analyze/SKILL.md +1 -3
- package/skills/service-omni-channel-limits-analyze/SKILL.md +1 -3
- package/skills/service-omni-channel-setup-coordinate/SKILL.md +1 -3
- package/skills/service-omni-command-center-analyze/SKILL.md +1 -3
- package/skills/service-omni-command-center-configure/SKILL.md +1 -3
- package/skills/service-omni-permission-set-assign/SKILL.md +1 -3
- package/skills/service-omni-presence-status-deploy/SKILL.md +1 -3
- package/skills/service-omni-presence-user-config-deploy/SKILL.md +1 -3
- package/skills/service-omni-queue-deploy/SKILL.md +1 -3
- package/skills/service-omni-queue-members-assign/SKILL.md +1 -3
- package/skills/service-omni-queue-routing-config-deploy/SKILL.md +1 -3
- package/skills/service-omni-routing-flow-deploy/SKILL.md +1 -3
- package/skills/service-omni-service-channel-configure/SKILL.md +1 -3
- package/skills/service-omni-sidebar-configure/SKILL.md +1 -3
- package/skills/service-omni-skills-based-routing-configure/SKILL.md +1 -3
- package/skills/service-omni-supervisor-config-deploy/SKILL.md +1 -3
- package/skills/service-omni-supervisor-permset-assign/SKILL.md +1 -3
- package/skills/service-omni-supervisor-surface-deploy/SKILL.md +1 -3
- package/skills/service-omni-supervisor-users-create/SKILL.md +1 -3
- package/skills/service-omni-work-skill-routing-configure/SKILL.md +1 -3
- package/skills/tableau-next-asset-create/README.md +0 -65
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: commerce-fulfillment-routing-analyze
|
|
3
|
+
description: "Use this skill when users want to use this workflow when a customer, CSR, or admin needs to understand why an order was fulfilled from a specific location. Trigger when users mention fulfillment, routing, explanation."
|
|
4
|
+
metadata:
|
|
5
|
+
version: "1.0"
|
|
6
|
+
accessCheck: "(FulfillmentOrder.OrderSummaryId) || (OrderManagement.ReadFulfillmentOrder) || (OrderManagement.orgHasOrderManagementEnabled)"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Querying Fulfillment Routing Explanation
|
|
10
|
+
|
|
11
|
+
## When to Use This Skill
|
|
12
|
+
|
|
13
|
+
Use this workflow when a customer, CSR, or admin needs to understand why
|
|
14
|
+
an order was fulfilled from a specific location. The workflow resolves
|
|
15
|
+
an OrderNumber to its OrderSummary, finds all associated FulfillmentOrders,
|
|
16
|
+
then calls the routing explanation API for each to surface:
|
|
17
|
+
• The winning routing criterion that determined the location
|
|
18
|
+
• Per-rule scoring and contributions to the routing decision, as a table
|
|
19
|
+
• Line-item allocation (fulfilled vs. requested vs. available elsewhere),
|
|
20
|
+
as a table
|
|
21
|
+
• Split-order context when multiple locations fulfill parts of one order
|
|
22
|
+
|
|
23
|
+
Presentation is table-first and customer-centric: routing details, rule
|
|
24
|
+
contributions, and line items render as markdown tables by default, not
|
|
25
|
+
just on request. This is a read-only diagnostic workflow — it explains
|
|
26
|
+
past routing decisions but does not modify routing or re-route orders.
|
|
27
|
+
|
|
28
|
+
## Workflow
|
|
29
|
+
|
|
30
|
+
fulfillment-routing-explanation is a READ-ONLY diagnostic workflow. It
|
|
31
|
+
does not modify routing, re-route orders, or change fulfillment assignments.
|
|
32
|
+
|
|
33
|
+
## Critical Constraints
|
|
34
|
+
|
|
35
|
+
**Preconditions:**
|
|
36
|
+
|
|
37
|
+
- Org must have Order Management enabled with fulfillment routing configured (check: `OrderManagement.orgHasOrderManagementEnabled`)
|
|
38
|
+
- User must have access to Order Management features and fulfillment data (check: `OrderManagement.ReadFulfillmentOrder`)
|
|
39
|
+
- The OrderSummary must have at least one FulfillmentOrder created. Orders
|
|
40
|
+
still in cart/checkout phase or canceled before fulfillment began will
|
|
41
|
+
have no FulfillmentOrders to explain. (check: `FulfillmentOrder.OrderSummaryId`)
|
|
42
|
+
|
|
43
|
+
**Operational rules:**
|
|
44
|
+
|
|
45
|
+
- EXECUTION PATH:
|
|
46
|
+
1. resolve-order-summary-by-number → OrderNumber → OrderSummary Id
|
|
47
|
+
(skip if caller has the Id directly)
|
|
48
|
+
2. query-fulfillment-orders → find all FulfillmentOrders for this
|
|
49
|
+
OrderSummary; detect split-order case
|
|
50
|
+
3. get-routing-explanation → call once per FulfillmentOrder to get
|
|
51
|
+
routing details
|
|
52
|
+
4. synthesize-explanation → consolidate explanations into a customer-facing
|
|
53
|
+
report: one lead sentence plus markdown tables for routing details,
|
|
54
|
+
rule contributions, and line items (single-location or split-order)
|
|
55
|
+
- SPLIT-ORDER HANDLING:
|
|
56
|
+
When query-fulfillment-orders returns multiple FOs, call
|
|
57
|
+
get-routing-explanation for EACH one in sequence, then consolidate in
|
|
58
|
+
synthesize-explanation. Label each FO by its FulfillmentOrderNumber and
|
|
59
|
+
location so the customer knows which items come from where.
|
|
60
|
+
- FAILURE CASES:
|
|
61
|
+
- No FulfillmentOrders found: order hasn't reached fulfillment or was
|
|
62
|
+
canceled early. Surface friendly message and STOP.
|
|
63
|
+
- 404 on routing-explanation: routing explanation not available (manual
|
|
64
|
+
assignment or pre-explanation era). Fall back to basic location info
|
|
65
|
+
from FulfilledFromLocation.Name.
|
|
66
|
+
- Permission errors: surface to user and STOP.
|
|
67
|
+
- CUSTOMER-FACING WORDING:
|
|
68
|
+
- Use "location" not "Location record"
|
|
69
|
+
- Use "order" not "OrderSummary"
|
|
70
|
+
- Use "items" not "OrderItemSummary"
|
|
71
|
+
- Translate routing criterion names to plain language (proximity, inventory,
|
|
72
|
+
cost, speed, preference)
|
|
73
|
+
- No raw Ids, field names, or sObject types in customer text
|
|
74
|
+
- REPORTING FORMAT (see synthesize-explanation for the full spec):
|
|
75
|
+
- Table-first, not prose-first. Rule contributions and line-item
|
|
76
|
+
allocations are always rendered as markdown tables, not gated behind
|
|
77
|
+
"if the customer asks for detail."
|
|
78
|
+
- One lead sentence, then tables. Don't pad tabular data with a
|
|
79
|
+
restating paragraph underneath it.
|
|
80
|
+
- Split orders get an overview table across all fulfillment orders, then
|
|
81
|
+
a rule-breakdown + items table pair per fulfillment order.
|
|
82
|
+
- WHEN TO USE THIS WORKFLOW:
|
|
83
|
+
- "Why was my order sent from location X?"
|
|
84
|
+
- "Why are my items coming from different places?"
|
|
85
|
+
- "How did the system decide on this fulfillment location?"
|
|
86
|
+
- "Explain the routing for order #{orderNumber}"
|
|
87
|
+
- DO NOT USE for:
|
|
88
|
+
- Changing fulfillment location (use re-routing workflows)
|
|
89
|
+
- Canceling or modifying fulfillment orders
|
|
90
|
+
- Viewing shipment tracking (use shipment status workflows)
|
|
91
|
+
|
|
92
|
+
## Operations Reference
|
|
93
|
+
|
|
94
|
+
Operations grouped by purpose. Use these as the building blocks for the workflows above.
|
|
95
|
+
|
|
96
|
+
### Summary
|
|
97
|
+
|
|
98
|
+
| Operation | Purpose | Status | Call | Depends on |
|
|
99
|
+
|-----------|---------|--------|------|------------|
|
|
100
|
+
| `resolve-order-summary-by-number` | read | implemented | `querySoql` | — |
|
|
101
|
+
| `query-fulfillment-orders` | read | implemented | `querySoql` | `resolve-order-summary-by-number` |
|
|
102
|
+
| `get-routing-explanation` | read | implemented | `getFulfillmentOrderRoutingExplanation` | `query-fulfillment-orders` |
|
|
103
|
+
| `synthesize-explanation` | read | implemented | `conversational_synthesis` | `get-routing-explanation` |
|
|
104
|
+
|
|
105
|
+
### Read operations
|
|
106
|
+
|
|
107
|
+
#### `resolve-order-summary-by-number`
|
|
108
|
+
|
|
109
|
+
Resolve a customer-provided OrderNumber to its OrderSummary Id.
|
|
110
|
+
Customers and CSRs work with OrderNumber (the printed order number);
|
|
111
|
+
the fulfillment APIs require the internal OrderSummary Id (1Os...).
|
|
112
|
+
|
|
113
|
+
IMPORTANT: OrderNumber is NOT unique — a single OrderNumber can resolve
|
|
114
|
+
to multiple OrderSummaries (orgs reuse it across storefronts/locales).
|
|
115
|
+
When this step returns more than one row, surface candidates and ask
|
|
116
|
+
which one before proceeding.
|
|
117
|
+
|
|
118
|
+
**Call:** `querySoql` — status: `implemented`
|
|
119
|
+
|
|
120
|
+
**Inputs:**
|
|
121
|
+
|
|
122
|
+
- `orderNumber` *(`String`)* — Customer-facing OrderNumber (from receipt/confirmation email).
|
|
123
|
+
Skip this step if caller already has the OrderSummary Id (1Os...).
|
|
124
|
+
|
|
125
|
+
#### `query-fulfillment-orders`
|
|
126
|
+
|
|
127
|
+
Query all FulfillmentOrders associated with the OrderSummary.
|
|
128
|
+
One OrderSummary can have multiple FulfillmentOrders when the order
|
|
129
|
+
is split across locations (e.g., some items from warehouse A, others
|
|
130
|
+
from store B). Each FulfillmentOrder has its own routing explanation.
|
|
131
|
+
|
|
132
|
+
**Call:** `querySoql` — status: `implemented`
|
|
133
|
+
|
|
134
|
+
**Inputs:**
|
|
135
|
+
|
|
136
|
+
- `orderSummaryId` *(`String`)* — OrderSummary Id from resolve-order-summary-by-number, or passed
|
|
137
|
+
directly by caller.
|
|
138
|
+
- **Source:** output of `resolve-order-summary-by-number`
|
|
139
|
+
|
|
140
|
+
**Depends on:** `resolve-order-summary-by-number`
|
|
141
|
+
|
|
142
|
+
#### `get-routing-explanation`
|
|
143
|
+
|
|
144
|
+
Call the routing explanation API for a specific FulfillmentOrder.
|
|
145
|
+
Returns sections-based routing explanation with the winning criterion, per-rule
|
|
146
|
+
contributions, location details, and line item information.
|
|
147
|
+
|
|
148
|
+
API contract (OMS Connect API v68.0 / min version 264):
|
|
149
|
+
GET /commerce/fulfillment/fulfillment-orders/{fulfillmentOrderId}/routing-explanation
|
|
150
|
+
|
|
151
|
+
Returns sections-based structure:
|
|
152
|
+
- success: boolean indicating API call success
|
|
153
|
+
- location: string - winning location name (top-level field)
|
|
154
|
+
- sections[]: array of section objects, each with:
|
|
155
|
+
- name: section identifier ("summary", "rules", "lineItems")
|
|
156
|
+
- rows[]: array of free-form Map<String,Object> with dynamic keys
|
|
157
|
+
|
|
158
|
+
NOTE: rows[] fields are @ConnectHidden(from=Apex) - REST/UI-API only.
|
|
159
|
+
Each row is a free-form key-value map with dynamic keys specific to the
|
|
160
|
+
section type. Keys vary by routing strategy and configuration.
|
|
161
|
+
|
|
162
|
+
**Call:** `getFulfillmentOrderRoutingExplanation` — status: `implemented`
|
|
163
|
+
|
|
164
|
+
**Inputs:**
|
|
165
|
+
|
|
166
|
+
- `fulfillmentOrderId` *(`String`)* — FulfillmentOrder.Id from query-fulfillment-orders $.records[].Id.
|
|
167
|
+
Extracted per-iteration from the loop.
|
|
168
|
+
- **Source:** output of `query-fulfillment-orders`
|
|
169
|
+
- `fulfillmentOrderNumber` *(`String`)* — FulfillmentOrder.FulfillmentOrderNumber from query-fulfillment-orders
|
|
170
|
+
$.records[].FulfillmentOrderNumber. Used for labeling in split-order scenarios.
|
|
171
|
+
- **Source:** output of `query-fulfillment-orders`
|
|
172
|
+
|
|
173
|
+
**Depends on:** `query-fulfillment-orders`
|
|
174
|
+
|
|
175
|
+
#### `synthesize-explanation`
|
|
176
|
+
|
|
177
|
+
Final step: synthesize all routing explanations into a single
|
|
178
|
+
customer-facing report of markdown tables. When multiple
|
|
179
|
+
FulfillmentOrders exist (split order), this step consolidates their
|
|
180
|
+
individual explanations into one coherent set of tables — see
|
|
181
|
+
agent_guidance below for the full table spec.
|
|
182
|
+
|
|
183
|
+
This is a conversational synthesis step — no API call, just presentation
|
|
184
|
+
logic that threads outputs from get-routing-explanation.
|
|
185
|
+
|
|
186
|
+
**Call:** `conversational_synthesis` — status: `implemented`
|
|
187
|
+
|
|
188
|
+
**Inputs:**
|
|
189
|
+
|
|
190
|
+
- `fulfillment_order_count` *(`integer`)* — Total number of FulfillmentOrders (from query-fulfillment-orders)
|
|
191
|
+
- **Source:** output of `query-fulfillment-orders`
|
|
192
|
+
- `routing_explanations` *(`Array`)* — Array of routing explanation outputs from get-routing-explanation,
|
|
193
|
+
accumulated from the per-FO loop. Each array element is an object with:
|
|
194
|
+
fulfillment_order_number, success, location, whyItWon, whyItWonTooltip
|
|
195
|
+
(optional), selectionScore, selectionScoreTooltip (optional),
|
|
196
|
+
unitsFilled, rules (array, each row's isOverride optional), lineItems
|
|
197
|
+
(array, each row's elsewhere optional).
|
|
198
|
+
- **Source:** output of `get-routing-explanation`
|
|
199
|
+
|
|
200
|
+
**Depends on:** `get-routing-explanation`
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: commerce-guest-buyer-create
|
|
3
|
+
description: "Use this skill when users want to use this workflow when a user wants to register an existing Account as a (guest) buyer for a specific Commerce webstore — the prerequisite that lets that account shop, or be shopped-on-behalf-of, in that store. Trigger when users mention register, guest, buyer."
|
|
4
|
+
metadata:
|
|
5
|
+
version: "1.0"
|
|
6
|
+
accessCheck: "(Account.exists) || (OrderManagement.orgHasRegisterGuestBuyerAPIEnabled) || (WebStore.READ)"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Managing Register Guest Buyer
|
|
10
|
+
|
|
11
|
+
## When to Use This Skill
|
|
12
|
+
|
|
13
|
+
Use this workflow when a user wants to register an existing Account as a (guest) buyer for a specific Commerce webstore — the prerequisite that lets that account shop, or be shopped-on-behalf-of, in that store. Registration enrolls the account as a buyer for the store, adds it to the store's buyer group, and marks the account as a buyer; the confirmation should tell the user the account can now shop the store (and is in its buyer group), not just report "success".
|
|
14
|
+
|
|
15
|
+
Scope boundaries (pick-signal):
|
|
16
|
+
- The Account must ALREADY EXIST. This workflow does not create accounts, does not do buyer-group / entitlement setup beyond that enrollment, and does not start any shopping / cart / pricing flow — those live in separate SORs.
|
|
17
|
+
- B2B stores ONLY. B2CE and B2C stores are rejected by the server (ERROR_ENABLING_BUYER). Do NOT pre-check store Type client-side — attempt the call and translate the error. (Wire-verified: B2B ok, B2CE 400.)
|
|
18
|
+
- Portal users are NOT allowed (allowsPortalUsers=false on the resource).
|
|
19
|
+
- Idempotent: re-registering an already-registered account returns success:true again (wire-verified) — safe to re-run.
|
|
20
|
+
|
|
21
|
+
Never echo raw 0ZE / 001 Ids or the raw error envelope to a buyer — translate success and errors to friendly language and offer a next step on failure. See agent_guidance and steps[] for the path parameters, empty POST body, response handling, and precondition gates.
|
|
22
|
+
|
|
23
|
+
## Workflow
|
|
24
|
+
|
|
25
|
+
### Phase 1: discover-webstores -> numbered menu of store Names; user...
|
|
26
|
+
|
|
27
|
+
discover-webstores -> numbered menu of store Names; user picks one.
|
|
28
|
+
The chosen record's Id becomes webstoreId.
|
|
29
|
+
|
|
30
|
+
### Phase 2: account-input choice -> if the user gave a...
|
|
31
|
+
|
|
32
|
+
account-input choice -> if the user gave a 001 Id: by-id (skip lookup).
|
|
33
|
+
If they gave a name: by-name -> identify-account
|
|
34
|
+
resolves Name -> accountId.
|
|
35
|
+
|
|
36
|
+
### Phase 3: register-guest-buyer -> POST (empty body); read success/errors
|
|
37
|
+
|
|
38
|
+
register-guest-buyer -> POST (empty body); read success/errors.
|
|
39
|
+
|
|
40
|
+
- The register endpoint is POST-only and takes NO body — the two path
|
|
41
|
+
params (webstoreId 0ZE, accountId 001) are the whole contract. The
|
|
42
|
+
response is success + errors only; there is no entity payload, so
|
|
43
|
+
$.success is the confirmation. The call returns HTTP 200 for BOTH success
|
|
44
|
+
and business-rule failures — always branch on $.success, never on the
|
|
45
|
+
HTTP status alone.
|
|
46
|
+
|
|
47
|
+
- What registration ACCOMPLISHES (wire-verified): it enrolls the account as
|
|
48
|
+
a buyer for the store AND adds it to that store's buyer group, and flips
|
|
49
|
+
Account.IsBuyer to true. So the success message should tell the user the
|
|
50
|
+
account can now shop the store (and is in its buyer group) — that is the
|
|
51
|
+
user-visible outcome, not just "success:true".
|
|
52
|
+
|
|
53
|
+
- B2B ONLY — do NOT pre-check the store Type client-side. Registration works
|
|
54
|
+
on B2B stores; B2CE (and B2C) are rejected by the server with a clear
|
|
55
|
+
error (ERROR_ENABLING_BUYER, "not supported for B2CE store"). Let the API
|
|
56
|
+
be the authority and translate its error rather than maintaining a
|
|
57
|
+
client-side Type allow-list that could drift. WIRE-VERIFIED on q3Sdb27:
|
|
58
|
+
BrightBundle Co (B2B) succeeded; RefArch USD (B2CE) returned 400
|
|
59
|
+
success:false.
|
|
60
|
+
|
|
61
|
+
- Idempotent: re-registering an already-registered account on the same store
|
|
62
|
+
returns success:true again (no error) — safe to re-run without a pre-check.
|
|
63
|
+
WIRE-VERIFIED on q3Sdb27.
|
|
64
|
+
|
|
65
|
+
- Pre-validate both Id shapes at the agent layer to fail fast (0ZE / 001).
|
|
66
|
+
|
|
67
|
+
- Preconditions: org gate Register Guest Buyer API enabled
|
|
68
|
+
+ user check userHasRegisterGuestBuyerAPIAccess. Portal users are not
|
|
69
|
+
permitted (allowsPortalUsers=false).
|
|
70
|
+
|
|
71
|
+
- The Account must ALREADY EXIST. This SOR does not create accounts and does
|
|
72
|
+
not start shopping — those are separate workflows (out of scope).
|
|
73
|
+
|
|
74
|
+
- Customer-friendly wording: never echo raw 0ZE / 001 Ids, the raw error
|
|
75
|
+
envelope, or errorCode strings; translate success and errors to plain
|
|
76
|
+
language and always offer a next step on failure.
|
|
77
|
+
|
|
78
|
+
- Request body detail: the register action takes an EMPTY body — the RegisterGuestBuyerInputRepresentation has no fields, so send {} / no body. (The endpoint is the Order Management Repricing API register-guest-buyer action; see the register-guest-buyer step.)
|
|
79
|
+
|
|
80
|
+
## Critical Constraints
|
|
81
|
+
|
|
82
|
+
**Preconditions:**
|
|
83
|
+
|
|
84
|
+
- Org must have the Order Management Register Guest Buyer Connect API
|
|
85
|
+
enabled — this is the x-sfdc org-access-check on the postRegisterGuestBuyer
|
|
86
|
+
endpoint. Without it, the call returns FEATURE_NOT_ENABLED.
|
|
87
|
+
(check: `Register Guest Buyer API enabled`)
|
|
88
|
+
- Calling user must pass the resource's user dynamic check
|
|
89
|
+
userHasRegisterGuestBuyerAPIAccess (declared on RegisterGuestBuyerResource
|
|
90
|
+
via userDynamicChecks). Without it the call is rejected (403); surface a
|
|
91
|
+
friendly access message, never the raw exception.
|
|
92
|
+
(check: `userHasRegisterGuestBuyerAPIAccess`)
|
|
93
|
+
- The target Account (001-prefixed) must already exist. This SOR does NOT
|
|
94
|
+
create accounts — if the user references an account that doesn't exist,
|
|
95
|
+
resolve/confirm it first (identify-account) or stop and tell the user the
|
|
96
|
+
account must be created before it can be registered as a buyer.
|
|
97
|
+
(check: `Account.exists`)
|
|
98
|
+
- Caller needs READ access to WebStore (to list/select the store) and to
|
|
99
|
+
Account (to resolve the account by name). Portal users are not permitted
|
|
100
|
+
(the resource sets allowsPortalUsers=false).
|
|
101
|
+
(check: `WebStore.READ`)
|
|
102
|
+
|
|
103
|
+
**Operational rules:**
|
|
104
|
+
|
|
105
|
+
- TYPICAL FLOW
|
|
106
|
+
- KEY CONTRACTS (source-verified against the Register Guest Buyer resource):
|
|
107
|
+
|
|
108
|
+
## Operations Reference
|
|
109
|
+
|
|
110
|
+
Operations grouped by purpose. Use these as the building blocks for the workflows above.
|
|
111
|
+
|
|
112
|
+
### Summary
|
|
113
|
+
|
|
114
|
+
| Operation | Purpose | Status | Call | Depends on |
|
|
115
|
+
|-----------|---------|--------|------|------------|
|
|
116
|
+
| `discover-webstores` | read | implemented | `querySoql` | — |
|
|
117
|
+
| `identify-account` | read | implemented | `querySoql` | — |
|
|
118
|
+
| `register-guest-buyer` | write | implemented | `postRegisterGuestBuyer` | `discover-webstores` |
|
|
119
|
+
|
|
120
|
+
### Read operations
|
|
121
|
+
|
|
122
|
+
#### `discover-webstores`
|
|
123
|
+
|
|
124
|
+
Enumerate Commerce webstores with Id, Name, and Type. Runs FIRST; no
|
|
125
|
+
choice gate (always executes). The agent presents Names to the user and
|
|
126
|
+
threads the chosen record's Id into the register step as webstoreId.
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
**Call:** `querySoql` — status: `implemented`
|
|
130
|
+
|
|
131
|
+
#### `identify-account`
|
|
132
|
+
|
|
133
|
+
Resolve an Account by name to its 001-prefixed Id. Runs ONLY when the user
|
|
134
|
+
supplied a company / account NAME rather than an Id (account-input = by-name).
|
|
135
|
+
Skipped when the user already gave a 001 Id.
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
**Call:** `querySoql` — status: `implemented`
|
|
139
|
+
|
|
140
|
+
**Inputs:**
|
|
141
|
+
|
|
142
|
+
- `accountName` *(`String`)* — The company / account name (or fragment) the user gave. Matched with a
|
|
143
|
+
LIKE filter; present matches for the user to pick when more than one.
|
|
144
|
+
WILDCARD SAFETY: before binding, escape SOQL LIKE metacharacters in the
|
|
145
|
+
user's input — backslash-escape `\`, `%`, and `_` (\\ , \%, \_) so a
|
|
146
|
+
user cannot pass a bare `%`/`_` to enumerate every visible Account. A
|
|
147
|
+
lone `%` or empty string must be rejected, not run as "match all".
|
|
148
|
+
|
|
149
|
+
### Write operations
|
|
150
|
+
|
|
151
|
+
#### `register-guest-buyer`
|
|
152
|
+
|
|
153
|
+
Register the selected Account as a (guest) buyer for the selected webstore.
|
|
154
|
+
POST to the Order Management Repricing API register-guest-buyer action.
|
|
155
|
+
The request body is EMPTY — the whole contract is the two path params.
|
|
156
|
+
Response carries success + errors only (no entity payload).
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
**Call:** `postRegisterGuestBuyer` — status: `implemented`
|
|
160
|
+
|
|
161
|
+
**Inputs:**
|
|
162
|
+
|
|
163
|
+
- `webstoreId` *(`String`)* — WebStore Id from discover-webstores (the store the user picked).
|
|
164
|
+
Pre-validate against ^0ZE[A-Za-z0-9]{12}([A-Za-z0-9]{3})?$ before invoking.
|
|
165
|
+
|
|
166
|
+
- **Source:** output of `discover-webstores`
|
|
167
|
+
- `accountId` *(`String`)* — Account Id (001-prefixed) to register as a buyer. Sourced from
|
|
168
|
+
identify-account when the user gave a name (account-input = by-name), or
|
|
169
|
+
supplied directly by the user (by-id). Pre-validate against
|
|
170
|
+
^001[A-Za-z0-9]{12}([A-Za-z0-9]{3})?$ before invoking.
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
**Depends on:** `discover-webstores`
|