@salesforce/afv-skills 1.65.0 → 1.65.1
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/field-service-data-capture-form-deployer-configure/SKILL.md +2 -23
- package/skills/field-service-data-capture-form-designer-configure/SKILL.md +3 -13
- package/skills/field-service-mobile-branding-configure/SKILL.md +3 -17
- package/skills/field-service-objective-designer-configure/SKILL.md +379 -72
- package/skills/field-service-prework-brief-deployer-configure/SKILL.md +537 -10
- package/skills/field-service-scheduling-policy-designer-query/SKILL.md +1093 -65
- package/skills/field-service-sobject-create-configure/SKILL.md +213 -13
- package/skills/field-service-voice-to-form-configure/SKILL.md +11 -40
- package/skills/field-service-work-rule-designer-configure/SKILL.md +95 -121
- package/skills/agentforce-gpt-email-generation-configure/SKILL.md +0 -312
- package/skills/agentforce-wizard-ui-forecasting-analytics-components-configure/SKILL.md +0 -64
- package/skills/agentforce-wizard-ui-sales-einstein-components-configure/SKILL.md +0 -46
- package/skills/automation-company-profile-info-query/SKILL.md +0 -51
- package/skills/automation-digital-wallet-configure/SKILL.md +0 -689
- package/skills/automation-flow-coordinate/SKILL.md +0 -95
- package/skills/automation-flow-coordinate/references/elements/action-call/action-call.md +0 -1569
- package/skills/automation-flow-coordinate/references/elements/action-call/conversation-messaging.md +0 -96
- package/skills/automation-flow-coordinate/references/elements/action-call/examples/send-sms-message.json +0 -23
- package/skills/automation-flow-coordinate/references/elements/action-call/examples/send-to-journey-no-fields.json +0 -31
- package/skills/automation-flow-coordinate/references/elements/action-call/send-to-journey.md +0 -179
- package/skills/automation-flow-coordinate/references/elements/exit-rule/examples/event-email-link-click.json +0 -13
- package/skills/automation-flow-coordinate/references/elements/exit-rule/exit-rule.md +0 -83
- package/skills/automation-flow-coordinate/references/elements/forward-to-bot-or-agent/examples/forward-to-bot-or-agent.json +0 -69
- package/skills/automation-flow-coordinate/references/elements/forward-to-bot-or-agent/forward-to-bot-or-agent.md +0 -274
- package/skills/automation-flow-coordinate/references/elements/start/audience-common.md +0 -192
- package/skills/automation-flow-coordinate/references/elements/start/automation-event-triggered.md +0 -130
- package/skills/automation-flow-coordinate/references/elements/start/data-cloud-data-change-triggered.md +0 -92
- package/skills/automation-flow-coordinate/references/elements/start/form-submission-triggered.md +0 -88
- package/skills/automation-flow-coordinate/references/elements/start/segment-triggered.md +0 -152
- package/skills/automation-flow-coordinate/references/elements/start/start.md +0 -539
- package/skills/automation-flow-coordinate/references/elements/subflow/subflow.md +0 -152
- package/skills/automation-flow-coordinate/references/elements/wait/wait.md +0 -497
- package/skills/automation-flow-coordinate/references/recipes/author/author.md +0 -868
- package/skills/automation-flow-coordinate/references/recipes/summarize/element-generic.md +0 -300
- package/skills/automation-flow-coordinate/references/recipes/summarize/reference-resolution.md +0 -292
- package/skills/automation-flow-coordinate/references/recipes/summarize/summarize.md +0 -323
- package/skills/automation-flow-coordinate/references/recipes/testing/examples/debug-output-template.md +0 -109
- package/skills/automation-flow-coordinate/references/recipes/testing/shape.md +0 -219
- package/skills/automation-flow-coordinate/references/recipes/testing/shared-stages/intent-analyzer.md +0 -180
- package/skills/automation-flow-coordinate/references/recipes/testing/workflows/debug.md +0 -175
- package/skills/automation-flow-coordinate/references/recipes/testing/workflows/promote.md +0 -255
- package/skills/automation-flow-coordinate/references/recipes/testing/workflows/save-debug.md +0 -212
- package/skills/automation-flow-coordinate/references/resources/variable/variable.md +0 -171
- package/skills/automation-flow-coordinate/references/shared/anti-patterns.md +0 -786
- package/skills/automation-flow-coordinate/references/shared/end/end.md +0 -267
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/README.md +0 -69
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/predictions.jsonl +0 -80
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/prompts.jsonl +0 -116
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/flow-type-resolver.md +0 -321
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/taxonomy.json +0 -320
- package/skills/automation-flow-coordinate/references/shared/server-functions.md +0 -597
- package/skills/automotive-cloud-appraisal-management-settings-configure/SKILL.md +0 -69
- package/skills/automotive-cloud-dealer-essentials-configure/SKILL.md +0 -78
- package/skills/automotive-cloud-ground-agent-data-pipelines-configure/SKILL.md +0 -373
- package/skills/automotive-cloud-ground-mfg-agent-data-pipelines-configure/SKILL.md +0 -273
- package/skills/automotive-cloud-mfg-agent-data-pipelines-configure/SKILL.md +0 -259
- package/skills/automotive-cloud-mfg-sales-concierge-agent-create/SKILL.md +0 -369
- package/skills/automotive-cloud-mfg-sales-concierge-foundation-configure/SKILL.md +0 -542
- package/skills/automotive-cloud-mfg-sales-concierge-foundation-coordinate/SKILL.md +0 -159
- package/skills/automotive-cloud-mfg-sales-concierge-orchestrator-agent-create/SKILL.md +0 -349
- package/skills/automotive-cloud-mfg-sales-concierge-orchestrator-configure/SKILL.md +0 -505
- package/skills/automotive-cloud-sales-concierge-agent-create/SKILL.md +0 -380
- package/skills/automotive-cloud-sales-concierge-foundation-configure/SKILL.md +0 -567
- package/skills/automotive-cloud-sales-concierge-foundation-coordinate/SKILL.md +0 -159
- package/skills/automotive-cloud-sales-concierge-orchestrator-agent-create/SKILL.md +0 -360
- package/skills/automotive-cloud-sales-concierge-orchestrator-configure/SKILL.md +0 -539
- package/skills/automotive-cloud-sales-concierge-search-grounding-configure/SKILL.md +0 -358
- package/skills/commerce-b2b-merchant-quote-configure/SKILL.md +0 -602
- package/skills/commerce-b2b-store-configure/SKILL.md +0 -251
- package/skills/commerce-credit-memo-create/SKILL.md +0 -139
- package/skills/commerce-delivery-business-hours-configure/SKILL.md +0 -277
- package/skills/commerce-delivery-estimation-apply/SKILL.md +0 -155
- package/skills/commerce-delivery-estimation-configure/SKILL.md +0 -377
- package/skills/commerce-delivery-routing-specs-integrate/SKILL.md +0 -174
- package/skills/commerce-estimate-bopis-query/SKILL.md +0 -279
- package/skills/commerce-estimate-delivery-date-query/SKILL.md +0 -349
- package/skills/commerce-fees-apply/SKILL.md +0 -227
- package/skills/commerce-fulfillment-routing-analyze/SKILL.md +0 -200
- package/skills/commerce-guest-buyer-create/SKILL.md +0 -173
- package/skills/commerce-location-bopis-configure/SKILL.md +0 -378
- package/skills/commerce-location-business-hours-configure/SKILL.md +0 -235
- package/skills/commerce-location-delivery-processing-time-configure/SKILL.md +0 -309
- package/skills/commerce-location-graph-integrate/SKILL.md +0 -131
- package/skills/commerce-location-shipping-carrier-method-configure/SKILL.md +0 -755
- package/skills/commerce-location-temporary-operating-hours-configure/SKILL.md +0 -331
- package/skills/commerce-merchant-buyer-groups-configure/SKILL.md +0 -579
- package/skills/commerce-merchant-buyer-user-onboarding-create/SKILL.md +0 -626
- package/skills/commerce-merchant-catalog-configure/SKILL.md +0 -614
- package/skills/commerce-merchant-extension-provider-configure/SKILL.md +0 -368
- package/skills/commerce-merchant-insights-account-health-churn-analyze/SKILL.md +0 -118
- package/skills/commerce-merchant-insights-inventory-returns-analyze/SKILL.md +0 -65
- package/skills/commerce-merchant-insights-order-shopper-get/SKILL.md +0 -90
- package/skills/commerce-merchant-insights-product-performance-analyze/SKILL.md +0 -72
- package/skills/commerce-merchant-insights-query/SKILL.md +0 -279
- package/skills/commerce-merchant-storefront-guest-access-configure/SKILL.md +0 -656
- package/skills/commerce-order-summary-change-apply/SKILL.md +0 -375
- package/skills/commerce-product-details-get/SKILL.md +0 -363
- package/skills/commerce-product-search/SKILL.md +0 -563
- package/skills/commerce-react-storefront-create/SKILL.md +0 -350
- package/skills/commerce-return-order-summary-create/SKILL.md +0 -513
- package/skills/commerce-search-relevance-analyze/SKILL.md +0 -757
- package/skills/commerce-temporary-processing-time-override-create/SKILL.md +0 -274
- package/skills/communications-initial-setup-configure/SKILL.md +0 -630
- package/skills/communications-multisite-configure/SKILL.md +0 -571
- package/skills/communications-revenue-cloud-settings-configure/SKILL.md +0 -74
- package/skills/communications-smb-fiber-catalog-create/SKILL.md +0 -413
- package/skills/communications-tmf-integrate/SKILL.md +0 -1368
- package/skills/consumer-goods-visit-activity-act4-questions-assign/SKILL.md +0 -448
- package/skills/consumer-goods-visit-activity-act5-standard-create/SKILL.md +0 -269
- package/skills/consumer-goods-visit-activity-act6-assortment-configure/SKILL.md +0 -271
- package/skills/consumer-goods-visit-activity-act7-account-scoping-create/SKILL.md +0 -382
- package/skills/consumer-goods-visit-activity-act8-plan-attach-create/SKILL.md +0 -373
- package/skills/consumer-goods-visit-activity-act9-proof-validate/SKILL.md +0 -389
- package/skills/consumer-goods-visit-and-activity-act1-specification-create/SKILL.md +0 -338
- package/skills/consumer-goods-visit-and-activity-act2-template-create/SKILL.md +0 -547
- package/skills/consumer-goods-visit-and-activity-act3-definition-create/SKILL.md +0 -346
- package/skills/consumer-goods-visit-and-activity-configure/SKILL.md +0 -1110
- package/skills/crm-analytics-adoption-insights-configure/SKILL.md +0 -224
- package/skills/crm-analytics-custom-report-type-lightning-configure/SKILL.md +0 -418
- package/skills/crm-analytics-dashboards-configure/SKILL.md +0 -731
- package/skills/crm-analytics-operational-analytics-metadata-bridge-migrate/SKILL.md +0 -233
- package/skills/crm-analytics-report-notifications-ui-configure/SKILL.md +0 -184
- package/skills/crm-analytics-sharing-inheritance-coverage-analyze/SKILL.md +0 -167
- package/skills/crm-analytics-sonic-getting-started-configure/SKILL.md +0 -55
- package/skills/crm-analytics-tableau-next-app-deploy/SKILL.md +0 -1350
- package/skills/crm-analytics-tableau-next-c360-basemodel-validate/SKILL.md +0 -1862
- package/skills/crm-analytics-tableau-next-datacloud-validate/SKILL.md +0 -83
- package/skills/crm-analytics-tableau-next-provisioning-validate/SKILL.md +0 -81
- package/skills/data360-activation-create/SKILL.md +0 -104
- package/skills/data360-activation-external-platform-get/SKILL.md +0 -49
- package/skills/data360-activation-target-create/SKILL.md +0 -93
- package/skills/data360-activation-v2-create/SKILL.md +0 -456
- package/skills/data360-audience-dmo-get/SKILL.md +0 -38
- package/skills/data360-calculated-affinity-create/SKILL.md +0 -82
- package/skills/data360-calculated-insight-create/SKILL.md +0 -148
- package/skills/data360-catalog-metadata-create/SKILL.md +0 -183
- package/skills/data360-code-extension-create/SKILL.md +0 -115
- package/skills/data360-communication-capping-create/SKILL.md +0 -227
- package/skills/data360-connection-create/SKILL.md +0 -491
- package/skills/data360-content-lens-create/SKILL.md +0 -181
- package/skills/data360-data-action-create/SKILL.md +0 -126
- package/skills/data360-data-action-target-create/SKILL.md +0 -181
- package/skills/data360-data-clean-room-create/SKILL.md +0 -238
- package/skills/data360-data-governance-create/SKILL.md +0 -746
- package/skills/data360-data-graph-create/SKILL.md +0 -82
- package/skills/data360-data-harmonized-model-object-reference-create/SKILL.md +0 -38
- package/skills/data360-data-lake-object-create/SKILL.md +0 -207
- package/skills/data360-data-model-object-catalog-get/SKILL.md +0 -49
- package/skills/data360-data-model-object-create/SKILL.md +0 -128
- package/skills/data360-data-model-object-mapping-create/SKILL.md +0 -106
- package/skills/data360-data-space-create/SKILL.md +0 -161
- package/skills/data360-data-streams-create/SKILL.md +0 -324
- package/skills/data360-engagement-signal-get/SKILL.md +0 -38
- package/skills/data360-experiment-create/SKILL.md +0 -82
- package/skills/data360-goal-based-campaign-create/SKILL.md +0 -192
- package/skills/data360-harmonization-process-history-get/SKILL.md +0 -38
- package/skills/data360-harmonized-unstructured-dmo-create/SKILL.md +0 -84
- package/skills/data360-identity-resolution-create/SKILL.md +0 -115
- package/skills/data360-intelligent-document-processing-create/SKILL.md +0 -148
- package/skills/data360-knowledge-graph-construction-create/SKILL.md +0 -93
- package/skills/data360-knowledge-graph-create/SKILL.md +0 -216
- package/skills/data360-knowledge-space-mcp-configure/SKILL.md +0 -475
- package/skills/data360-machine-learning-mcp-configure/SKILL.md +0 -697
- package/skills/data360-multi-org-mcp-configure/SKILL.md +0 -117
- package/skills/data360-secondary-index-mcp-configure/SKILL.md +0 -126
- package/skills/data360-segment-mcp-configure/SKILL.md +0 -159
- package/skills/data360-semantic-calculated-dimension-mcp-configure/SKILL.md +0 -93
- package/skills/data360-semantic-calculated-measurement-mcp-configure/SKILL.md +0 -93
- package/skills/data360-semantic-data-object-mcp-configure/SKILL.md +0 -93
- package/skills/data360-semantic-dimension-mcp-configure/SKILL.md +0 -38
- package/skills/data360-semantic-engine-mcp-configure/SKILL.md +0 -62
- package/skills/data360-semantic-measurement-mcp-configure/SKILL.md +0 -38
- package/skills/data360-semantic-metric-mcp-configure/SKILL.md +0 -93
- package/skills/data360-semantic-model-mcp-configure/SKILL.md +0 -115
- package/skills/data360-standard-mapping-mcp-configure/SKILL.md +0 -38
- package/skills/data360-tenant-lifecycle-mcp-configure/SKILL.md +0 -73
- package/skills/experience-afv-query/SKILL.md +0 -234
- package/skills/experience-agentforce-vibes-in-react-configure/SKILL.md +0 -63
- package/skills/experience-apex-components-configure/SKILL.md +0 -69
- package/skills/experience-apex-pages-configure/SKILL.md +0 -107
- package/skills/experience-app-home-configure/SKILL.md +0 -76
- package/skills/experience-aura-lightning-out-access-configure/SKILL.md +0 -58
- package/skills/experience-briefcase-configure/SKILL.md +0 -287
- package/skills/experience-community-flexi-page-list-create/SKILL.md +0 -74
- package/skills/experience-community-template-definition-list-query/SKILL.md +0 -48
- package/skills/experience-community-theme-definition-list-query/SKILL.md +0 -38
- package/skills/experience-content-assets-configure/SKILL.md +0 -86
- package/skills/experience-custom-domain-create/SKILL.md +0 -727
- package/skills/experience-defer-rendering-workspace-page-setup-configure/SKILL.md +0 -41
- package/skills/experience-field-service-app-builder-configure/SKILL.md +0 -187
- package/skills/experience-flow-category-configure/SKILL.md +0 -117
- package/skills/experience-formula-configure/SKILL.md +0 -358
- package/skills/experience-global-actions-configure/SKILL.md +0 -69
- package/skills/experience-global-publisher-layouts-configure/SKILL.md +0 -79
- package/skills/experience-instrumentation-configure/SKILL.md +0 -64
- package/skills/experience-lex-engagement-configure/SKILL.md +0 -50
- package/skills/experience-lightning-bolt-open/SKILL.md +0 -12
- package/skills/experience-lightning-out-configure/SKILL.md +0 -129
- package/skills/experience-lightning-preview-configure/SKILL.md +0 -67
- package/skills/experience-lightning-types-query/SKILL.md +0 -98
- package/skills/experience-malware-scan-configure/SKILL.md +0 -71
- package/skills/experience-my-salesforce-configure/SKILL.md +0 -126
- package/skills/experience-navigation-menus-configure/SKILL.md +0 -235
- package/skills/experience-notification-types-configure/SKILL.md +0 -206
- package/skills/experience-notifications-configure/SKILL.md +0 -75
- package/skills/experience-record-discovery-query/SKILL.md +0 -227
- package/skills/experience-regenerate-previews-open/SKILL.md +0 -94
- package/skills/experience-sales-cloud-mab-configure/SKILL.md +0 -254
- package/skills/experience-schema-builder-open/SKILL.md +0 -38
- package/skills/experience-simple-record-home-configure/SKILL.md +0 -110
- package/skills/experience-static-resources-configure/SKILL.md +0 -74
- package/skills/field-service-setup-coordinate/SKILL.md +0 -62
- package/skills/field-service-work-plan-configure/SKILL.md +0 -253
- package/skills/fsc-actionable-segmentation-settings-configure/SKILL.md +0 -180
- package/skills/fsc-digital-origination-bre-decision-matrix-foundation-create/SKILL.md +0 -196
- package/skills/fsc-digital-origination-bre-disclosures-consent-configure/SKILL.md +0 -106
- package/skills/fsc-digital-origination-bre-document-upload-configure/SKILL.md +0 -96
- package/skills/fsc-digital-origination-bre-permissions-assign/SKILL.md +0 -111
- package/skills/fsc-digital-origination-bre-setup-coordinate/SKILL.md +0 -250
- package/skills/fsc-digital-origination-bre-stp-eligibility-configure/SKILL.md +0 -122
- package/skills/fsc-digital-origination-coordinate/SKILL.md +0 -653
- package/skills/fsc-digital-origination-demo-run/SKILL.md +0 -225
- package/skills/fsc-digital-origination-execution-guardrails-validate/SKILL.md +0 -112
- package/skills/fsc-digital-origination-initial-setup-configure/SKILL.md +0 -396
- package/skills/fsc-digital-origination-pricing-setup-coordinate/SKILL.md +0 -336
- package/skills/fsc-digital-origination-pricing-setup-data-foundation-create/SKILL.md +0 -208
- package/skills/fsc-digital-origination-pricing-setup-procedure-create/SKILL.md +0 -375
- package/skills/fsc-digital-origination-product-setup-act1-permissions-assign/SKILL.md +0 -83
- package/skills/fsc-digital-origination-product-setup-coordinate/SKILL.md +0 -248
- package/skills/fsc-digital-origination-sample-data-create/SKILL.md +0 -206
- package/skills/fsc-document-checklist-settings-configure/SKILL.md +0 -57
- package/skills/fsc-flexible-hierarchy-configure/SKILL.md +0 -148
- package/skills/fsc-flexible-hierarchy-foundation-configure/SKILL.md +0 -1430
- package/skills/fsc-flexible-hierarchy-graph-config-create/SKILL.md +0 -471
- package/skills/fsc-flexible-hierarchy-rule-based-graph-deploy/SKILL.md +0 -429
- package/skills/fsc-pricing-product-configurator-configure/SKILL.md +0 -150
- package/skills/fsc-pricing-salesforce-omnistudio-switch/SKILL.md +0 -123
- package/skills/fsc-product-act2-catalog-categories-create/SKILL.md +0 -82
- package/skills/fsc-product-act3-attributes-create/SKILL.md +0 -249
- package/skills/fsc-product-act4-classification-assignment-create/SKILL.md +0 -196
- package/skills/fsc-product-act5-considerations-get/SKILL.md +0 -44
- package/skills/fsc-stage-management-apex-flow-deploy/SKILL.md +0 -384
- package/skills/fsc-stage-management-compliant-data-sharing-configure/SKILL.md +0 -144
- package/skills/fsc-stage-management-decision-matrices-create/SKILL.md +0 -107
- package/skills/fsc-stage-management-definition-assignments-create/SKILL.md +0 -189
- package/skills/fsc-stage-management-definition-create/SKILL.md +0 -108
- package/skills/fsc-stage-management-permissions-assign/SKILL.md +0 -143
- package/skills/fsc-stage-management-transitions-configure/SKILL.md +0 -139
- package/skills/health-cloud-appt-booking-config-configure/SKILL.md +0 -135
- package/skills/health-cloud-appt-booking-url-config-configure/SKILL.md +0 -134
- package/skills/health-cloud-care-provider-affl-role-config-configure/SKILL.md +0 -136
- package/skills/health-cloud-care-provider-search-config-configure/SKILL.md +0 -134
- package/skills/health-cloud-care-requests-create/SKILL.md +0 -178
- package/skills/health-cloud-initial-configure/SKILL.md +0 -511
- package/skills/health-cloud-patient-appointment-scheduling-configure/SKILL.md +0 -1374
- package/skills/health-cloud-provider-search-settings-configure/SKILL.md +0 -924
- package/skills/health-cloud-referral-management-coordinate/SKILL.md +0 -513
- package/skills/health-cloud-timeline-configure/SKILL.md +0 -622
- package/skills/health-cloud-virtual-visit-config-configure/SKILL.md +0 -135
- package/skills/industries-account-score-settings-query/SKILL.md +0 -78
- package/skills/industries-actionable-list-data-sources-dmo-configure/SKILL.md +0 -177
- package/skills/industries-ad-product-availability-search/SKILL.md +0 -399
- package/skills/industries-advanced-account-forecast-settings-configure/SKILL.md +0 -628
- package/skills/industries-advanced-therapy-management-settings-configure/SKILL.md +0 -73
- package/skills/industries-atm-settings-starter-configure/SKILL.md +0 -76
- package/skills/industries-batch-document-ai-configure/SKILL.md +0 -196
- package/skills/industries-behavioral-health-app-settings-configure/SKILL.md +0 -71
- package/skills/industries-branch-management-settings-configure/SKILL.md +0 -89
- package/skills/industries-bre-decision-table-access-configure/SKILL.md +0 -367
- package/skills/industries-brokerage-settings-configure/SKILL.md +0 -41
- package/skills/industries-calendar-sync-settings-configure/SKILL.md +0 -89
- package/skills/industries-care-request-settings-configure/SKILL.md +0 -218
- package/skills/industries-case-management-intelligence-settings-configure/SKILL.md +0 -54
- package/skills/industries-catalog-process-attributes-products-configure/SKILL.md +0 -380
- package/skills/industries-catalog-process-fulfillment-configure/SKILL.md +0 -216
- package/skills/industries-catalog-process-intake-configure/SKILL.md +0 -219
- package/skills/industries-catalog-process-knowledge-configure/SKILL.md +0 -153
- package/skills/industries-catalog-process-preprocessor-configure/SKILL.md +0 -168
- package/skills/industries-cds-general-settings-configure/SKILL.md +0 -69
- package/skills/industries-claim-financial-settings-configure/SKILL.md +0 -169
- package/skills/industries-clinical-data-model-settings-configure/SKILL.md +0 -136
- package/skills/industries-clinical-data-model-settings-starter-configure/SKILL.md +0 -105
- package/skills/industries-collection-plan-settings-configure/SKILL.md +0 -132
- package/skills/industries-comms-service-console-settings-configure/SKILL.md +0 -159
- package/skills/industries-compliance-configure/SKILL.md +0 -102
- package/skills/industries-compliance-document-extraction-setup-configure/SKILL.md +0 -76
- package/skills/industries-contact-center-app-layout-configure/SKILL.md +0 -88
- package/skills/industries-contact-center-components-configure/SKILL.md +0 -96
- package/skills/industries-contact-center-path-knowledge-configure/SKILL.md +0 -95
- package/skills/industries-contact-center-user-access-assign/SKILL.md +0 -96
- package/skills/industries-course-waitlist-config-configure/SKILL.md +0 -162
- package/skills/industries-crisis-center-settings-configure/SKILL.md +0 -84
- package/skills/industries-custom-object-settings-configure/SKILL.md +0 -94
- package/skills/industries-data-cloud-integration-configure/SKILL.md +0 -88
- package/skills/industries-data-space-feature-mappings-configure/SKILL.md +0 -245
- package/skills/industries-decision-matrix-builder-configure/SKILL.md +0 -78
- package/skills/industries-decision-table-hbase-configure/SKILL.md +0 -87
- package/skills/industries-decision-table-version-configure/SKILL.md +0 -74
- package/skills/industries-decision-tables-builder-configure/SKILL.md +0 -253
- package/skills/industries-decision-tables-configure/SKILL.md +0 -439
- package/skills/industries-energy-utilities-configure/SKILL.md +0 -251
- package/skills/industries-eu-cloud-multisite-configure/SKILL.md +0 -1008
- package/skills/industries-eu-new-connections-configure/SKILL.md +0 -30
- package/skills/industries-explainability-msg-template-configure/SKILL.md +0 -135
- package/skills/industries-expression-set-message-token-configure/SKILL.md +0 -135
- package/skills/industries-field-service-settings-configure/SKILL.md +0 -82
- package/skills/industries-form-framework-settings-configure/SKILL.md +0 -30
- package/skills/industries-fsc-ai-settings-configure/SKILL.md +0 -57
- package/skills/industries-fsc-association-engine-settings-configure/SKILL.md +0 -172
- package/skills/industries-fsc-b2b-settings-configure/SKILL.md +0 -61
- package/skills/industries-fsc-insurance-settings-configure/SKILL.md +0 -58
- package/skills/industries-fsc-visa-fulfillment-setup-configure/SKILL.md +0 -103
- package/skills/industries-fsc-wealth-agent-settings-configure/SKILL.md +0 -117
- package/skills/industries-fsc-wealth-settings-configure/SKILL.md +0 -99
- package/skills/industries-fundraising-gift-entry-settings-configure/SKILL.md +0 -120
- package/skills/industries-fundraising-rfm-configure/SKILL.md +0 -128
- package/skills/industries-fundraising-settings-configure/SKILL.md +0 -145
- package/skills/industries-fundraising-source-code-gen-configure/SKILL.md +0 -299
- package/skills/industries-google-maps-api-key-settings-configure/SKILL.md +0 -87
- package/skills/industries-grantmaking-intelligence-settings-open/SKILL.md +0 -58
- package/skills/industries-hc-score-category-settings-configure/SKILL.md +0 -167
- package/skills/industries-health-engagement-settings-configure/SKILL.md +0 -218
- package/skills/industries-home-health-agentforce-setup-configure/SKILL.md +0 -131
- package/skills/industries-home-health-bundling-policy-create/SKILL.md +0 -50
- package/skills/industries-home-health-entity-labels-configure/SKILL.md +0 -29
- package/skills/industries-home-health-fsl-package-deploy/SKILL.md +0 -71
- package/skills/industries-home-health-fsl-settings-validate/SKILL.md +0 -27
- package/skills/industries-home-health-guided-setup-care-and-skill-get/SKILL.md +0 -80
- package/skills/industries-home-health-guided-setup-configure/SKILL.md +0 -836
- package/skills/industries-home-health-guided-setup-enable-org-fsl-get/SKILL.md +0 -55
- package/skills/industries-home-health-guided-setup-get-org-ready-get/SKILL.md +0 -61
- package/skills/industries-home-health-licenses-assign/SKILL.md +0 -27
- package/skills/industries-home-health-operating-hours-create/SKILL.md +0 -40
- package/skills/industries-home-health-scheduling-policy-create/SKILL.md +0 -41
- package/skills/industries-home-health-service-objective-create/SKILL.md +0 -22
- package/skills/industries-home-health-skills-create/SKILL.md +0 -31
- package/skills/industries-home-health-users-create/SKILL.md +0 -29
- package/skills/industries-icm-act3-toggles-configure/SKILL.md +0 -198
- package/skills/industries-icm-act5-genai-suggested-assessments-configure/SKILL.md +0 -361
- package/skills/industries-icm-act6-mcg-integration-configure/SKILL.md +0 -550
- package/skills/industries-integrated-care-management-configure/SKILL.md +0 -168
- package/skills/industries-object-enablement-configure/SKILL.md +0 -86
- package/skills/industries-tpm-system-processing-service-configure/SKILL.md +0 -64
- package/skills/integration-apex-settings-configure/SKILL.md +0 -61
- package/skills/marketing-e360-email-archiving-configure/SKILL.md +0 -73
- package/skills/platform-custom-permissions-configure/SKILL.md +0 -687
- package/skills/platform-label-workbench-import-create/SKILL.md +0 -67
- package/skills/platform-privacy-agent-settings-configure/SKILL.md +0 -752
|
@@ -1,389 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: consumer-goods-visit-activity-act9-proof-validate
|
|
3
|
-
description: "Act 9 of 9: THE PROOF BEAT - verifies the end-to-end chain worked: each visit created in Act 8 carries the activity, its store-level questions, and its store's products. Uses Connect APIs (store-check, product-survey) per visitId — iterating the visits from Act 8. Depends on Act 8. Final act of the 9-Act Retail Execution steel thread."
|
|
4
|
-
metadata:
|
|
5
|
-
version: "1.0"
|
|
6
|
-
cliTools:
|
|
7
|
-
- tool:
|
|
8
|
-
- "sf"
|
|
9
|
-
semver: ">=2.0.0"
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
# Act 9: Verify the Merchandiser Gets the Activity (THE PROOF BEAT)
|
|
13
|
-
|
|
14
|
-
**Part of:** [9-Act Retail Execution Steel Thread](../../README.md)
|
|
15
|
-
**Depends on:** [Act 8 - Plan Visits & Attach](../act8-plan-and-attach/SKILL.md)
|
|
16
|
-
**Enables:** Mobile execution (steel thread complete)
|
|
17
|
-
|
|
18
|
-
**Act 9 is the FINAL act — the proof beat for the whole setup. You MUST have completed Act 8 (plan visits & attach) first — at least one visit must exist with the activity attached. Skip only if you'll verify manually later; but if Act 9 passes, the merchandiser can execute the visit in the mobile app with full context.**
|
|
19
|
-
|
|
20
|
-
---
|
|
21
|
-
|
|
22
|
-
## Goal
|
|
23
|
-
|
|
24
|
-
Prove the chain works end-to-end: from Visit Specification (Act 1) through Activity Definition (Act 3), Questions (Act 4), Assortments (Act 6), Scoping (Act 7), to Visit Planning & Attachment (Act 8). For each visit created in Act 8, verify the visit actually carries the activity, with its store-level questions and that store's products, inside the validity window.
|
|
25
|
-
|
|
26
|
-
**Builder's intent:** "Prove it. Show me a rep's visit actually carries the promo activity, with its questions and that store's products, inside the window."
|
|
27
|
-
|
|
28
|
-
**What you'll create:**
|
|
29
|
-
1. Nothing — this Act is **read-only**. It runs verification calls (Connect APIs) and produces a pass/fail verification report.
|
|
30
|
-
|
|
31
|
-
**Definition of done:** End-to-end verification complete — each Act 8 visit carries the activity, its store-level questions, and store-specific products, inside the validity window. Ready to execute in the Retail Execution mobile app.
|
|
32
|
-
|
|
33
|
-
---
|
|
34
|
-
|
|
35
|
-
## What this Act does
|
|
36
|
-
|
|
37
|
-
This is **Act 9** (FINAL) of the visit-and-activity-setup orchestration — the **PROOF BEAT** that verifies the entire chain composed correctly. Iterating **per visit created in Act 8** (whose Ids are already in memory from Act 8 — do NOT re-discover them with a SOQL query), it confirms for each visit:
|
|
38
|
-
|
|
39
|
-
1. **The activity is attached** — `store-check` returns the visit context with the activity on `taskDefinitions[]`.
|
|
40
|
-
2. **Store-level questions are present** — the visit-level questions where `assessmentContext = "Store"`.
|
|
41
|
-
3. **Product rows carry the assessment** — `product-survey` returns the store's products, and at least one product carries an assessment task (`taskDefinitions[]`) with its corresponding AIDs; the product-level indicators where `assessmentContext = "StoreInStore"` are present.
|
|
42
|
-
4. **Validity window is honored** — the visit's `plannedVisitStartTime` is within the activity's `validFrom`/`validTo` (both already in memory from Act 3).
|
|
43
|
-
|
|
44
|
-
It uses **two Connect APIs**, both keyed on `visitId`: `store-check` (visit context + activity attachment + store-level questions) and `product-survey` (store-specific product rows + product-level indicators).
|
|
45
|
-
|
|
46
|
-
**Builder's mental model:** "Prove it. Show me a rep's visit actually carries the promo activity, with its questions and that store's products, inside the window."
|
|
47
|
-
|
|
48
|
-
---
|
|
49
|
-
|
|
50
|
-
## When to use
|
|
51
|
-
|
|
52
|
-
**Invoke this skill when:**
|
|
53
|
-
- You've completed Act 8 (plan visits & attach) and want to prove the setup works.
|
|
54
|
-
- Before handing off to field merchandisers — the final gate before mobile execution.
|
|
55
|
-
- The user asks to "verify", "prove it works", "check the merchandiser gets the activity", or "run the proof beat".
|
|
56
|
-
|
|
57
|
-
**Trigger phrases:**
|
|
58
|
-
- "Prove the whole thing works"
|
|
59
|
-
- "Verify the merchandiser gets the activity"
|
|
60
|
-
- "Run the end-to-end check"
|
|
61
|
-
- "Act 9" or "verification" or "proof beat"
|
|
62
|
-
|
|
63
|
-
**Skip this Act when:**
|
|
64
|
-
- You'll verify manually later (e.g., directly in the mobile app).
|
|
65
|
-
- You only ran a partial setup and aren't ready to prove the full chain.
|
|
66
|
-
|
|
67
|
-
---
|
|
68
|
-
|
|
69
|
-
## Prerequisites
|
|
70
|
-
|
|
71
|
-
| Act | Artifact | Required For |
|
|
72
|
-
|-----|----------|--------------|
|
|
73
|
-
| Act 8 | At least one visit with the activity attached (visit Ids in memory) | There must be something to verify |
|
|
74
|
-
| Act 3 | Activity validity window (`validFrom`/`validTo` in memory) | Validity-window check |
|
|
75
|
-
| Act 4 | Merchandiser name + user Id already known | Reporting only — no SOQL lookup |
|
|
76
|
-
|
|
77
|
-
**The merchandiser is already known.** The merchandiser's name and user Id are carried in memory from the prior acts — Act 9 does NOT look them up by email or user Id, and does NOT query visits by user. Verification runs **per `visitId`**, iterating the visits Act 8 created.
|
|
78
|
-
|
|
79
|
-
**Activity validity window includes the visit dates** — if a visit's `plannedVisitStartTime` falls outside the activity's `validFrom`/`validTo`, the activity won't show for that visit. Adjust the validity window in Act 3 or re-plan the visit in Act 8.
|
|
80
|
-
|
|
81
|
-
**Standard survey activities must exist for the SAME Internal Org Unit** — `product-survey` requires the org's standard survey activities (Facing, Price Survey, Distribution) to be configured **on the activity's own IOU**. These are discovered through a **standard template** — an `AsmtTskDefTmpl` with `IsStandardTask = true` scoped to that IOU — with a standard product-check `AssessmentTaskDefinition` (`IsStandardTask = true`) beneath it whose `StoreInStore` indicators carry `AssessmentKpi = Facing` / `PriceSurvey` / `Distribution`. **A standard template configured on a *different* IOU does not count** — the API resolves them per-IOU. If they're absent for this IOU, `product-survey` returns:
|
|
82
|
-
|
|
83
|
-
```json
|
|
84
|
-
[{"errorCode": "RESOURCE_NOT_FOUND",
|
|
85
|
-
"message": "Facing, price survey, and distribution are required standard survey activities. Ask your Salesforce admin to configure them."}]
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
This is an **org/admin provisioning prerequisite owned upstream** (not something Acts 1–8 create). If you hit this error, surface it as a gap for the Salesforce admin — name the IOU that lacks a standard survey template and stop the product-survey check for that visit. Do **not** fabricate the standard template/activities to work around it.
|
|
89
|
-
|
|
90
|
-
---
|
|
91
|
-
|
|
92
|
-
## Inputs
|
|
93
|
-
|
|
94
|
-
Received from previous Acts (orchestrator integration):
|
|
95
|
-
```yaml
|
|
96
|
-
activityName: "Q1 Promotion Compliance" # from Act 3
|
|
97
|
-
validFrom: "2026-03-01" # from Act 3
|
|
98
|
-
validTo: "2026-03-14" # from Act 3
|
|
99
|
-
visitIds: ["0Z5...", "0Z5..."] # from Act 8 — the visits to verify
|
|
100
|
-
merchandiserName: "..." # from prior acts (reporting only)
|
|
101
|
-
merchandiserUserId: "005..." # from prior acts (reporting only)
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
**Expected output** (returned to orchestrator):
|
|
105
|
-
```yaml
|
|
106
|
-
verificationPassed: true
|
|
107
|
-
visitsVerified: 2 # count of Act 8 visits that passed
|
|
108
|
-
activityAttached: true # activity on every verified visit
|
|
109
|
-
storeQuestionsPresent: true # assessmentContext = "Store" indicators present
|
|
110
|
-
productAssessmentPresent: true # ≥1 product carries an assessment task + AIDs
|
|
111
|
-
validityWindowHonored: true
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
### Key Concepts (reference before executing)
|
|
115
|
-
|
|
116
|
-
**End-to-end verification** — a read-only, per-`visitId` sweep that confirms every prior Act composed correctly. Critical points:
|
|
117
|
-
|
|
118
|
-
- **Two Connect APIs, both keyed on `visitId`:**
|
|
119
|
-
- **store-check** — `GET /services/data/v68.0/connect/industries/retail/visit-execution/store-check?visitId=...` — returns the visit context, the activity attachment on `taskDefinitions[]`, and the store-level questions. Verify the indicators where `assessmentContext = "Store"`.
|
|
120
|
-
- **product-survey** — `GET /services/data/v68.0/connect/industries/retail/visit-execution/product-survey?visitId=...` — returns the store's product rows. Verify the indicators where `assessmentContext = "StoreInStore"`, and confirm at least one product carries an assessment task (`taskDefinitions[]`) with its corresponding AIDs.
|
|
121
|
-
- **`assessmentContext` scopes what to verify** — store-level questions carry `assessmentContext = "Store"` (verified on `store-check`); product-level indicators carry `assessmentContext = "StoreInStore"` (verified on `product-survey`). Verify only the context that belongs to each call.
|
|
122
|
-
- **Product detail is NOT validated** — there is no source of truth for exact product names or counts, so do NOT assert specific SKUs, counts, or per-store differences. The only product assertion is presence: at least one product carries an assessment task with its AIDs.
|
|
123
|
-
- **All calls are read-only** — no create/update/delete, no MDAPI/metadata.
|
|
124
|
-
|
|
125
|
-
**Connect API response shapes (v68.0):**
|
|
126
|
-
|
|
127
|
-
*store-check* — returns the visit context and a `metadata` roll-up (task/indicator counts). When a **store-level** activity (`assessmentContext = "Store"`) is attached, its questions surface under `taskDefinitions[].indicatorDefinitions[]`; when none is attached, `taskDefinitions[]` is empty and `metadata.totalTaskDefinitions` is `0`:
|
|
128
|
-
```json
|
|
129
|
-
{
|
|
130
|
-
"accountId": "001...",
|
|
131
|
-
"internalOrganizationUnitId": "0gJ...",
|
|
132
|
-
"metadata": {
|
|
133
|
-
"answeredIndicatorDefinitions": 0,
|
|
134
|
-
"mandatoryIndicatorDefinitions": 0,
|
|
135
|
-
"totalIndicatorDefinitions": 1,
|
|
136
|
-
"totalTaskDefinitions": 1
|
|
137
|
-
},
|
|
138
|
-
"plannedVisitStartTime": "2026-03-03T09:00:00.000Z",
|
|
139
|
-
"plannedVisitEndTime": "2026-03-03T19:00:00.000Z",
|
|
140
|
-
"responseStatus": null,
|
|
141
|
-
"taskDefinitions": [
|
|
142
|
-
{
|
|
143
|
-
"assessmentTaskDefinitionId": "0Z4...",
|
|
144
|
-
"description": "Promo Compliance Check",
|
|
145
|
-
"indicatorDefinitions": [
|
|
146
|
-
{
|
|
147
|
-
"assessmentIndDefinitionId": "0eu...",
|
|
148
|
-
"assessmentTaskIndDefinitionId": "0dt...",
|
|
149
|
-
"assessmentKpi": "Display Up?",
|
|
150
|
-
"assessmentContext": "Store",
|
|
151
|
-
"dataType": "Boolean",
|
|
152
|
-
"displayOrder": 1
|
|
153
|
-
}
|
|
154
|
-
]
|
|
155
|
-
}
|
|
156
|
-
],
|
|
157
|
-
"visitDate": "2026-03-03",
|
|
158
|
-
"visitId": "0Z5...",
|
|
159
|
-
"visitSpecId": "1cb...",
|
|
160
|
-
"visitSpecName": "visit execution"
|
|
161
|
-
}
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
> The populated `taskDefinitions[]`/`indicatorDefinitions[]` block above is the **expected shape** when a store-level activity is attached; its field names mirror product-survey's (below), differing only in `assessmentContext = "Store"`. If no store-context activity is attached, store-check returns `"taskDefinitions": []` with `totalTaskDefinitions: 0` — that is a data state (nothing to verify at the store level), not an API failure.
|
|
165
|
-
|
|
166
|
-
*product-survey* — returns the visit context, a `metadata` roll-up with `totalProducts`, and a `products[]` array; each product carries `taskDefinitions[].indicatorDefinitions[]` (the product-level KPI questions, `assessmentContext = "StoreInStore"`) with their AIDs. This block is an **actual org payload** (v68.0), trimmed to the fields that matter for verification:
|
|
167
|
-
```json
|
|
168
|
-
{
|
|
169
|
-
"accountId": "001...",
|
|
170
|
-
"internalOrganizationUnitId": "0gJ...",
|
|
171
|
-
"metadata": {
|
|
172
|
-
"answeredIndicatorDefinitions": 0,
|
|
173
|
-
"totalIndicatorDefinitions": 3,
|
|
174
|
-
"totalProducts": 4,
|
|
175
|
-
"totalTaskDefinitions": 1
|
|
176
|
-
},
|
|
177
|
-
"products": [
|
|
178
|
-
{
|
|
179
|
-
"productId": "01t...",
|
|
180
|
-
"productCategory": "Beverages",
|
|
181
|
-
"productSource": "Assortment",
|
|
182
|
-
"computedFields": { "Product2.Name": "Product1" },
|
|
183
|
-
"taskDefinitions": [
|
|
184
|
-
{
|
|
185
|
-
"assessmentTaskDefinitionId": "0Z4LT00000002OR0AY",
|
|
186
|
-
"assessmentTaskId": null,
|
|
187
|
-
"description": "ATD Product Check Standard",
|
|
188
|
-
"displayOrder": 0,
|
|
189
|
-
"isStandardTask": true,
|
|
190
|
-
"taskType": "InventoryCheck",
|
|
191
|
-
"indicatorDefinitions": [
|
|
192
|
-
{
|
|
193
|
-
"assessmentIndDefinitionId": "0euLT00000006vAYAQ",
|
|
194
|
-
"assessmentTaskIndDefinitionId": "0dtLT000000S6XDYA0",
|
|
195
|
-
"assessmentKpi": "Facing",
|
|
196
|
-
"assessmentContext": "StoreInStore",
|
|
197
|
-
"dataType": "String",
|
|
198
|
-
"displayOrder": 1
|
|
199
|
-
}
|
|
200
|
-
// ... Distribution, PriceSurvey (same shape, assessmentContext = "StoreInStore")
|
|
201
|
-
]
|
|
202
|
-
}
|
|
203
|
-
]
|
|
204
|
-
}
|
|
205
|
-
// ... more products (Coca Cola, Limca, Pepsi — productSource "Planned" or "Assortment")
|
|
206
|
-
],
|
|
207
|
-
"visitId": "0Z5...",
|
|
208
|
-
"visitSpecId": "1cb..."
|
|
209
|
-
}
|
|
210
|
-
```
|
|
211
|
-
|
|
212
|
-
The AIDs on each indicator are `assessmentTaskDefinitionId` (the ATD), `assessmentIndDefinitionId`, and `assessmentTaskIndDefinitionId` — whichever the payload carries. Note `assessmentTaskId` is `null` here (the ATD/indicator *definitions* are surfaced, not per-run `AssessmentTask` records).
|
|
213
|
-
|
|
214
|
-
---
|
|
215
|
-
|
|
216
|
-
## Step-by-step procedure
|
|
217
|
-
|
|
218
|
-
### Step 1: Authenticate
|
|
219
|
-
|
|
220
|
-
Confirm you're pointed at the right org:
|
|
221
|
-
|
|
222
|
-
```bash
|
|
223
|
-
sf org display --target-org <org-alias>
|
|
224
|
-
```
|
|
225
|
-
|
|
226
|
-
The merchandiser's name and user Id are already in memory from the prior acts. The visit Ids to verify come from Act 8 (in memory). Iterate over each `visitId` and run Steps 2–4 per visit.
|
|
227
|
-
|
|
228
|
-
### Step 2: Verify the activity + store-level questions via store-check
|
|
229
|
-
|
|
230
|
-
For each Act 8 `visitId`, call `store-check`:
|
|
231
|
-
|
|
232
|
-
```bash
|
|
233
|
-
GET /services/data/v68.0/connect/industries/retail/visit-execution/store-check?visitId=0Z5xx0000000000AAA
|
|
234
|
-
```
|
|
235
|
-
|
|
236
|
-
From the response (see the shape in Key Concepts):
|
|
237
|
-
- Confirm the **activity is attached** — `taskDefinitions[]` is non-empty (or `metadata.totalTaskDefinitions ≥ 1`) and an entry's `description` matches the activity name from Act 3.
|
|
238
|
-
- Confirm the **store-level questions are present** — under `taskDefinitions[].indicatorDefinitions[]`, verify the indicators where **`assessmentContext = "Store"`** (e.g., "Display Up?"). Verify only the `"Store"` context here.
|
|
239
|
-
|
|
240
|
-
**Verification checklist (per visit):**
|
|
241
|
-
- [ ] `store-check` returns the visit context
|
|
242
|
-
- [ ] Activity is attached (`taskDefinitions[]` non-empty; `description` matches the Act 3 activity)
|
|
243
|
-
- [ ] At least one indicator with `assessmentContext = "Store"` is present
|
|
244
|
-
|
|
245
|
-
### Step 3: Verify products + assessment via product-survey
|
|
246
|
-
|
|
247
|
-
For the same `visitId`, call `product-survey`:
|
|
248
|
-
|
|
249
|
-
```bash
|
|
250
|
-
GET /services/data/v68.0/connect/industries/retail/visit-execution/product-survey?visitId=0Z5xx0000000000AAA
|
|
251
|
-
```
|
|
252
|
-
|
|
253
|
-
From the response:
|
|
254
|
-
- Confirm **at least one product carries the assessment** — some entry in `products[]` has a non-empty `taskDefinitions[]`, and that task carries its corresponding AIDs: the ATD (`assessmentTaskDefinitionId`), the indicator definition (`assessmentIndDefinitionId`), and the task-indicator definition (`assessmentTaskIndDefinitionId`). These are the *definition* IDs; `assessmentTaskId` is `null` until the per-run `AssessmentTask` is created during mobile execution — so verify the definition AIDs, not `assessmentTaskId`.
|
|
255
|
-
- Confirm the **product-level indicators** where **`assessmentContext = "StoreInStore"`** are present under those `taskDefinitions[].indicatorDefinitions[]`. Verify only the `"StoreInStore"` context here.
|
|
256
|
-
- **Do NOT** validate specific product names, counts, or per-store differences — there is no source of truth for product detail. Presence of the assessment + its definition AIDs is the assertion.
|
|
257
|
-
|
|
258
|
-
**Verification checklist (per visit):**
|
|
259
|
-
- [ ] `product-survey` returns product rows (`metadata.totalProducts` > 0)
|
|
260
|
-
- [ ] At least one product carries an assessment task (`taskDefinitions[]`) with its definition AIDs
|
|
261
|
-
- [ ] At least one indicator with `assessmentContext = "StoreInStore"` is present
|
|
262
|
-
|
|
263
|
-
### Step 4: Verify the validity window is honored
|
|
264
|
-
|
|
265
|
-
Using the `plannedVisitStartTime` returned by `store-check` (Step 2) and the activity's `validFrom`/`validTo` (already in memory from Act 3), confirm the visit falls inside the window — no query required:
|
|
266
|
-
|
|
267
|
-
- `plannedVisitStartTime >= validFrom`
|
|
268
|
-
- `plannedVisitStartTime <= validTo`
|
|
269
|
-
|
|
270
|
-
**Verification checklist (per visit):**
|
|
271
|
-
- [ ] `plannedVisitStartTime` is within `validFrom`/`validTo`
|
|
272
|
-
|
|
273
|
-
Repeat Steps 2–4 for every visit Id carried from Act 8.
|
|
274
|
-
|
|
275
|
-
---
|
|
276
|
-
|
|
277
|
-
## Validation
|
|
278
|
-
|
|
279
|
-
Confirm the checks pass for every Act 8 visit, using the two Connect APIs.
|
|
280
|
-
|
|
281
|
-
### Success Criteria
|
|
282
|
-
|
|
283
|
-
Act 9 is complete when, for each visit created in Act 8, ALL of the following are verified:
|
|
284
|
-
|
|
285
|
-
1. ✓ **Activity is attached** — `store-check` returns the visit with the activity on `taskDefinitions[]` (matching the Act 3 activity).
|
|
286
|
-
2. ✓ **Store-level questions are present** — at least one `store-check` indicator with `assessmentContext = "Store"`.
|
|
287
|
-
3. ✓ **Product assessment is present** — `product-survey` returns product rows and at least one product carries an assessment task (`taskDefinitions[]`) with its corresponding AIDs, plus at least one indicator with `assessmentContext = "StoreInStore"`.
|
|
288
|
-
4. ✓ **Validity window is honored** — the visit's `plannedVisitStartTime` is within the activity's `validFrom`/`validTo`.
|
|
289
|
-
|
|
290
|
-
**Failure patterns (surface as gaps)** — if any of these are true for a visit, Act 9 has NOT passed for that visit:
|
|
291
|
-
|
|
292
|
-
| Condition | Gap Type | Surface As |
|
|
293
|
-
|-----------|----------|------------|
|
|
294
|
-
| Activity not attached to visit | **Critical** | "Activity '<activity name>' not attached to visit <visitId>. Verify Visit Spec match (Act 1, Act 3) and validity window (Act 3, Act 8)." |
|
|
295
|
-
| No store-level questions (`assessmentContext = "Store"`) | **Critical** | "No store-level questions on visit <visitId>. Return to Act 4 and add the visit-level question(s)." |
|
|
296
|
-
| No product assessment (no product carries a task/AIDs, or no `StoreInStore` indicators) | **High** | "No product-level assessment for visit <visitId>. Verify the store's assortment (Act 6) and that the activity includes assortments (Act 3)." |
|
|
297
|
-
| `product-survey` returns `RESOURCE_NOT_FOUND` — "Facing, price survey, and distribution are required standard survey activities" | **High** (org prerequisite) | "The activity's Internal Org Unit <iouId> has no standard survey template. Ask your Salesforce admin to configure the standard survey activities (Facing/PriceSurvey/Distribution) for THIS IOU — a template on another IOU does not apply. Do not fabricate them." |
|
|
298
|
-
| Visit outside validity window | **Critical** | "Visit <visitId> plannedVisitStartTime is outside the activity validFrom/validTo range. Extend the window (Act 3) or re-plan the visit (Act 8)." |
|
|
299
|
-
|
|
300
|
-
---
|
|
301
|
-
|
|
302
|
-
## End state
|
|
303
|
-
|
|
304
|
-
After completing Act 9, for each Act 8 visit:
|
|
305
|
-
|
|
306
|
-
- ✅ **Visit carries the activity** — verified via `store-check` `taskDefinitions[]`.
|
|
307
|
-
- ✅ **Store-level questions present** — indicators with `assessmentContext = "Store"` (e.g., "Display Up?").
|
|
308
|
-
- ✅ **Product assessment present** — at least one product carries an assessment task with its AIDs, and product-level indicators with `assessmentContext = "StoreInStore"` are present.
|
|
309
|
-
- ✅ **Visit is within the validity window** — `plannedVisitStartTime` is between `validFrom` and `validTo`.
|
|
310
|
-
|
|
311
|
-
```text
|
|
312
|
-
✅ Act 9 Complete: End-to-end verification passed!
|
|
313
|
-
|
|
314
|
-
Summary (per Act 8 visit):
|
|
315
|
-
• Activity: "Promo Compliance Check" attached to every verified visit
|
|
316
|
-
• Store-level questions: present (assessmentContext = "Store")
|
|
317
|
-
• Product assessment: present (≥1 product carries a task + AIDs; StoreInStore indicators present)
|
|
318
|
-
• Validity Window: honored (visits within validFrom/validTo)
|
|
319
|
-
|
|
320
|
-
🎉 THE STEEL THREAD IS COMPLETE!
|
|
321
|
-
```
|
|
322
|
-
|
|
323
|
-
**Finish line:** The merchandiser can now open the Retail Execution mobile app, see the visit in their schedule, tap into it, and find the activity with its questions and products ready to capture data.
|
|
324
|
-
|
|
325
|
-
**This IS the last Act — the full 9-Act setup is DONE.**
|
|
326
|
-
|
|
327
|
-
**Out of scope / deferred** (set expectations — NOT part of Act 9):
|
|
328
|
-
- **Mobile app execution** — Act 9 only verifies the data is in place; tapping buttons in the app is out of scope.
|
|
329
|
-
- **Data capture and sync** — the app writes captured answers (`AssessmentIndValue`) during execution; Act 9 doesn't create these.
|
|
330
|
-
- **Reporting and analytics** — reports/dashboards on completion rates, answer distributions, and product compliance are a separate workstream.
|
|
331
|
-
- **Assignment** — merchandiser-to-account assignment (`AccountTeamMemberPeriod`) is owned upstream and verified in Act 8; Act 9 does not re-check it.
|
|
332
|
-
- **Product-detail validation** — exact product names, counts, and per-store differences are not asserted (no source of truth).
|
|
333
|
-
|
|
334
|
-
---
|
|
335
|
-
|
|
336
|
-
## Notes: best practices & architecture
|
|
337
|
-
|
|
338
|
-
**This Act is read-only — no create/update/delete, no MDAPI/metadata.** The proof beat observes; it never mutates.
|
|
339
|
-
|
|
340
|
-
**Verification runs per `visitId` through the two Connect APIs** (`store-check`, `product-survey`). Iterate the visit Ids from Act 8 — do NOT re-discover visits with a SOQL query, and do NOT look up the merchandiser (name and user Id are already in memory from the prior acts).
|
|
341
|
-
|
|
342
|
-
**`assessmentContext` scopes each check.** Verify `assessmentContext = "Store"` indicators on `store-check`, and `assessmentContext = "StoreInStore"` indicators on `product-survey`. Confirm at least one product carries an assessment task with its AIDs; do not assert product names or counts.
|
|
343
|
-
|
|
344
|
-
**Where verification sits in the lifecycle:**
|
|
345
|
-
```text
|
|
346
|
-
Plan Visits & Attach (Act 8) → Verification (this act) → Mobile execution (out of scope)
|
|
347
|
-
↑ read-only proof beat AssessmentIndValue / sync
|
|
348
|
-
```
|
|
349
|
-
|
|
350
|
-
**Agent implementation flow:** take the visit Ids from Act 8 → for each `visitId`, call `store-check` (confirm activity attachment + `assessmentContext = "Store"` questions) → call `product-survey` (confirm ≥1 product carries an assessment task + AIDs and `assessmentContext = "StoreInStore"` indicators) → check the validity window from the returned `plannedVisitStartTime` against `validFrom`/`validTo` in memory → return `verificationPassed`, `visitsVerified`, and any failures to the orchestrator. Typical progress narration:
|
|
351
|
-
|
|
352
|
-
```text
|
|
353
|
-
⏳ Executing Act 9 verification...
|
|
354
|
-
- Verifying visit 0Z5...AAA via store-check... ✅ Activity attached, "Store" question present
|
|
355
|
-
- Verifying products via product-survey... ✅ Assessment present (StoreInStore indicators + AIDs)
|
|
356
|
-
- Checking validity window... ✅ Within validFrom/validTo
|
|
357
|
-
- Verifying visit 0Z5...BBB via store-check... ✅ Activity attached, "Store" question present
|
|
358
|
-
✅ Act 9 Complete: Verification passed! Ready to execute in mobile app.
|
|
359
|
-
```
|
|
360
|
-
|
|
361
|
-
---
|
|
362
|
-
|
|
363
|
-
## Session state to track & handoff
|
|
364
|
-
|
|
365
|
-
> **Internal only — never print this to the user.** These variables (including `act9_complete`) are orchestration bookkeeping. Track them silently; do **not** echo raw variable names, IDs, or the gate flag into the conversation. When verification finishes, tell the user only a short plain-language confirmation (e.g., "✅ Act 9 done — verified end-to-end; each visit carries the activity, its questions, and store products").
|
|
366
|
-
|
|
367
|
-
This is the final Act — there is no downstream Act to hand off to, but maintain these for orchestration bookkeeping and audit:
|
|
368
|
-
|
|
369
|
-
- `verified_visit_ids` — the Act 8 visit Ids that passed verification.
|
|
370
|
-
- `activity_attached` — boolean; the activity is on every verified visit.
|
|
371
|
-
- `store_questions_present` — boolean; `assessmentContext = "Store"` indicators present.
|
|
372
|
-
- `product_assessment_present` — boolean; ≥1 product carries an assessment task + AIDs and `assessmentContext = "StoreInStore"` indicators present.
|
|
373
|
-
- `validity_window_honored` — boolean; every visit's `plannedVisitStartTime` is within `validFrom`/`validTo`.
|
|
374
|
-
- `act9_complete` — boolean; set to `true` after all verification checks pass for every Act 8 visit.
|
|
375
|
-
|
|
376
|
-
**If `act9_complete = true`, the steel thread is DONE.** The merchandiser can execute the visit in the mobile app.
|
|
377
|
-
|
|
378
|
-
---
|
|
379
|
-
|
|
380
|
-
## References
|
|
381
|
-
|
|
382
|
-
- **Act 1:** [Visit Specification](../act1-visit-specification/SKILL.md) ← The foundational Visit Specification all visits reference
|
|
383
|
-
- **Act 3:** [Activity Definition](../act3-activity-definition/SKILL.md) ← Where the activity's `validFrom`/`validTo` and `VisitSpecId` are set
|
|
384
|
-
- **Act 4:** [Add Questions](../act4-add-questions/SKILL.md) ← Where questions are added to the activity
|
|
385
|
-
- **Act 6:** [Assortment-Based Configuration](../act6-assortment-based/SKILL.md) ← Where store-specific assortments are configured
|
|
386
|
-
- **Act 8:** [Plan Visits & Attach](../act8-plan-and-attach/SKILL.md) ← Attachment path + assignment (prerequisite)
|
|
387
|
-
- **9-Act Steel Thread README:** [../../README.md](../../README.md) ← Full flow
|
|
388
|
-
- **Connect APIs:** `/connect/industries/retail/visit-execution/store-check` and `/product-survey` (v68.0+, if published)
|
|
389
|
-
- **Salesforce Object Reference:** `Visit`, `AssessmentTask`, `AssessmentTaskDefinition`, `AssessmentTaskIndDefinition`
|