@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,563 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: commerce-product-search
|
|
3
|
+
description: "Use this skill when users want to buyer-facing catalog discovery for Commerce webstores: search a store's product catalog by keyword, SKU, or product Id, then optionally refine by facets or paginate. Trigger when users mention product, search."
|
|
4
|
+
metadata:
|
|
5
|
+
version: "1.0"
|
|
6
|
+
accessCheck: "(Account.READ) || (AccountContactRelation.READ) || (Commerce.orgHasCommerceB2BOrB2CEnabled) || (Product2.READ) || (WebStore.READ)"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Querying Product Search
|
|
10
|
+
|
|
11
|
+
## When to Use This Skill
|
|
12
|
+
|
|
13
|
+
Buyer-facing catalog discovery for Commerce webstores: search a store's product catalog by keyword, SKU, or product Id, then optionally refine by facets or paginate. Read-only discovery — add-to-cart, checkout, and place-order are OUT OF SCOPE and belong to separate SORs.
|
|
14
|
+
|
|
15
|
+
## Workflow
|
|
16
|
+
|
|
17
|
+
Render values VERBATIM from the response:
|
|
18
|
+
• Product NAME ($.name) — never reformat, never
|
|
19
|
+
abbreviate. "Boardroom Sheath Dress" stays "Boardroom
|
|
20
|
+
Sheath Dress", not "Boardroom Sheath" or "the dress".
|
|
21
|
+
• SKU ($.stockKeepingUnit) — verbatim. The full
|
|
22
|
+
string is the cross-reference key customers use.
|
|
23
|
+
• Description ($.description) — product summary text.
|
|
24
|
+
• Status / availability (when present in $.fields) —
|
|
25
|
+
verbatim string, never translate ("Active" stays "Active",
|
|
26
|
+
not "Available"; "Released" stays "Released", not "Live").
|
|
27
|
+
|
|
28
|
+
Format for human readability:
|
|
29
|
+
• SEARCH RESULTS HAVE NO PRICING. ProductSearchProductOutputRepresentation
|
|
30
|
+
contains name, SKU, description, and image (singular) only.
|
|
31
|
+
Pricing fields ($.unitPrice, $.listPrice, $.currencyIsoCode)
|
|
32
|
+
are ONLY available on the detail endpoint
|
|
33
|
+
(ProductDetailsOutputRepresentation). To show price, you
|
|
34
|
+
must drill down via drill-down-product-details or
|
|
35
|
+
search-by-product-id. Present search lists with name + SKU +
|
|
36
|
+
description + image; offer "select a product to see pricing."
|
|
37
|
+
• Price (detail endpoint only) as `{currency-symbol}{amount}`
|
|
38
|
+
with 2 decimals — `$24.99`, not `24.99 USD` (unless the
|
|
39
|
+
currency is non-USD, then use the symbol from currencyIsoCode).
|
|
40
|
+
• Image from search results is $.image (singular object),
|
|
41
|
+
NOT $.imageGroups[] which only exists on detail endpoint.
|
|
42
|
+
Present as thumbnail or hyperlink — NEVER paste raw URLs.
|
|
43
|
+
• Field and attribute data should be rendered in clear,
|
|
44
|
+
human-readable format avoiding raw API names where
|
|
45
|
+
possible.
|
|
46
|
+
|
|
47
|
+
total_count: 0 (or empty $.products) — friendly
|
|
48
|
+
"no products found matching {criteria} in this webstore — try
|
|
49
|
+
a broader keyword or different facets." Do NOT auto-retry with
|
|
50
|
+
a relaxed term; the user picked the criteria deliberately.
|
|
51
|
+
|
|
52
|
+
productSearch is PAGE-BASED, not cursor-based. Unlike SOQL:
|
|
53
|
+
• `total_count` IS reliable (use for "showing N of M").
|
|
54
|
+
• No LIMIT-21 sentinel, no $.records[19] cursor seed.
|
|
55
|
+
• PAGE IS ZERO-INDEXED (wire-verified on q3-som-e2e 2026-06-29).
|
|
56
|
+
First call: `page: 0` (or omit — omitted is equivalent to 0).
|
|
57
|
+
Subsequent calls: `page: 1`, `page: 2`, ... until
|
|
58
|
+
products.length < pageSize.
|
|
59
|
+
• OM API returns real $.pageNumber field that can be used for
|
|
60
|
+
pagination logic. Stop when $.pageNumber >= ceil($.totalRecordsFound / $.pageSize)
|
|
61
|
+
or when products.length < pageSize (last page is short).
|
|
62
|
+
• ALWAYS SPECIFY pageSize EXPLICITLY. Server default varies by
|
|
63
|
+
org (default is 25, org-configurable). Recommend 20 for chat-list
|
|
64
|
+
ergonomics; cap historically 25-100 on the legacy POST resource —
|
|
65
|
+
values above the cap return 400.
|
|
66
|
+
• next-page step exists ONLY on the keyword path (search-by-
|
|
67
|
+
keyword + refine-with-facets). by-sku and by-product-id are
|
|
68
|
+
single-item results — no pagination.
|
|
69
|
+
|
|
70
|
+
webstoreId is REQUIRED on every search step, but the SOR's
|
|
71
|
+
discover-webstores step now sources it from a SOQL list of
|
|
72
|
+
WebStore Id/Name/Type. The agent presents Names to the user,
|
|
73
|
+
the user picks, the chosen record's Id is threaded through
|
|
74
|
+
downstream steps via prior_step. The agent should NEVER echo
|
|
75
|
+
the raw 0ZE Id back to a buyer in customer-facing reply text;
|
|
76
|
+
CSRs may see it for disambiguation. The user does not need to
|
|
77
|
+
know the 0ZE Id up front.
|
|
78
|
+
|
|
79
|
+
The primary v244+ resource caches responses for 15 minutes
|
|
80
|
+
(public cache, max-age 900s, s-maxage 1800s). Responses may
|
|
81
|
+
be stale by that window. For chat UX this is usually fine —
|
|
82
|
+
catalog data doesn't change minute-to-minute — but if the
|
|
83
|
+
user reports "I just changed the price and it's still
|
|
84
|
+
showing the old one", note the 15-minute cache and suggest
|
|
85
|
+
a retry after the window.
|
|
86
|
+
|
|
87
|
+
Operational heuristic (legacy, retained for completeness): on B2B
|
|
88
|
+
if a search returns an unexpectedly empty result, treat that
|
|
89
|
+
as a likely missing-effectiveAccountId signal and confirm the
|
|
90
|
+
account was supplied. With the redesign, discover-effective-account
|
|
91
|
+
makes this much less likely — the input is sourced from the
|
|
92
|
+
account-picker rather than a freeform field.
|
|
93
|
+
|
|
94
|
+
Server-side patterns (confirmed via source review against
|
|
95
|
+
ICommerceProductSearchResource v244+ annotations):
|
|
96
|
+
webstoreId → ^0ZE[A-Za-z0-9]{12}([A-Za-z0-9]{3})?$ (WebStore)
|
|
97
|
+
productId / categoryId → ^01t[A-Za-z0-9]{12}([A-Za-z0-9]{3})?$ / ^0ZG[A-Za-z0-9]{12}([A-Za-z0-9]{3})?$ (Product2 / Catalog)
|
|
98
|
+
sortRuleId → ^0qU[A-Za-z0-9]{12}([A-Za-z0-9]{3})?$ (Sort Rule, future use)
|
|
99
|
+
effectiveBuyerGroupIds → ^0ZI[A-Za-z0-9]{12}([A-Za-z0-9]{3})?$ (Buyer Group, future use)
|
|
100
|
+
Reject any input that fails the pattern with a friendly
|
|
101
|
+
error before invoking. Failing fast at the agent layer is
|
|
102
|
+
better UX than waiting for the server's 400.
|
|
103
|
+
|
|
104
|
+
The three search dimensions are mutually exclusive; the choice_points
|
|
105
|
+
runtime hard-skips the other two:
|
|
106
|
+
• by-keyword → GET Order Management getProducts with searchTerm
|
|
107
|
+
• by-sku → GET Order Management getProducts with searchTerm: <sku>.
|
|
108
|
+
The Commerce Catalog productView path REJECTS SKU at
|
|
109
|
+
the routing layer, so the OM API is canonical for SKU
|
|
110
|
+
lookup.
|
|
111
|
+
• by-product-id → GET Order Management getProduct with the 01t Id.
|
|
112
|
+
|
|
113
|
+
The customer-friendly wording rules above are the same rules that apply to
|
|
114
|
+
the search-order-summaries SOR (NO internal field names, sObject names, raw
|
|
115
|
+
18-char Ids, or webstoreId in the user-facing reply).
|
|
116
|
+
|
|
117
|
+
## Critical Constraints
|
|
118
|
+
|
|
119
|
+
**Preconditions:**
|
|
120
|
+
|
|
121
|
+
- Org must have Commerce B2B or B2C enabled — both productSearch and
|
|
122
|
+
productDetails endpoints carry the x-sfdc.org-access-check for
|
|
123
|
+
Commerce B2B or B2C enabled. Without this feature,
|
|
124
|
+
every step returns FEATURE_NOT_ENABLED.
|
|
125
|
+
(check: `Commerce B2B or B2C enabled`)
|
|
126
|
+
- User must have READ access to the WebStore (the 0ZE-prefixed
|
|
127
|
+
record every step targets). On the primary v244+ commerce
|
|
128
|
+
search resource this is implicit via the Commerce Store
|
|
129
|
+
feature gate; unauthenticated/portal flows ARE allowed there.
|
|
130
|
+
(Note: an alternate OM-specific repricing resource enforces
|
|
131
|
+
USER_HAS_ORDER_MANAGEMENT_OR_REPRICING_API_ACCESS, but this
|
|
132
|
+
SOR does NOT target that resource — it routes through the
|
|
133
|
+
buyer-facing storefront search.)
|
|
134
|
+
(check: `WebStore.READ`)
|
|
135
|
+
- User must have READ access to Product2 — every step in this
|
|
136
|
+
workflow projects Product2 fields (Name, StockKeepingUnit,
|
|
137
|
+
custom fields). Without FLS the response is empty.
|
|
138
|
+
(check: `Product2.READ`)
|
|
139
|
+
- When querying a B2B webstore, the caller must supply
|
|
140
|
+
effectiveAccountId and have READ access to that Account. The
|
|
141
|
+
storeType choice_point routes the workflow into the B2B branch
|
|
142
|
+
(effectiveAccountId required on every step) for B2B;
|
|
143
|
+
B2C and B2CE branches treat effectiveAccountId as optional.
|
|
144
|
+
(check: `Account.READ`)
|
|
145
|
+
- Calling user must have a Contact record (User.ContactId) for
|
|
146
|
+
discover-effective-account to resolve. CSR / internal users who
|
|
147
|
+
shop on behalf of buyers must have AccountContactRelation rows
|
|
148
|
+
linking them to the target buyer accounts. Without either, the
|
|
149
|
+
account-discovery query returns empty and the B2B branch
|
|
150
|
+
blocks.
|
|
151
|
+
(check: `AccountContactRelation.READ`)
|
|
152
|
+
|
|
153
|
+
**Operational rules:**
|
|
154
|
+
|
|
155
|
+
- TYPICAL FLOW
|
|
156
|
+
- STEP 1 — Discover the webstore (always runs)
|
|
157
|
+
Invoke discover-webstores. Present $.records[*] as a numbered
|
|
158
|
+
menu using Name + Type:
|
|
159
|
+
"Which store?
|
|
160
|
+
1) BrightBundle Co (B2B)
|
|
161
|
+
2) B2C Codecept (B2C)
|
|
162
|
+
3) RefArch USD (B2CE)"
|
|
163
|
+
NEVER echo the raw 0ZE Id to a buyer. Once the user picks, map
|
|
164
|
+
that record's Type column to the store-type choice value:
|
|
165
|
+
Type == "B2B" → store-type = b2b
|
|
166
|
+
Type == "B2CE" → store-type = b2ce
|
|
167
|
+
Type == "B2C" → store-type = b2c
|
|
168
|
+
The chosen record's Id becomes the webstoreId threaded through
|
|
169
|
+
every downstream step.
|
|
170
|
+
- STEP 2 — Discover the buyer account (B2B only; skipped on B2C and B2CE)
|
|
171
|
+
On B2B the runtime fires discover-effective-account.
|
|
172
|
+
Present $.records[*].Account.Name as a numbered menu:
|
|
173
|
+
"Which account are you shopping for?
|
|
174
|
+
1) Acme Corp
|
|
175
|
+
2) Global Industries"
|
|
176
|
+
The chosen record's AccountId becomes the effectiveAccountId
|
|
177
|
+
threaded through every search step. On B2C and B2CE the step is hard-
|
|
178
|
+
skipped (see store-type choice option `b2c` and `b2ce` skip_steps); the
|
|
179
|
+
search steps run without effectiveAccountId.
|
|
180
|
+
- STEP 3 — Gather search criteria
|
|
181
|
+
Ask the user which of three dimensions they want:
|
|
182
|
+
• keyword — free-text catalog scan
|
|
183
|
+
• SKU — exact-match SKU lookup
|
|
184
|
+
• product Id — exact-match 01t-prefixed Id lookup
|
|
185
|
+
Facets and pagination are not peer dimensions — they're follow-
|
|
186
|
+
on refinements of the keyword path (see STEP 5 below).
|
|
187
|
+
- STEP 4 — Run the matching search-by-* step
|
|
188
|
+
The choice_points runtime hard-skips the other two peer
|
|
189
|
+
dimensions and (for sku / product-id) hard-skips
|
|
190
|
+
refine-with-facets + next-page. Pre-validate Id shapes BEFORE
|
|
191
|
+
invoking:
|
|
192
|
+
webstoreId → ^0ZE[A-Za-z0-9]{12}([A-Za-z0-9]{3})?$
|
|
193
|
+
productId → ^01t[A-Za-z0-9]{12}([A-Za-z0-9]{3})?$
|
|
194
|
+
- STEP 5 — Refine and paginate (keyword path only)
|
|
195
|
+
From by-keyword:
|
|
196
|
+
• The response's $.facets enumerates what's facetable for the
|
|
197
|
+
matching products. If $.facets is EMPTY ([]), the catalog has
|
|
198
|
+
no facetable attributes — skip the refine prompt entirely
|
|
199
|
+
(don't ask "what filter?" when there are no filters). If
|
|
200
|
+
$.facets is populated, present them ("filter by Color (Red,
|
|
201
|
+
Blue, Green), Size (S, M, L)") and invoke refine-with-facets
|
|
202
|
+
with the user's picks.
|
|
203
|
+
• Walk additional pages via next-page. Stop when
|
|
204
|
+
products.length < pageSize (last page is short) OR when
|
|
205
|
+
$.pageNumber >= ceil($.totalRecordsFound / $.pageSize).
|
|
206
|
+
- STEP 6 — Present results in customer-friendly wording
|
|
207
|
+
• Product NAME ($.name) — verbatim, never abbreviate.
|
|
208
|
+
• SKU ($.stockKeepingUnit) — verbatim. Customers
|
|
209
|
+
cross-reference SKUs when calling in; truncating breaks
|
|
210
|
+
that.
|
|
211
|
+
• Description ($.description) — product summary text from
|
|
212
|
+
search results, if present.
|
|
213
|
+
• Image ($.image) — present as thumbnail or hyperlink, NOT
|
|
214
|
+
raw URL. Search results have a SINGULAR image object, not
|
|
215
|
+
$.imageGroups[] (imageGroups only available on detail endpoint).
|
|
216
|
+
• PRICING NOT AVAILABLE FROM SEARCH. Search results contain
|
|
217
|
+
name, SKU, description, and image only. To show pricing
|
|
218
|
+
($.unitPrice, $.listPrice, $.currencyIsoCode), you must
|
|
219
|
+
drill down to the detail endpoint via drill-down-product-details
|
|
220
|
+
or search-by-product-id. Present the search list with
|
|
221
|
+
name + SKU + description + image, then offer "select a product
|
|
222
|
+
to see pricing and full details."
|
|
223
|
+
• Product fields ($.fields) and attributes ($.attributes) —
|
|
224
|
+
render in human-readable format where possible.
|
|
225
|
+
NO internal field names, sObject names, FQCNs, internal
|
|
226
|
+
step names, 18-char Ids, webstoreId, correlationId, or
|
|
227
|
+
Apex class names in the user-facing reply.
|
|
228
|
+
- STEP 7 — Drill into a chosen product (optional)
|
|
229
|
+
From by-keyword / refine-with-facets / next-page, run
|
|
230
|
+
drill-down-product-details once the user picks a row. This
|
|
231
|
+
delegates to the product-details SOR for comprehensive product
|
|
232
|
+
information. From by-sku / by-product-id the drill-down may be
|
|
233
|
+
redundant — only invoke if the user explicitly asks for more detail.
|
|
234
|
+
- STEP 8 — Hand off to checkout / cart actions
|
|
235
|
+
OUT OF SCOPE for this SOR. The agent picks the next workflow
|
|
236
|
+
from the conversation, not from this SOR. Likely targets:
|
|
237
|
+
add-to-cart, place-order, etc. (separate SORs).
|
|
238
|
+
- CUSTOMER-FRIENDLY WORDING RULES
|
|
239
|
+
- Never echo:
|
|
240
|
+
• Apex class names, FQCNs, internal step names.
|
|
241
|
+
• $.correlationId — debugging-only, leaks internal trace IDs.
|
|
242
|
+
• webstoreId — internal Id; customers shouldn't see 0ZE
|
|
243
|
+
identifiers in chat.
|
|
244
|
+
• Raw error envelope ($.errors[].errorCode) — translate to
|
|
245
|
+
friendly language. INVALID_ID_FIELD → "I don't recognize
|
|
246
|
+
that product Id"; FEATURE_NOT_ENABLED → "your org doesn't
|
|
247
|
+
have Commerce enabled."
|
|
248
|
+
- EMPTY RESULTS vs ERRORS
|
|
249
|
+
- HTTP errors:
|
|
250
|
+
400 INVALID_ID_FIELD → id-shape mismatch (webstoreId,
|
|
251
|
+
productId). Pre-validate at
|
|
252
|
+
the agent layer to fail fast.
|
|
253
|
+
400 VALIDATION_ERROR → typo'd facet nameOrId or
|
|
254
|
+
malformed refinement shape.
|
|
255
|
+
Translate to customer terms
|
|
256
|
+
("that filter isn't valid for
|
|
257
|
+
this catalog"); do NOT echo the
|
|
258
|
+
raw API field name.
|
|
259
|
+
401 / 403 → user lacks WebStore READ or
|
|
260
|
+
buyer access. Surface "you
|
|
261
|
+
don't have access to this
|
|
262
|
+
webstore" — never the raw
|
|
263
|
+
PermissionDeniedException.
|
|
264
|
+
404 → product not found on a single-
|
|
265
|
+
item lookup. Offer to retry as
|
|
266
|
+
a keyword search across the
|
|
267
|
+
catalog (render the suggestion
|
|
268
|
+
in natural language, never echo
|
|
269
|
+
the internal `by-keyword` token).
|
|
270
|
+
503 FEATURE_NOT_ENABLED → org missing Commerce B2B/B2C.
|
|
271
|
+
Surface "your org doesn't have
|
|
272
|
+
Commerce enabled" — direct the
|
|
273
|
+
user to Setup if appropriate.
|
|
274
|
+
- PAGINATION
|
|
275
|
+
- WEBSTOREID — SOURCED FROM DISCOVERY
|
|
276
|
+
- CACHING (advisory)
|
|
277
|
+
- EFFECTIVE ACCOUNT ID (driven by store-type choice)
|
|
278
|
+
- Required-ness is driven by the store-type choice_point + the
|
|
279
|
+
discover-effective-account step:
|
|
280
|
+
• store-type = b2b → discover-effective-account runs.
|
|
281
|
+
effectiveAccountId is REQUIRED on every
|
|
282
|
+
search step (B2B buyer-scoped pricing +
|
|
283
|
+
entitlement enforcement).
|
|
284
|
+
• store-type = b2ce → discover-effective-account is SKIPPED.
|
|
285
|
+
effectiveAccountId is OPTIONAL on every
|
|
286
|
+
search step.
|
|
287
|
+
• store-type = b2c → discover-effective-account is hard-
|
|
288
|
+
skipped. effectiveAccountId is OPTIONAL
|
|
289
|
+
on every search step (classic B2C ignores
|
|
290
|
+
it — uniform pricing across buyers).
|
|
291
|
+
The store-type value is derived from the Type column on the
|
|
292
|
+
webstore the user picked in discover-webstores (B2B → b2b,
|
|
293
|
+
B2CE → b2ce, B2C → b2c). The agent does NOT prompt for store-
|
|
294
|
+
type independently — the prior_step source on the choice_point
|
|
295
|
+
pulls it from discover-webstores' chosen record.
|
|
296
|
+
- ID-SHAPE PRE-VALIDATION (catches 400s before round-trip)
|
|
297
|
+
- SEARCH-DIMENSION ROUTING (relocated from routing summary)
|
|
298
|
+
- WORDING-RULE PROVENANCE
|
|
299
|
+
|
|
300
|
+
## Operations Reference
|
|
301
|
+
|
|
302
|
+
Operations grouped by purpose. Use these as the building blocks for the workflows above.
|
|
303
|
+
|
|
304
|
+
### Summary
|
|
305
|
+
|
|
306
|
+
| Operation | Purpose | Status | Call | Depends on |
|
|
307
|
+
|-----------|---------|--------|------|------------|
|
|
308
|
+
| `discover-webstores` | read | implemented | `querySoql` | — |
|
|
309
|
+
| `discover-effective-account` | read | implemented | `querySoql` | `discover-webstores` |
|
|
310
|
+
| `search-by-keyword` | read | implemented | `getProductSearch` | `discover-webstores` |
|
|
311
|
+
| `search-by-sku` | read | implemented | `getProductSearch` | `discover-webstores` |
|
|
312
|
+
| `search-by-product-id` | read | implemented | `getProductDetails` | `discover-webstores` |
|
|
313
|
+
| `refine-with-facets` | read | implemented | `getProductSearch` | `search-by-keyword` |
|
|
314
|
+
| `next-page` | read | implemented | `getProductSearch` | `search-by-keyword`, `refine-with-facets` |
|
|
315
|
+
| `drill-down-product-details` | read | — | → `cc-om-fast-and-furious/product-details` | `search-by-keyword`, `search-by-sku`, `refine-with-facets`, `next-page` |
|
|
316
|
+
|
|
317
|
+
### Dependency graph
|
|
318
|
+
|
|
319
|
+
```mermaid
|
|
320
|
+
graph TD
|
|
321
|
+
discover_webstores["discover-webstores (read)"]
|
|
322
|
+
discover_effective_account["discover-effective-account (read)"]
|
|
323
|
+
search_by_keyword["search-by-keyword (read)"]
|
|
324
|
+
search_by_sku["search-by-sku (read)"]
|
|
325
|
+
search_by_product_id["search-by-product-id (read)"]
|
|
326
|
+
refine_with_facets["refine-with-facets (read)"]
|
|
327
|
+
next_page["next-page (read)"]
|
|
328
|
+
drill_down_product_details["drill-down-product-details (read)"]
|
|
329
|
+
discover_webstores --> discover_effective_account
|
|
330
|
+
discover_webstores --> search_by_keyword
|
|
331
|
+
discover_webstores --> search_by_sku
|
|
332
|
+
discover_webstores --> search_by_product_id
|
|
333
|
+
search_by_keyword --> refine_with_facets
|
|
334
|
+
search_by_keyword --> next_page
|
|
335
|
+
refine_with_facets --> next_page
|
|
336
|
+
search_by_keyword --> drill_down_product_details
|
|
337
|
+
search_by_sku --> drill_down_product_details
|
|
338
|
+
refine_with_facets --> drill_down_product_details
|
|
339
|
+
next_page --> drill_down_product_details
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
### Read operations
|
|
343
|
+
|
|
344
|
+
#### `discover-webstores`
|
|
345
|
+
|
|
346
|
+
Enumerate active Commerce webstores with Id, Name, and Type. Runs
|
|
347
|
+
FIRST in the workflow; no choice gate (always executes). The Type
|
|
348
|
+
column drives the downstream store-type choice_point — B2B / B2CE
|
|
349
|
+
go to the B2B branch; B2C goes to the classic B2C branch.
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
**Call:** `querySoql` — status: `implemented`
|
|
353
|
+
|
|
354
|
+
#### `discover-effective-account`
|
|
355
|
+
|
|
356
|
+
List the buyer accounts the calling user can shop as, via
|
|
357
|
+
AccountContactRelation. Runs after discover-webstores; gated on
|
|
358
|
+
the store-type choice — skipped for B2C classic, runs for B2B
|
|
359
|
+
and B2CE. The agent uses this output to populate the
|
|
360
|
+
`effectiveAccountId` input on downstream search steps.
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
**Call:** `querySoql` — status: `implemented`
|
|
364
|
+
|
|
365
|
+
**Inputs:**
|
|
366
|
+
|
|
367
|
+
- `webstoreId` *(`String`)* — WebStore Id from discover-webstores. Used here only as
|
|
368
|
+
context (the AccountContactRelation query doesn't filter by
|
|
369
|
+
webstore); future enhancement could scope this query through
|
|
370
|
+
WebStoreBuyerGroup + BuyerGroupMember for webstore-specific
|
|
371
|
+
buyer-account lists.
|
|
372
|
+
|
|
373
|
+
- **Source:** output of `discover-webstores`
|
|
374
|
+
|
|
375
|
+
**Depends on:** `discover-webstores`
|
|
376
|
+
|
|
377
|
+
#### `search-by-keyword`
|
|
378
|
+
|
|
379
|
+
Free-text keyword search across a webstore's product catalog.
|
|
380
|
+
Page-based pagination (page + pageSize) — re-call with page: N+1
|
|
381
|
+
until products.length < pageSize. Returns a list of product
|
|
382
|
+
summaries with facets echoed for downstream by-facet re-search.
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
**Call:** `getProductSearch` — status: `implemented`
|
|
386
|
+
|
|
387
|
+
**Inputs:**
|
|
388
|
+
|
|
389
|
+
- `webstoreId` *(`String`)* — WebStore Id sourced from discover-webstores. The agent
|
|
390
|
+
updates this after the user picks a webstore from
|
|
391
|
+
discover-webstores.$.stores. Pre-validate against
|
|
392
|
+
^0ZE[A-Za-z0-9]{12}([A-Za-z0-9]{3})?$ before invoking.
|
|
393
|
+
|
|
394
|
+
- **Source:** output of `discover-webstores`
|
|
395
|
+
- `searchTerm` *(`String`)* — Free-text query. Matched against product Name + indexed attributes.
|
|
396
|
+
- `effectiveAccountId` *(`String`)* — Buyer Account Id, threaded from discover-effective-account
|
|
397
|
+
on B2B only. Empty on the B2C and B2CE branches.
|
|
398
|
+
|
|
399
|
+
- **Source:** output of `discover-effective-account`
|
|
400
|
+
- `page` *(`Integer`)* — Page index, ZERO-BASED. First page is `page: 0` (or omit;
|
|
401
|
+
omitted is equivalent to 0 — wire-verified on q3-som-e2e
|
|
402
|
+
2026-06-29). Subsequent pages via next-page step
|
|
403
|
+
(page+1). The OM API response returns real $.pageNumber.
|
|
404
|
+
|
|
405
|
+
- `pageSize` *(`Integer`)* — Rows per page. ALWAYS SPECIFY EXPLICITLY — server default
|
|
406
|
+
varies by org (default is 25, org-configurable). Recommend
|
|
407
|
+
20 for chat-list ergonomics. Hard cap is historically
|
|
408
|
+
25-100 on the legacy POST resource; values above the cap
|
|
409
|
+
return 400.
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
**Depends on:** `discover-webstores`
|
|
413
|
+
|
|
414
|
+
#### `search-by-sku`
|
|
415
|
+
|
|
416
|
+
Exact-match lookup of a single product by SKU. Routes through
|
|
417
|
+
Order Management Repricing API getProducts with `searchTerm: <sku>`
|
|
418
|
+
and filters the response to the row whose StockKeepingUnit matches
|
|
419
|
+
exactly. The GET productView path rejects SKU at the routing layer
|
|
420
|
+
(live-org probe confirmed: GET /commerce/webstores/{id}/products/{sku}
|
|
421
|
+
returns generic 404 NOT_FOUND for unknown {productId} shapes,
|
|
422
|
+
vs PRODUCT_NOT_FOUND for valid 01t Ids that don't exist).
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
**Call:** `getProductSearch` — status: `implemented`
|
|
426
|
+
|
|
427
|
+
**Inputs:**
|
|
428
|
+
|
|
429
|
+
- `webstoreId` *(`String`)* — WebStore Id sourced from discover-webstores. Pre-validate
|
|
430
|
+
against ^0ZE[A-Za-z0-9]{12}([A-Za-z0-9]{3})?$.
|
|
431
|
+
|
|
432
|
+
- **Source:** output of `discover-webstores`
|
|
433
|
+
- `sku` *(`String`)* — StockKeepingUnit value, exact match. Customer-facing SKUs
|
|
434
|
+
are not Id-shaped — accept any non-empty string. The runtime
|
|
435
|
+
substitutes this into the getProducts `searchTerm` query
|
|
436
|
+
parameter; the agent filters the response to an exact
|
|
437
|
+
StockKeepingUnit match.
|
|
438
|
+
|
|
439
|
+
- `effectiveAccountId` *(`String`)* — Buyer Account Id, threaded from discover-effective-account
|
|
440
|
+
on B2B only. Empty on the B2C and B2CE branches.
|
|
441
|
+
|
|
442
|
+
- **Source:** output of `discover-effective-account`
|
|
443
|
+
|
|
444
|
+
**Depends on:** `discover-webstores`
|
|
445
|
+
|
|
446
|
+
#### `search-by-product-id`
|
|
447
|
+
|
|
448
|
+
Exact-match lookup of a single product by Product Id
|
|
449
|
+
(01t-prefixed, 15- or 18-char). Routes through Order Management
|
|
450
|
+
Repricing API getProduct with the skuOrProductId at the path slot.
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
**Call:** `getProductDetails` — status: `implemented`
|
|
454
|
+
|
|
455
|
+
**Inputs:**
|
|
456
|
+
|
|
457
|
+
- `webstoreId` *(`String`)* — WebStore Id sourced from discover-webstores. Pre-validate
|
|
458
|
+
against ^0ZE[A-Za-z0-9]{12}([A-Za-z0-9]{3})?$.
|
|
459
|
+
|
|
460
|
+
- **Source:** output of `discover-webstores`
|
|
461
|
+
- `skuOrProductId` *(`String`)* — Product2 Id (01t-prefixed, 15- or 18-char). Pre-validate
|
|
462
|
+
against ^01t[A-Za-z0-9]{12}([A-Za-z0-9]{3})?$.
|
|
463
|
+
|
|
464
|
+
- `effectiveAccountId` *(`String`)* — Buyer Account Id, threaded from discover-effective-account
|
|
465
|
+
on B2B only. Empty on the B2C and B2CE branches.
|
|
466
|
+
|
|
467
|
+
- **Source:** output of `discover-effective-account`
|
|
468
|
+
|
|
469
|
+
**Depends on:** `discover-webstores`
|
|
470
|
+
|
|
471
|
+
#### `refine-with-facets`
|
|
472
|
+
|
|
473
|
+
Narrow a prior keyword search by applying facet filters (color,
|
|
474
|
+
size, price-range, custom attributes). Re-invokes Order Management
|
|
475
|
+
getProducts with refinements[] populated from the prior search's
|
|
476
|
+
$.facets output. Depends on a prior search-by-keyword result — NOT
|
|
477
|
+
a mutually-exclusive search dimension.
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
**Call:** `getProductSearch` — status: `implemented`
|
|
481
|
+
|
|
482
|
+
**Inputs:**
|
|
483
|
+
|
|
484
|
+
- `webstoreId` *(`String`)* — WebStore Id, threaded from search-by-keyword's webstore_id
|
|
485
|
+
echo (originally sourced from discover-webstores).
|
|
486
|
+
|
|
487
|
+
- **Source:** output of `search-by-keyword`, `discover-webstores`
|
|
488
|
+
- `searchTerm` *(`String`)* — Keyword from the prior search-by-keyword. Re-sent on the
|
|
489
|
+
refinement call so facets narrow the same keyword universe;
|
|
490
|
+
omitting it would refine across the whole catalog.
|
|
491
|
+
|
|
492
|
+
- `effectiveAccountId` *(`String`)* — Buyer Account Id, threaded from discover-effective-account
|
|
493
|
+
on B2B only. Empty on the B2C and B2CE branches.
|
|
494
|
+
|
|
495
|
+
- **Source:** output of `discover-effective-account`
|
|
496
|
+
- `facets` *(`String`)* — Facet filter string. The OM Repricing API accepts facets as a
|
|
497
|
+
string parameter (not an array). Format and encoding details
|
|
498
|
+
are derived from the served OM API spec. The MCP commerce-oms
|
|
499
|
+
tool advertises this as its `facets` parameter — pass the
|
|
500
|
+
structure verbatim from the MCP tool's input schema when
|
|
501
|
+
invoking via that tool path.
|
|
502
|
+
|
|
503
|
+
Legacy note: the retired Commerce Search API used an array-shaped
|
|
504
|
+
`refinements` parameter with RefinementInputRepresentation objects.
|
|
505
|
+
That contract is replaced by the OM API's string-based `facets`
|
|
506
|
+
parameter.
|
|
507
|
+
|
|
508
|
+
- `page` *(`Integer`)* — Page index. Reset to 1 when entering refinement (the result
|
|
509
|
+
universe just changed); subsequent pagination via next-page.
|
|
510
|
+
|
|
511
|
+
- `pageSize` *(`Integer`)* — Rows per page. ALWAYS SPECIFY EXPLICITLY — server default
|
|
512
|
+
varies by org (default is 25, org-configurable). Recommend
|
|
513
|
+
20 for chat-list ergonomics; cap historically 25-100 on the
|
|
514
|
+
legacy POST resource — values above the cap return 400.
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
**Depends on:** `search-by-keyword`
|
|
518
|
+
|
|
519
|
+
#### `next-page`
|
|
520
|
+
|
|
521
|
+
Load the next page of results from a prior search-by-keyword or
|
|
522
|
+
refine-with-facets. Re-invokes Order Management getProducts with
|
|
523
|
+
all inputs threaded from the upstream step and `page` incremented
|
|
524
|
+
by 1.
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
**Call:** `getProductSearch` — status: `implemented`
|
|
528
|
+
|
|
529
|
+
**Inputs:**
|
|
530
|
+
|
|
531
|
+
- `webstoreId` *(`String`)*
|
|
532
|
+
- `searchTerm` *(`String`)* — Keyword from the prior search step.
|
|
533
|
+
- `effectiveAccountId` *(`String`)* — Buyer Account Id, threaded from discover-effective-account
|
|
534
|
+
on B2B only. Empty on the B2C and B2CE branches.
|
|
535
|
+
|
|
536
|
+
- **Source:** output of `discover-effective-account`
|
|
537
|
+
- `facets` *(`String`)* — Facets from refine-with-facets if that's the upstream
|
|
538
|
+
step; null/empty if the upstream is search-by-keyword
|
|
539
|
+
(unrefined pagination).
|
|
540
|
+
|
|
541
|
+
- **Source:** output of `refine-with-facets`
|
|
542
|
+
- `page` *(`Integer`)* — Agent's local pagination counter + 1, or sourced from prior
|
|
543
|
+
step's $.pageNumber. Server is ZERO-INDEXED (wire-verified) —
|
|
544
|
+
first call is page:0, next-page sends page:1, then page:2, etc.
|
|
545
|
+
The OM API response returns real $.pageNumber that can be
|
|
546
|
+
incremented.
|
|
547
|
+
|
|
548
|
+
- `pageSize` *(`Integer`)* — Rows per page from the upstream step; preserved unchanged
|
|
549
|
+
across pagination so result-set windowing is consistent.
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
**Depends on:** `search-by-keyword`, `refine-with-facets`
|
|
553
|
+
|
|
554
|
+
#### `drill-down-product-details`
|
|
555
|
+
|
|
556
|
+
Retrieve full product details for the selected product from search results.
|
|
557
|
+
Delegates to the product-details SOR for comprehensive product information
|
|
558
|
+
including pricing, images, variations, bundles, and custom fields.
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
**Delegates to:** `cc-om-fast-and-furious/product-details`
|
|
562
|
+
|
|
563
|
+
**Depends on:** `search-by-keyword`, `search-by-sku`, `refine-with-facets`, `next-page`
|