@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,92 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: flow-element-start-data-cloud-data-change-triggered
|
|
3
|
+
license: LICENSE.txt has complete terms
|
|
4
|
+
description: "Load when building a Data Cloud-Triggered flow — triggerType `DataCloudDataChange`, processType `AutoLaunchedFlow` — that FIRES when a single Data Cloud DMO record is created or updated. Covers discovering the DMO at runtime (`flowbuilder_get_data_cloud_entities` + entity fields), the start-element shape (`object` = DMO API name, `recordTriggerType`), referencing the changed record via `$Record.<dmoField>` in a downstream Decision, the rule that Create/Update/Delete elements must target a writable SObject (never a DMO), and the hard line vs a data-graph trigger (`DataGraphDataChange`), vs core-SObject record triggers (`RecordAfterSave`/`RecordBeforeSave`/`RecordBeforeDelete`), vs an engagement `AutomationEvent`. DO NOT load for any other trigger type."
|
|
5
|
+
metadata:
|
|
6
|
+
version: "1.0"
|
|
7
|
+
related-skills: flow-element-start, flow-flow-properties
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Data Cloud-Triggered (Single DMO Record Change)
|
|
11
|
+
|
|
12
|
+
Load this when `triggerType` is `DataCloudDataChange`. It is the complete build guide for the Data Cloud-triggered start element; the base `start.md` carries only the routing stub.
|
|
13
|
+
|
|
14
|
+
The whole flow FIRES when a **single Data Cloud Data Model Object (DMO) record** is created or updated — the changed DMO record is exposed to the flow body as `$Record`. This is a record-change trigger on **one** DMO, not on a data graph (multiple related objects) and not on a core CRM SObject.
|
|
15
|
+
|
|
16
|
+
- **triggerType**: `DataCloudDataChange`. Author **`processType: "AutoLaunchedFlow"`** (headless). Do not substitute a core record trigger based on the word "record" in the prompt.
|
|
17
|
+
- The DMO is chosen ON the start element via **`object`** — set to the DMO's bare API name (a `ssot__*__dlm` / `*__dlm` developer name), the same field a core record trigger uses for its SObject.
|
|
18
|
+
- Supports **`recordTriggerType`** `Create`, `CreateAndUpdate`, or `Update` — there is **no `Delete`** for this trigger (unlike a core `RecordBeforeDelete`).
|
|
19
|
+
- Requires a **Data Cloud-provisioned org** and **API version 59.0+**: the `DataCloudDataChange` trigger and DMOs do not exist on a plain org. If the trigger type is not offered, or no DMO matches the user's intent, STOP and tell the user the org is not Data Cloud-provisioned — do NOT fall back to a core record trigger or an engagement event.
|
|
20
|
+
|
|
21
|
+
## Discover the DMO — don't hard-code it
|
|
22
|
+
|
|
23
|
+
The DMO name is org-specific; treat discovery as the source of truth. Do not guess a `ssot__*__dlm` name.
|
|
24
|
+
|
|
25
|
+
1. **List the org's Data Cloud DMOs.** Call the salesforce-flow tool **`flowbuilder_get_data_cloud_entities`** to enumerate the Data Cloud DLM/DMO entities the org exposes (with their capabilities). Match the user's intent (the object whose change should fire the flow) to a row and take its **exact API name** (e.g. `ssot__Opportunity__dlm`). If nothing matches, STOP (see the provisioning note above) — do not substitute a core SObject.
|
|
26
|
+
2. **Set the trigger identity from it.** Put that exact DMO API name in **`start.object`** and set **`recordTriggerType`** (`Create`, `CreateAndUpdate`, or `Update`) from the user's intent.
|
|
27
|
+
3. **Learn the DMO's fields** for `$Record.<field>` references and any entry filters: `dispatch_readonly(method: "GET", url: "/flowbuilder/platform/entity/<the DMO API name>/fields")`. Reference only fields this returns — a field valid on a core SObject may not exist on the DMO.
|
|
28
|
+
|
|
29
|
+
> **Capabilities probe won't list these fields.** The `DataCloudDataChange` start-field shape (`object` + `recordTriggerType` on a DMO) is not advertised by a flow-capabilities / metadata-describe probe — it only surfaces on validation. Build the start from this guide; do NOT conclude the trigger is unsupported just because a capabilities call doesn't enumerate it.
|
|
30
|
+
|
|
31
|
+
## Do NOT confuse with three look-alikes
|
|
32
|
+
|
|
33
|
+
| The user wants… | Use | Where / how the object is set |
|
|
34
|
+
|---|---|---|
|
|
35
|
+
| the flow to **FIRE when a single Data Cloud DMO record** is created/updated | **`DataCloudDataChange`** start (this guide) | `object` = the **DMO** API name (`ssot__*__dlm`) on the **start** |
|
|
36
|
+
| the flow to fire on a **multi-object DATA GRAPH** change | **`DataGraphDataChange`** — NOT this guide (see "Out of scope" below); it is org-gated | `triggeringDataGraph` + `triggeringDataModelObjectPath` on the start |
|
|
37
|
+
| the flow to fire on a **core CRM SObject** create/update/delete (Account, Opportunity, Contact, custom `__c`) | `RecordAfterSave` / `RecordBeforeSave` / `RecordBeforeDelete` — see `start.md` | `object` = the **SObject** API name (never a `__dlm` DMO) |
|
|
38
|
+
| the flow to fire on an **email-engagement event** (open / link click / bounce / response) | `AutomationEvent` — see `automation-event-triggered.md` | `eventName` / `eventType` on the start |
|
|
39
|
+
|
|
40
|
+
A DMO API name ends in `__dlm`; a core SObject does not. If the target ends in `__dlm`, this is `DataCloudDataChange` (single DMO) or `DataGraphDataChange` (a data graph) — never a core record trigger.
|
|
41
|
+
|
|
42
|
+
## Start element shape
|
|
43
|
+
|
|
44
|
+
| Field | Value |
|
|
45
|
+
|---|---|
|
|
46
|
+
| `triggerType` | `"DataCloudDataChange"` |
|
|
47
|
+
| `object` | the triggering DMO's API name — from discovery (e.g. `"ssot__Opportunity__dlm"`) |
|
|
48
|
+
| `recordTriggerType` | `"Create"`, `"CreateAndUpdate"`, or `"Update"` (no `Delete`) |
|
|
49
|
+
| `filters` / `filterLogic` | optional entry criteria on the DMO's fields; omit `filterLogic` when `filters: []` (the no_conditions omission rule — see `start.md`) |
|
|
50
|
+
| `doesRequireRecordChangedToMeetCriteria` | optional; only valid for `Update` / `CreateAndUpdate` |
|
|
51
|
+
| `processType` (flow root) | `"AutoLaunchedFlow"` |
|
|
52
|
+
|
|
53
|
+
```json
|
|
54
|
+
"start": {
|
|
55
|
+
"locationX": 0, "locationY": 0,
|
|
56
|
+
"triggerType": "DataCloudDataChange",
|
|
57
|
+
"object": "ssot__Opportunity__dlm",
|
|
58
|
+
"recordTriggerType": "Create",
|
|
59
|
+
"filters": [],
|
|
60
|
+
"doesRequireRecordChangedToMeetCriteria": false,
|
|
61
|
+
"connector": { "targetReference": "<first element>", "isGoTo": false }
|
|
62
|
+
}
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
*Note: the DMO name above is illustrative — use the exact API name `flowbuilder_get_data_cloud_entities` returns for the org.* A verified reference build saved AND validated cleanly (no `InvalidDraft`) with just `object` + `recordTriggerType` + empty `filters`; no flow-level `dataSpace` was required to save or validate this single-DMO trigger.
|
|
66
|
+
|
|
67
|
+
Do **NOT** emit `triggeringDataGraph` or `triggeringDataModelObjectPath` on a `DataCloudDataChange` start — those fields belong to `DataGraphDataChange` only (see "Out of scope").
|
|
68
|
+
|
|
69
|
+
## `$Record` — the triggering DMO record
|
|
70
|
+
|
|
71
|
+
- `$Record` = the changed DMO record; it is **read-only**.
|
|
72
|
+
- Reference the changed record's fields as **`$Record.<dmoField>`** (e.g. `$Record.ssot__TotalAmount__c`) — use only field API names returned by the entity-fields describe in discovery.
|
|
73
|
+
- The "decide on the triggering record's data" pattern is a body **Decision** whose conditions read `$Record.<dmoField>`. Do the criteria evaluation in the body; the start's optional entry `filters[]` narrow which DMO changes enter the flow at all (literal typed values only, same restrictions as a record-triggered start — see `start.md` / [[flow.shared.record-filter]]).
|
|
74
|
+
|
|
75
|
+
## Write targets — DMOs are read/trigger-only
|
|
76
|
+
|
|
77
|
+
Data Cloud DMOs are **read/trigger-only**: their fields are not creatable, and a DMO is never a valid write target. A `Create Records` / `Update Records` / `Delete Records` element in this flow MUST target a normal **writable SObject** (e.g. `Task`, `Case`, a custom `__c`), never a `__dlm` DMO.
|
|
78
|
+
|
|
79
|
+
Canonical pattern for this flow type:
|
|
80
|
+
|
|
81
|
+
> DMO record change (`DataCloudDataChange` start) → read `$Record.<dmoField>` → Decision on criteria → **Create Records on a writable CRM SObject** (e.g. a `Task`) populated from `$Record` fields.
|
|
82
|
+
|
|
83
|
+
## Special treatment — what discovery does NOT tell you
|
|
84
|
+
|
|
85
|
+
- **Version floor (functional prerequisite):** `DataCloudDataChange` requires **API version 59.0+**. Below that floor the trigger is unavailable — check the flow's API version.
|
|
86
|
+
- **No `Delete`:** `recordTriggerType` is `Create` / `CreateAndUpdate` / `Update` only. There is no before/after-delete flavor for this trigger.
|
|
87
|
+
- **No data-graph fields:** `triggeringDataGraph` / `triggeringDataModelObjectPath` are `DataGraphDataChange`-only — emitting them here is wrong.
|
|
88
|
+
- **`dataSpace` is not required to save/validate** the single-DMO trigger (unlike Segment / Automation Event flows). If a specific target org blocks **activation** with `DATA_SPACE_REQUIRED_FOR_FLOW_TYPE`, resolve a data space via `d360_dataspace_list` (H360 `dispatch` — see `audience-common.md`) and set it as the flow-level `dataSpace`; otherwise omit it.
|
|
89
|
+
|
|
90
|
+
## Out of scope — data-graph trigger (STOP and route)
|
|
91
|
+
|
|
92
|
+
`DataGraphDataChange` (fire on a change across a **multi-object data graph**) is a DIFFERENT trigger type, not this single-DMO one. It is **org-gated**: it needs Real-Time Data Graphs enabled on the org, the create/modify-data-graph-trigger user permission, and API version 63.0+, and its start uses `triggeringDataGraph` + `triggeringDataModelObjectPath` (its primary DMO must be `UnifiedIndividual` / `Individual`). If the user wants a data-graph-scoped trigger, that is a separate capability — do NOT emit `DataGraphDataChange` fields on a `DataCloudDataChange` flow, and do NOT silently downgrade a data-graph request to a single-DMO trigger. Confirm the org is provisioned for it first.
|
package/skills/automation-flow-coordinate/references/elements/start/form-submission-triggered.md
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: flow-element-start-form-submission-triggered
|
|
3
|
+
license: LICENSE.txt has complete terms
|
|
4
|
+
description: "Load when building a Form-Triggered flow — triggerType `FormSubmissionEvent`, processType `AutoLaunchedFlow` — that FIRES each time someone submits a Marketing form (a Form Builder form stored as Managed Content, `sfdc_cms__form`). Covers discovering the form at runtime (ManagedContent SOQL + the content-FQN endpoint), the start-element shape (`form` = the form's content FQN), reading the submitted answers via `$Form.<field>`, the one-form-per-flow rule, and the HARD PROHIBITION on authoring it as `AutomationEvent` + `trgrOnFormSubmission` (Flow Builder lists Form Submission under Automation Event, but the saved trigger type is `FormSubmissionEvent`). Also the line vs a Screen flow (a form the user steps through). DO NOT load for any other trigger type."
|
|
5
|
+
metadata:
|
|
6
|
+
version: "1.0"
|
|
7
|
+
related-skills: flow-element-start, flow-flow-properties
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Form-Triggered (Marketing Form Submission)
|
|
11
|
+
|
|
12
|
+
Load this when `triggerType` is `FormSubmissionEvent`. It is the complete build guide for the form-submission start element; the base `start.md` carries only the routing stub.
|
|
13
|
+
|
|
14
|
+
The whole flow FIRES, headless, once per submission of a Marketing form. The submitted answers are available in the flow body as `$Form.<field>`.
|
|
15
|
+
|
|
16
|
+
- **triggerType**: `FormSubmissionEvent`. Author **`processType: "AutoLaunchedFlow"`**.
|
|
17
|
+
- The form is chosen ON the start via the **`form`** field — the form's Managed Content FQN. There is no `eventName`/`eventType` and no start `inputs[]` on this trigger.
|
|
18
|
+
- Requires a Marketing-provisioned org with at least one Form Builder form. If the trigger type is unavailable or the org has no form, STOP and tell the user — do NOT fall back to another trigger type, and never fabricate a form value.
|
|
19
|
+
|
|
20
|
+
## HARD PROHIBITION — never `AutomationEvent` + `trgrOnFormSubmission`
|
|
21
|
+
|
|
22
|
+
Flow Builder lists **Form Submission** inside the **Automation Event** trigger picker, and event discovery scoped to the Automation Event trigger (`GET /services/data/vXX.0/flowbuilder/action/invocable-events` with `triggerType: "AutomationEvent"`) returns a `trgrOnFormSubmission` row labeled "Form Submission". **Do not build on that row.** When a user picks Form Submission in the builder, the builder rewrites the flow to `triggerType: FormSubmissionEvent`; it never saves `AutomationEvent` + `trgrOnFormSubmission`.
|
|
23
|
+
|
|
24
|
+
If you author that shape anyway, the platform rejects it:
|
|
25
|
+
|
|
26
|
+
- The event name is invalid (`FLOW_INVALID_EVENT_NAME`, "Invalid event name trgrOnFormSubmission."); on save the server rewrites `eventName` to `"nullNotFound"`.
|
|
27
|
+
- The flow saves as **`InvalidDraft`** (cannot be activated).
|
|
28
|
+
- `$Form.<field>` references stop resolving (the start is no longer bound to a form).
|
|
29
|
+
- The event's describe marks a `Form` input as required, but the validator then rejects that input (`FLOW_START_INPUT_INVALID_INPUT`, "Flows with event type Form Submission don't support the Form field"). The describe for this event is not a reliable guide — use this file instead.
|
|
30
|
+
|
|
31
|
+
So: a form-submission request is ALWAYS `triggerType: FormSubmissionEvent`, even when the user says "Automation Event" or names the Form Submission event. When they used Automation Event wording, tell them in one line why the saved trigger type is `FormSubmissionEvent`.
|
|
32
|
+
|
|
33
|
+
## Do NOT confuse with two look-alikes
|
|
34
|
+
|
|
35
|
+
**Choosing between these is a flow-type classification decision — owned by the
|
|
36
|
+
flow-type-resolver reference (`../../shared/flow-type-resolver/flow-type-resolver.md`).** Resolve there, not here. Once the type is resolved, this is where the trigger is set for each:
|
|
37
|
+
|
|
38
|
+
| Request | Type | Where it is set |
|
|
39
|
+
|---|---|---|
|
|
40
|
+
| The flow runs AFTER someone submits an existing Marketing form (this guide) | `FormSubmissionEvent` | `form` on the **start** |
|
|
41
|
+
| The flow IS the form — a user steps through screens and enters values | Screen Flow (`processType: Flow`, no trigger) | `screens[]` in the flow body |
|
|
42
|
+
| The flow fires on an email engagement (open / link click / bounce / response) | `AutomationEvent` — see `automation-event-triggered.md` | `eventName`/`eventType` on the **start** |
|
|
43
|
+
|
|
44
|
+
A plain record trigger on the object the form writes to (e.g. `RecordAfterSave` on `Lead` create) is also not a substitute: use `FormSubmissionEvent` when the user describes the form submission itself as the starting event.
|
|
45
|
+
|
|
46
|
+
## Discover the form — don't guess it
|
|
47
|
+
|
|
48
|
+
1. **List the org's forms.** `dispatch_readonly({ url: "/services/data/vXX.0/query", method: "GET", queryParams: { q: "SELECT Id, Name, ContentKey, AuthoredManagedContentSpaceId FROM ManagedContent WHERE ContentTypeFullyQualifiedName = 'sfdc_cms__form'" } })` → `records[]`, each `{Id (20Y…), Name, ContentKey, AuthoredManagedContentSpaceId}`. Match the form the user named against `Name`; select one exact match automatically, ask the user to choose when several match or the request does not identify one, and STOP when none exist (the user must create the form in Form Builder first).
|
|
49
|
+
2. **Resolve its FQN.** `dispatch_readonly({ url: "/services/data/vXX.0/flowbuilder/messaging/content-fqn", method: "GET", queryParams: { managedContentId: "<the 20Y… Id>" } })` → `{ contentFqn, managedContentId }`. Bind the returned `contentFqn` to `start.form`. It has the shape `marketing--<ContentSpaceApiName>.sfdc_cms__form--<ContentKey>` (e.g. `marketing--Default_Content_Workspace.sfdc_cms__form--<CONTENT_KEY>`). Never hand-assemble it, and never bind the bare `ContentKey`, the `20Y…` Id, or the form title.
|
|
50
|
+
3. **Read the form's field names.** `dispatch_readonly({ url: "/services/data/vXX.0/connect/cms/contents/<the 20Y… Id>", method: "GET" })` → `contentBody`. Each form input in the block tree carries `sfdc_cms:formInputNameProperty` (e.g. `Email`, `FirstName`, `Company`) — that value is the field you reference as `$Form.<name>`. The input's `sfdc_cms:fieldReference` shows which object field the form maps it to (e.g. `{!<provider>.Email}` on `Lead`). Reference only names that exist in the form.
|
|
51
|
+
|
|
52
|
+
## Start element shape
|
|
53
|
+
|
|
54
|
+
| Field | Value |
|
|
55
|
+
|---|---|
|
|
56
|
+
| `triggerType` | `"FormSubmissionEvent"` |
|
|
57
|
+
| `form` | the `contentFqn` from discovery step 2 |
|
|
58
|
+
| `eventName` / `eventType` / `inputs[]` | omit — this trigger has none (`actionName`/`actionType` are cleared on save) |
|
|
59
|
+
| `processType` (flow root) | `"AutoLaunchedFlow"` |
|
|
60
|
+
| `dataSpace` (flow root) | a Data Space developer name that resolves on the org (commonly `"default"`). Active form flows carry it; set it on the first save. |
|
|
61
|
+
|
|
62
|
+
```json
|
|
63
|
+
{
|
|
64
|
+
"processType": "AutoLaunchedFlow",
|
|
65
|
+
"dataSpace": "default",
|
|
66
|
+
"start": {
|
|
67
|
+
"locationX": 0, "locationY": 0,
|
|
68
|
+
"triggerType": "FormSubmissionEvent",
|
|
69
|
+
"form": "marketing--Default_Content_Workspace.sfdc_cms__form--<CONTENT_KEY>",
|
|
70
|
+
"connector": { "targetReference": "<first element>", "isGoTo": false }
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
See `examples/formSubmission.json` for a start plus a Create Records element that maps the submitted answers.
|
|
76
|
+
|
|
77
|
+
## Read the submitted answers — `$Form.<field>`
|
|
78
|
+
|
|
79
|
+
- Reference each answer as **`$Form.<formInputNameProperty>`** (e.g. `elementReference: "$Form.Email"`) in assignments, decisions, and record create/update input assignments.
|
|
80
|
+
- Do NOT use `$Event.<field>` or `$Record` — neither carries the submission.
|
|
81
|
+
- A system-variable listing may not show `$Form`; the validator still resolves it against the bound form. A name the form does not contain fails with "The "<Name>" field doesn't exist in your form content. Use an existing field or add the field to the form in Form Builder." — fix the name from discovery step 3; do not invent fields.
|
|
82
|
+
|
|
83
|
+
## Save-time rules
|
|
84
|
+
|
|
85
|
+
- **One form, one flow.** A form can drive only one flow. Binding a form that another flow (or another draft version) already uses is an unsaveable error (`FORM_ALREADY_IN_USE_BY_FLOW` / `FORM_ALREADY_IN_USE_BY_DRAFT_VERSION`). If you hit it, STOP and tell the user which form is taken; do not silently switch to a different form.
|
|
86
|
+
- **The form must exist.** A `form` value that does not resolve to Managed Content is an unsaveable error (`FORM_CONTENT_NOT_FOUND`). This is why discovery step 2 is mandatory.
|
|
87
|
+
- **A draft form is enough to save.** The form does not have to be published for the flow to save as `Draft`; check with the user before activating against an unpublished form.
|
|
88
|
+
- **No fault paths unless asked.** A form-submission flow is a marketing flow: add a `faultConnector` or error-handling branch only when the user asks for error handling. See `../../shared/fault-paths/fault-paths.md` § Marketing Flows — Fault Paths Only When Asked.
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: flow-element-start-segment-triggered
|
|
3
|
+
license: LICENSE.txt has complete terms
|
|
4
|
+
description: "Load when building a Segment-triggered (Audience) marketing flow — triggerType `Segment`, processType `AutoLaunchedFlow`. Covers only what is Segment-specific: the segment name→ID→DMO binding chain (via `dispatch`-invoked Data 360 tools), the `segmentOnApiName` eligibility gate, `publishSegment`, segment outreach actions (BEA / send-to-journey), and the `$Record` member context. MUST load `audience-common.md` first for the shared run schedule / top-level `timeZoneSidKey` / `dataSpace` / `dataGraph` / re-entry contract. DO NOT load for any other trigger type."
|
|
5
|
+
metadata:
|
|
6
|
+
version: "1.0"
|
|
7
|
+
related-skills: flow-element-start, flow-element-start-audience-common, flow-flow-properties
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Segment-Triggered (Audience Flow)
|
|
11
|
+
|
|
12
|
+
Load this when `triggerType` is `Segment`. A broadcast flow that fans out a dynamic segment is `BroadcastNoTrigger`, documented in `start.md`. Do not load this file for it, and do not apply the eligibility gate below.
|
|
13
|
+
|
|
14
|
+
> **MUST load [`audience-common.md`](audience-common.md) first.** It holds the
|
|
15
|
+
> shared scheduled-audience contract — run schedule, top-level `timeZoneSidKey`,
|
|
16
|
+
> top-level `dataSpace`, optional `dataGraph`, re-entry (`entryType`), the
|
|
17
|
+
> save-and-activate gates, and the builder round-trip defaults, all identical
|
|
18
|
+
> across `Segment`, `List`, `CampaignMember`, and `RecordQuery`. This file adds
|
|
19
|
+
> ONLY what is specific to the Segment trigger: the segment binding, the
|
|
20
|
+
> eligibility gate, `publishSegment`, outreach actions, and the `$Record` member context.
|
|
21
|
+
|
|
22
|
+
- **triggerType**: `Segment`. Author `processType: "AutoLaunchedFlow"` for both
|
|
23
|
+
`POST /services/data/vXX.0/flowbuilder/flow/actions/save` and legacy `saveAndValidateFlow` lifecycles. This is the verified
|
|
24
|
+
Tooling API input and persisted value. Do not substitute `Journey` based on
|
|
25
|
+
the builder surface name or the live Connect enum member.
|
|
26
|
+
- Targets a marketing segment/audience for outreach (email campaigns, drip sequences, re-engagement, nurture journeys).
|
|
27
|
+
- Do NOT use `Scheduled` or `RecordAfterSave` for segment-based marketing — those lack audience targeting, segment membership context, and marketing frequency caps. A broadcast that fans out a dynamic segment now is `BroadcastNoTrigger`, not `Segment`.
|
|
28
|
+
- For a `sendSmsMessage` flow, `dataGraph`, `schedule.frequency: "OnActivate"`,
|
|
29
|
+
and an explicit End node were observed in one hand-built draft's persisted
|
|
30
|
+
metadata. Preserve them when reproducing that flow, but do not treat them as
|
|
31
|
+
activation requirements without live validation evidence.
|
|
32
|
+
|
|
33
|
+
## Reference File Index
|
|
34
|
+
|
|
35
|
+
| File | Purpose |
|
|
36
|
+
|---|---|
|
|
37
|
+
| `audience-common.md` | The shared schedule / timezone / dataSpace / dataGraph / entryType contract (load first) |
|
|
38
|
+
| `examples/segment-weekly-schedule.json` | Weekly run-schedule start-element example (the schedule shape is documented in `audience-common.md`) |
|
|
39
|
+
|
|
40
|
+
## Bind the segment
|
|
41
|
+
|
|
42
|
+
The prompt gives a segment name. `start.segment` and `start.object` are NOT
|
|
43
|
+
derivable from it, and **plain SOQL cannot supply `segmentOnApiName`** — the
|
|
44
|
+
`MarketSegment` sObject exposes `Id`, `Name`, `SegmentStatus`, `PublishStatus`,
|
|
45
|
+
`SegmentMembershipTable`, `DataSpaceId`, and `DataGraphId`, but **not** the
|
|
46
|
+
`segmentOnApiName` DMO that binds to `start.object`. Resolve the segment via the
|
|
47
|
+
`dispatch`-invoked Data 360 (`d360_*`) segment tools before every save.
|
|
48
|
+
|
|
49
|
+
The `d360_*` tools run through `dispatch`, not a standalone server: dispatch
|
|
50
|
+
a POST to `/services/data/vXX.0/ssot/mcp/execute` with body
|
|
51
|
+
`{ "toolName": "<d360_tool>", "paramsJson": "<params as a JSON-ENCODED STRING>" }`
|
|
52
|
+
— `paramsJson` is a **string** (double-encoded JSON), never a nested object. Use
|
|
53
|
+
`dispatch` (POST). If a tool's exact param shape is unclear,
|
|
54
|
+
`discover` then `describe` the matching `d360_*` recipe before dispatching — don't
|
|
55
|
+
guess the shape. (A `MarketSegment` SOQL query is fine as a supplemental
|
|
56
|
+
name→`Id`/status lookup, but it can never stand in for the `d360` resolution
|
|
57
|
+
because it lacks `segmentOnApiName`. Its `SegmentMembershipTable`, e.g.
|
|
58
|
+
`Individual_Unified_SMH_<n>__dlm`, is the segment's membership table, never
|
|
59
|
+
`start.object`: with it the org refuses to activate the flow ("The segment you
|
|
60
|
+
selected in this flow's Start element contains objects that aren't associated
|
|
61
|
+
with individuals").)
|
|
62
|
+
|
|
63
|
+
1. `dispatch({ url: "/services/data/vXX.0/ssot/mcp/execute", method: "POST", body: { toolName: "d360_segment_get", paramsJson: "{\"segmentApiName\": \"<name>\"}" } })` — fast path only when the prompt supplies the segment's exact developer/API name.
|
|
64
|
+
2. If that returns not-found (the prompt gave a display name, or a fuzzy/partial name), fall back to `d360_segment_list` (`paramsJson: "{\"batchSize\": 50, \"offset\": 0}"`), paginating with `offset` as needed, and match the target in `result.segments[]` by its `displayName` or `apiName`. The list result already contains the same fields as `d360_segment_get` — no follow-up `get` call is needed once you've matched a row. (`d360_segment_get_by_id`, `paramsJson: "{\"segmentId\": \"<1sg… id>\"}"`, resolves a segment already known by `marketSegmentId`.)
|
|
65
|
+
- **No segment in the org matches the prompt's name at all → STOP and ask the user for the correct segment name.** Do NOT silently substitute a different, unrelated segment that happens to exist (e.g. picking whatever segment comes back first) — a flow built against the wrong audience is worse than no flow.
|
|
66
|
+
3. From whichever call resolved the segment, read:
|
|
67
|
+
- `marketSegmentId` (18-char `1sg…`) → `start.segment`.
|
|
68
|
+
- `segmentOnApiName` → `start.object`.
|
|
69
|
+
Require `segmentStatus: "ACTIVE"` and `publishStatus: "SUCCESS"` when the
|
|
70
|
+
response includes those fields. Stop when the segment is inactive,
|
|
71
|
+
unpublished, or its last publish failed.
|
|
72
|
+
4. Eligibility gate — check `segmentOnApiName`:
|
|
73
|
+
- the Unified Individual DMO (e.g. `UnifiedIndividual__dlm`) → proceed; saves and activates cleanly.
|
|
74
|
+
- a non-unified Individual DMO (e.g. `ssot__Individual__dlm`) → proceed, but warn the user: the flow will SAVE, yet it can't ACTIVATE without an activation template (save returns a `WARNING_BLOCK_ACTIVATION` / `ACTIVATION_TEMPLATE_REQUIRED_FOR_NON_UNIFIED_INDIVIDUAL`; the template is set via `start.activationTemplate` — a dev name of an existing Data Cloud template — which this flow's save cannot create).
|
|
75
|
+
- anything else (`Account__dlm`, `Lead__dlm`, …) → STOP for a Segment-triggered flow. Tell the user the segment is built on `<segmentOnApiName>` and cannot trigger a segment flow; a segment on individuals is required. Do NOT substitute another segment. If the user asked for a broadcast flow, leave this file and author `BroadcastNoTrigger` instead of stopping.
|
|
76
|
+
|
|
77
|
+
Set BOTH `segment` and `object` on every save; don't rely on a `segment` ID persisting on its own — re-set `object` from step 3 alongside it.
|
|
78
|
+
|
|
79
|
+
Never write the segment name, `marketSegmentDefinitionId`, or `segmentOnId`
|
|
80
|
+
into `start.segment`. Use `marketSegmentId`. An invalid value can return
|
|
81
|
+
`isSuccess: true` with `InvalidDraft`, `FLOW_START_INPUT_INVALID_TYPE`, and an
|
|
82
|
+
omitted persisted segment. Redo step 1/2 and save again.
|
|
83
|
+
|
|
84
|
+
Salesforce record-ID substrings do not identify an org. Never compare fragments
|
|
85
|
+
in unrelated record IDs to infer an authentication mismatch. Compare the
|
|
86
|
+
Organization IDs returned by each authenticated service when org identity must
|
|
87
|
+
be verified.
|
|
88
|
+
|
|
89
|
+
On save error `TRIGGER_TYPE_CONTEXT_OBJECT_NOT_SUPPORTED` for a Segment-triggered flow: the segment is ineligible (individual-based required). Report it and do not retry with a substitute segment. This error does not apply to `BroadcastNoTrigger`.
|
|
90
|
+
|
|
91
|
+
`object` is the `segmentOnApiName` DMO from step 3 (e.g. `"UnifiedIndividual__dlm"`), NOT anything from a data graph and NOT the `SegmentMembershipTable`.
|
|
92
|
+
|
|
93
|
+
| Field | Value |
|
|
94
|
+
|---|---|
|
|
95
|
+
| `publishSegment` | Default `false`/omit: the flow does not (re)publish the segment; membership is assumed already published. Set `true` only if the prompt asks the flow to publish the segment when it runs. |
|
|
96
|
+
|
|
97
|
+
## Record context — the segment member is `$Record`
|
|
98
|
+
|
|
99
|
+
In a Segment flow, `$Record` is the current segment member: a row of the
|
|
100
|
+
`segmentOnApiName` DMO (the `start.object`, e.g. `UnifiedIndividual__dlm`). Read
|
|
101
|
+
the member's fields as **`$Record.<field API name>`**, for example
|
|
102
|
+
`$Record.ssot__FirstName__c`. This works with or without a `dataGraph` on the Start
|
|
103
|
+
element.
|
|
104
|
+
|
|
105
|
+
**Always write the `$Record.` prefix.** A bare field name or a DMO-qualified name
|
|
106
|
+
is rejected:
|
|
107
|
+
|
|
108
|
+
| Reference | Result |
|
|
109
|
+
|---|---|
|
|
110
|
+
| `$Record.ssot__FirstName__c` | valid |
|
|
111
|
+
| `ssot__FirstName__c` | `The "ssot__FirstName__c" element doesn't exist. Remove references to the element in all conditions.` |
|
|
112
|
+
| `UnifiedIndividual__dlm.ssot__FirstName__c` | `The "UnifiedIndividual__dlm.ssot__FirstName__c" element doesn't exist. …` |
|
|
113
|
+
|
|
114
|
+
Decision condition on the member's first name:
|
|
115
|
+
|
|
116
|
+
```json
|
|
117
|
+
{ "leftValueReference": "$Record.ssot__FirstName__c", "operator": "EqualTo", "rightValue": { "stringValue": "Alex" } }
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Write the same reference in a condition-based exit rule's `conditions[]`
|
|
121
|
+
(`../exit-rule/exit-rule.md`).
|
|
122
|
+
|
|
123
|
+
Use field API names of the `segmentOnApiName` DMO; read them from the DMO's
|
|
124
|
+
describe (`GET /services/data/vXX.0/flowbuilder/platform/entity/{apiName}/fields`)
|
|
125
|
+
rather than guessing. Segment has **no `$Input` member row** (unlike
|
|
126
|
+
List/CampaignMember/RecordQuery, see `list-campaignmember.md` / `recordquery.md`):
|
|
127
|
+
do not invent one. `$Flow.*` globals remain available per the shared table in
|
|
128
|
+
`audience-common.md`.
|
|
129
|
+
|
|
130
|
+
## Data space note for `sendToJourney`
|
|
131
|
+
|
|
132
|
+
The shared data-space rules live in `audience-common.md`. For `sendToJourney`
|
|
133
|
+
specifically, also require the selected business unit's
|
|
134
|
+
`businessUnitsToDataSpaces[].dataSpaceName` to equal the chosen data space `name`.
|
|
135
|
+
Follow `../action-call/send-to-journey.md` for business-unit and Journey selection.
|
|
136
|
+
|
|
137
|
+
## Data graph note for `sendSmsMessage`
|
|
138
|
+
|
|
139
|
+
The shared data-graph rules live in `audience-common.md`. For `sendSmsMessage`,
|
|
140
|
+
preserve a source flow's existing graph; do not select one solely to copy the
|
|
141
|
+
observed example. A populated `dataGraph` was observed in the verified
|
|
142
|
+
`sendSmsMessage` draft, but no save or activation error establishes it as mandatory.
|
|
143
|
+
|
|
144
|
+
## Outreach actions for segment flows
|
|
145
|
+
|
|
146
|
+
For flows that route segment members to a Buyer Engagement Agent (BEA) for email outreach, load `../forward-to-bot-or-agent/forward-to-bot-or-agent.md` and follow the **Outreach Initiation (BEA)** section.
|
|
147
|
+
|
|
148
|
+
Key points:
|
|
149
|
+
- The action is `forwardToBotOrAgent` with `modeSelector: "InitiateConversation"`. **Do NOT use `assignTargetToAgent`** — that action does not support the nudge count/interval/from-address parameters the BEA uses and is not the correct action for this flow type.
|
|
150
|
+
- Set `areMetricsLoggedToDataCloud: true` at the `metadata` level (verified in BEA segment flow saves).
|
|
151
|
+
- The flow ends with an explicit `ends[]` element; wire the action's `connector.targetReference` to it.
|
|
152
|
+
- Schedule: `frequency: "OnActivate"` is the standard choice unless the user specifies a recurring cadence.
|