@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.
Files changed (349) hide show
  1. package/package.json +1 -1
  2. package/skills/field-service-data-capture-form-deployer-configure/SKILL.md +2 -23
  3. package/skills/field-service-data-capture-form-designer-configure/SKILL.md +3 -13
  4. package/skills/field-service-mobile-branding-configure/SKILL.md +3 -17
  5. package/skills/field-service-objective-designer-configure/SKILL.md +379 -72
  6. package/skills/field-service-prework-brief-deployer-configure/SKILL.md +537 -10
  7. package/skills/field-service-scheduling-policy-designer-query/SKILL.md +1093 -65
  8. package/skills/field-service-sobject-create-configure/SKILL.md +213 -13
  9. package/skills/field-service-voice-to-form-configure/SKILL.md +11 -40
  10. package/skills/field-service-work-rule-designer-configure/SKILL.md +95 -121
  11. package/skills/agentforce-gpt-email-generation-configure/SKILL.md +0 -312
  12. package/skills/agentforce-wizard-ui-forecasting-analytics-components-configure/SKILL.md +0 -64
  13. package/skills/agentforce-wizard-ui-sales-einstein-components-configure/SKILL.md +0 -46
  14. package/skills/automation-company-profile-info-query/SKILL.md +0 -51
  15. package/skills/automation-digital-wallet-configure/SKILL.md +0 -689
  16. package/skills/automation-flow-coordinate/SKILL.md +0 -95
  17. package/skills/automation-flow-coordinate/references/elements/action-call/action-call.md +0 -1569
  18. package/skills/automation-flow-coordinate/references/elements/action-call/conversation-messaging.md +0 -96
  19. package/skills/automation-flow-coordinate/references/elements/action-call/examples/send-sms-message.json +0 -23
  20. package/skills/automation-flow-coordinate/references/elements/action-call/examples/send-to-journey-no-fields.json +0 -31
  21. package/skills/automation-flow-coordinate/references/elements/action-call/send-to-journey.md +0 -179
  22. package/skills/automation-flow-coordinate/references/elements/exit-rule/examples/event-email-link-click.json +0 -13
  23. package/skills/automation-flow-coordinate/references/elements/exit-rule/exit-rule.md +0 -83
  24. package/skills/automation-flow-coordinate/references/elements/forward-to-bot-or-agent/examples/forward-to-bot-or-agent.json +0 -69
  25. package/skills/automation-flow-coordinate/references/elements/forward-to-bot-or-agent/forward-to-bot-or-agent.md +0 -274
  26. package/skills/automation-flow-coordinate/references/elements/start/audience-common.md +0 -192
  27. package/skills/automation-flow-coordinate/references/elements/start/automation-event-triggered.md +0 -130
  28. package/skills/automation-flow-coordinate/references/elements/start/data-cloud-data-change-triggered.md +0 -92
  29. package/skills/automation-flow-coordinate/references/elements/start/form-submission-triggered.md +0 -88
  30. package/skills/automation-flow-coordinate/references/elements/start/segment-triggered.md +0 -152
  31. package/skills/automation-flow-coordinate/references/elements/start/start.md +0 -539
  32. package/skills/automation-flow-coordinate/references/elements/subflow/subflow.md +0 -152
  33. package/skills/automation-flow-coordinate/references/elements/wait/wait.md +0 -497
  34. package/skills/automation-flow-coordinate/references/recipes/author/author.md +0 -868
  35. package/skills/automation-flow-coordinate/references/recipes/summarize/element-generic.md +0 -300
  36. package/skills/automation-flow-coordinate/references/recipes/summarize/reference-resolution.md +0 -292
  37. package/skills/automation-flow-coordinate/references/recipes/summarize/summarize.md +0 -323
  38. package/skills/automation-flow-coordinate/references/recipes/testing/examples/debug-output-template.md +0 -109
  39. package/skills/automation-flow-coordinate/references/recipes/testing/shape.md +0 -219
  40. package/skills/automation-flow-coordinate/references/recipes/testing/shared-stages/intent-analyzer.md +0 -180
  41. package/skills/automation-flow-coordinate/references/recipes/testing/workflows/debug.md +0 -175
  42. package/skills/automation-flow-coordinate/references/recipes/testing/workflows/promote.md +0 -255
  43. package/skills/automation-flow-coordinate/references/recipes/testing/workflows/save-debug.md +0 -212
  44. package/skills/automation-flow-coordinate/references/resources/variable/variable.md +0 -171
  45. package/skills/automation-flow-coordinate/references/shared/anti-patterns.md +0 -786
  46. package/skills/automation-flow-coordinate/references/shared/end/end.md +0 -267
  47. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/README.md +0 -69
  48. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/predictions.jsonl +0 -80
  49. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/prompts.jsonl +0 -116
  50. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/flow-type-resolver.md +0 -321
  51. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/taxonomy.json +0 -320
  52. package/skills/automation-flow-coordinate/references/shared/server-functions.md +0 -597
  53. package/skills/automotive-cloud-appraisal-management-settings-configure/SKILL.md +0 -69
  54. package/skills/automotive-cloud-dealer-essentials-configure/SKILL.md +0 -78
  55. package/skills/automotive-cloud-ground-agent-data-pipelines-configure/SKILL.md +0 -373
  56. package/skills/automotive-cloud-ground-mfg-agent-data-pipelines-configure/SKILL.md +0 -273
  57. package/skills/automotive-cloud-mfg-agent-data-pipelines-configure/SKILL.md +0 -259
  58. package/skills/automotive-cloud-mfg-sales-concierge-agent-create/SKILL.md +0 -369
  59. package/skills/automotive-cloud-mfg-sales-concierge-foundation-configure/SKILL.md +0 -542
  60. package/skills/automotive-cloud-mfg-sales-concierge-foundation-coordinate/SKILL.md +0 -159
  61. package/skills/automotive-cloud-mfg-sales-concierge-orchestrator-agent-create/SKILL.md +0 -349
  62. package/skills/automotive-cloud-mfg-sales-concierge-orchestrator-configure/SKILL.md +0 -505
  63. package/skills/automotive-cloud-sales-concierge-agent-create/SKILL.md +0 -380
  64. package/skills/automotive-cloud-sales-concierge-foundation-configure/SKILL.md +0 -567
  65. package/skills/automotive-cloud-sales-concierge-foundation-coordinate/SKILL.md +0 -159
  66. package/skills/automotive-cloud-sales-concierge-orchestrator-agent-create/SKILL.md +0 -360
  67. package/skills/automotive-cloud-sales-concierge-orchestrator-configure/SKILL.md +0 -539
  68. package/skills/automotive-cloud-sales-concierge-search-grounding-configure/SKILL.md +0 -358
  69. package/skills/commerce-b2b-merchant-quote-configure/SKILL.md +0 -602
  70. package/skills/commerce-b2b-store-configure/SKILL.md +0 -251
  71. package/skills/commerce-credit-memo-create/SKILL.md +0 -139
  72. package/skills/commerce-delivery-business-hours-configure/SKILL.md +0 -277
  73. package/skills/commerce-delivery-estimation-apply/SKILL.md +0 -155
  74. package/skills/commerce-delivery-estimation-configure/SKILL.md +0 -377
  75. package/skills/commerce-delivery-routing-specs-integrate/SKILL.md +0 -174
  76. package/skills/commerce-estimate-bopis-query/SKILL.md +0 -279
  77. package/skills/commerce-estimate-delivery-date-query/SKILL.md +0 -349
  78. package/skills/commerce-fees-apply/SKILL.md +0 -227
  79. package/skills/commerce-fulfillment-routing-analyze/SKILL.md +0 -200
  80. package/skills/commerce-guest-buyer-create/SKILL.md +0 -173
  81. package/skills/commerce-location-bopis-configure/SKILL.md +0 -378
  82. package/skills/commerce-location-business-hours-configure/SKILL.md +0 -235
  83. package/skills/commerce-location-delivery-processing-time-configure/SKILL.md +0 -309
  84. package/skills/commerce-location-graph-integrate/SKILL.md +0 -131
  85. package/skills/commerce-location-shipping-carrier-method-configure/SKILL.md +0 -755
  86. package/skills/commerce-location-temporary-operating-hours-configure/SKILL.md +0 -331
  87. package/skills/commerce-merchant-buyer-groups-configure/SKILL.md +0 -579
  88. package/skills/commerce-merchant-buyer-user-onboarding-create/SKILL.md +0 -626
  89. package/skills/commerce-merchant-catalog-configure/SKILL.md +0 -614
  90. package/skills/commerce-merchant-extension-provider-configure/SKILL.md +0 -368
  91. package/skills/commerce-merchant-insights-account-health-churn-analyze/SKILL.md +0 -118
  92. package/skills/commerce-merchant-insights-inventory-returns-analyze/SKILL.md +0 -65
  93. package/skills/commerce-merchant-insights-order-shopper-get/SKILL.md +0 -90
  94. package/skills/commerce-merchant-insights-product-performance-analyze/SKILL.md +0 -72
  95. package/skills/commerce-merchant-insights-query/SKILL.md +0 -279
  96. package/skills/commerce-merchant-storefront-guest-access-configure/SKILL.md +0 -656
  97. package/skills/commerce-order-summary-change-apply/SKILL.md +0 -375
  98. package/skills/commerce-product-details-get/SKILL.md +0 -363
  99. package/skills/commerce-product-search/SKILL.md +0 -563
  100. package/skills/commerce-react-storefront-create/SKILL.md +0 -350
  101. package/skills/commerce-return-order-summary-create/SKILL.md +0 -513
  102. package/skills/commerce-search-relevance-analyze/SKILL.md +0 -757
  103. package/skills/commerce-temporary-processing-time-override-create/SKILL.md +0 -274
  104. package/skills/communications-initial-setup-configure/SKILL.md +0 -630
  105. package/skills/communications-multisite-configure/SKILL.md +0 -571
  106. package/skills/communications-revenue-cloud-settings-configure/SKILL.md +0 -74
  107. package/skills/communications-smb-fiber-catalog-create/SKILL.md +0 -413
  108. package/skills/communications-tmf-integrate/SKILL.md +0 -1368
  109. package/skills/consumer-goods-visit-activity-act4-questions-assign/SKILL.md +0 -448
  110. package/skills/consumer-goods-visit-activity-act5-standard-create/SKILL.md +0 -269
  111. package/skills/consumer-goods-visit-activity-act6-assortment-configure/SKILL.md +0 -271
  112. package/skills/consumer-goods-visit-activity-act7-account-scoping-create/SKILL.md +0 -382
  113. package/skills/consumer-goods-visit-activity-act8-plan-attach-create/SKILL.md +0 -373
  114. package/skills/consumer-goods-visit-activity-act9-proof-validate/SKILL.md +0 -389
  115. package/skills/consumer-goods-visit-and-activity-act1-specification-create/SKILL.md +0 -338
  116. package/skills/consumer-goods-visit-and-activity-act2-template-create/SKILL.md +0 -547
  117. package/skills/consumer-goods-visit-and-activity-act3-definition-create/SKILL.md +0 -346
  118. package/skills/consumer-goods-visit-and-activity-configure/SKILL.md +0 -1110
  119. package/skills/crm-analytics-adoption-insights-configure/SKILL.md +0 -224
  120. package/skills/crm-analytics-custom-report-type-lightning-configure/SKILL.md +0 -418
  121. package/skills/crm-analytics-dashboards-configure/SKILL.md +0 -731
  122. package/skills/crm-analytics-operational-analytics-metadata-bridge-migrate/SKILL.md +0 -233
  123. package/skills/crm-analytics-report-notifications-ui-configure/SKILL.md +0 -184
  124. package/skills/crm-analytics-sharing-inheritance-coverage-analyze/SKILL.md +0 -167
  125. package/skills/crm-analytics-sonic-getting-started-configure/SKILL.md +0 -55
  126. package/skills/crm-analytics-tableau-next-app-deploy/SKILL.md +0 -1350
  127. package/skills/crm-analytics-tableau-next-c360-basemodel-validate/SKILL.md +0 -1862
  128. package/skills/crm-analytics-tableau-next-datacloud-validate/SKILL.md +0 -83
  129. package/skills/crm-analytics-tableau-next-provisioning-validate/SKILL.md +0 -81
  130. package/skills/data360-activation-create/SKILL.md +0 -104
  131. package/skills/data360-activation-external-platform-get/SKILL.md +0 -49
  132. package/skills/data360-activation-target-create/SKILL.md +0 -93
  133. package/skills/data360-activation-v2-create/SKILL.md +0 -456
  134. package/skills/data360-audience-dmo-get/SKILL.md +0 -38
  135. package/skills/data360-calculated-affinity-create/SKILL.md +0 -82
  136. package/skills/data360-calculated-insight-create/SKILL.md +0 -148
  137. package/skills/data360-catalog-metadata-create/SKILL.md +0 -183
  138. package/skills/data360-code-extension-create/SKILL.md +0 -115
  139. package/skills/data360-communication-capping-create/SKILL.md +0 -227
  140. package/skills/data360-connection-create/SKILL.md +0 -491
  141. package/skills/data360-content-lens-create/SKILL.md +0 -181
  142. package/skills/data360-data-action-create/SKILL.md +0 -126
  143. package/skills/data360-data-action-target-create/SKILL.md +0 -181
  144. package/skills/data360-data-clean-room-create/SKILL.md +0 -238
  145. package/skills/data360-data-governance-create/SKILL.md +0 -746
  146. package/skills/data360-data-graph-create/SKILL.md +0 -82
  147. package/skills/data360-data-harmonized-model-object-reference-create/SKILL.md +0 -38
  148. package/skills/data360-data-lake-object-create/SKILL.md +0 -207
  149. package/skills/data360-data-model-object-catalog-get/SKILL.md +0 -49
  150. package/skills/data360-data-model-object-create/SKILL.md +0 -128
  151. package/skills/data360-data-model-object-mapping-create/SKILL.md +0 -106
  152. package/skills/data360-data-space-create/SKILL.md +0 -161
  153. package/skills/data360-data-streams-create/SKILL.md +0 -324
  154. package/skills/data360-engagement-signal-get/SKILL.md +0 -38
  155. package/skills/data360-experiment-create/SKILL.md +0 -82
  156. package/skills/data360-goal-based-campaign-create/SKILL.md +0 -192
  157. package/skills/data360-harmonization-process-history-get/SKILL.md +0 -38
  158. package/skills/data360-harmonized-unstructured-dmo-create/SKILL.md +0 -84
  159. package/skills/data360-identity-resolution-create/SKILL.md +0 -115
  160. package/skills/data360-intelligent-document-processing-create/SKILL.md +0 -148
  161. package/skills/data360-knowledge-graph-construction-create/SKILL.md +0 -93
  162. package/skills/data360-knowledge-graph-create/SKILL.md +0 -216
  163. package/skills/data360-knowledge-space-mcp-configure/SKILL.md +0 -475
  164. package/skills/data360-machine-learning-mcp-configure/SKILL.md +0 -697
  165. package/skills/data360-multi-org-mcp-configure/SKILL.md +0 -117
  166. package/skills/data360-secondary-index-mcp-configure/SKILL.md +0 -126
  167. package/skills/data360-segment-mcp-configure/SKILL.md +0 -159
  168. package/skills/data360-semantic-calculated-dimension-mcp-configure/SKILL.md +0 -93
  169. package/skills/data360-semantic-calculated-measurement-mcp-configure/SKILL.md +0 -93
  170. package/skills/data360-semantic-data-object-mcp-configure/SKILL.md +0 -93
  171. package/skills/data360-semantic-dimension-mcp-configure/SKILL.md +0 -38
  172. package/skills/data360-semantic-engine-mcp-configure/SKILL.md +0 -62
  173. package/skills/data360-semantic-measurement-mcp-configure/SKILL.md +0 -38
  174. package/skills/data360-semantic-metric-mcp-configure/SKILL.md +0 -93
  175. package/skills/data360-semantic-model-mcp-configure/SKILL.md +0 -115
  176. package/skills/data360-standard-mapping-mcp-configure/SKILL.md +0 -38
  177. package/skills/data360-tenant-lifecycle-mcp-configure/SKILL.md +0 -73
  178. package/skills/experience-afv-query/SKILL.md +0 -234
  179. package/skills/experience-agentforce-vibes-in-react-configure/SKILL.md +0 -63
  180. package/skills/experience-apex-components-configure/SKILL.md +0 -69
  181. package/skills/experience-apex-pages-configure/SKILL.md +0 -107
  182. package/skills/experience-app-home-configure/SKILL.md +0 -76
  183. package/skills/experience-aura-lightning-out-access-configure/SKILL.md +0 -58
  184. package/skills/experience-briefcase-configure/SKILL.md +0 -287
  185. package/skills/experience-community-flexi-page-list-create/SKILL.md +0 -74
  186. package/skills/experience-community-template-definition-list-query/SKILL.md +0 -48
  187. package/skills/experience-community-theme-definition-list-query/SKILL.md +0 -38
  188. package/skills/experience-content-assets-configure/SKILL.md +0 -86
  189. package/skills/experience-custom-domain-create/SKILL.md +0 -727
  190. package/skills/experience-defer-rendering-workspace-page-setup-configure/SKILL.md +0 -41
  191. package/skills/experience-field-service-app-builder-configure/SKILL.md +0 -187
  192. package/skills/experience-flow-category-configure/SKILL.md +0 -117
  193. package/skills/experience-formula-configure/SKILL.md +0 -358
  194. package/skills/experience-global-actions-configure/SKILL.md +0 -69
  195. package/skills/experience-global-publisher-layouts-configure/SKILL.md +0 -79
  196. package/skills/experience-instrumentation-configure/SKILL.md +0 -64
  197. package/skills/experience-lex-engagement-configure/SKILL.md +0 -50
  198. package/skills/experience-lightning-bolt-open/SKILL.md +0 -12
  199. package/skills/experience-lightning-out-configure/SKILL.md +0 -129
  200. package/skills/experience-lightning-preview-configure/SKILL.md +0 -67
  201. package/skills/experience-lightning-types-query/SKILL.md +0 -98
  202. package/skills/experience-malware-scan-configure/SKILL.md +0 -71
  203. package/skills/experience-my-salesforce-configure/SKILL.md +0 -126
  204. package/skills/experience-navigation-menus-configure/SKILL.md +0 -235
  205. package/skills/experience-notification-types-configure/SKILL.md +0 -206
  206. package/skills/experience-notifications-configure/SKILL.md +0 -75
  207. package/skills/experience-record-discovery-query/SKILL.md +0 -227
  208. package/skills/experience-regenerate-previews-open/SKILL.md +0 -94
  209. package/skills/experience-sales-cloud-mab-configure/SKILL.md +0 -254
  210. package/skills/experience-schema-builder-open/SKILL.md +0 -38
  211. package/skills/experience-simple-record-home-configure/SKILL.md +0 -110
  212. package/skills/experience-static-resources-configure/SKILL.md +0 -74
  213. package/skills/field-service-setup-coordinate/SKILL.md +0 -62
  214. package/skills/field-service-work-plan-configure/SKILL.md +0 -253
  215. package/skills/fsc-actionable-segmentation-settings-configure/SKILL.md +0 -180
  216. package/skills/fsc-digital-origination-bre-decision-matrix-foundation-create/SKILL.md +0 -196
  217. package/skills/fsc-digital-origination-bre-disclosures-consent-configure/SKILL.md +0 -106
  218. package/skills/fsc-digital-origination-bre-document-upload-configure/SKILL.md +0 -96
  219. package/skills/fsc-digital-origination-bre-permissions-assign/SKILL.md +0 -111
  220. package/skills/fsc-digital-origination-bre-setup-coordinate/SKILL.md +0 -250
  221. package/skills/fsc-digital-origination-bre-stp-eligibility-configure/SKILL.md +0 -122
  222. package/skills/fsc-digital-origination-coordinate/SKILL.md +0 -653
  223. package/skills/fsc-digital-origination-demo-run/SKILL.md +0 -225
  224. package/skills/fsc-digital-origination-execution-guardrails-validate/SKILL.md +0 -112
  225. package/skills/fsc-digital-origination-initial-setup-configure/SKILL.md +0 -396
  226. package/skills/fsc-digital-origination-pricing-setup-coordinate/SKILL.md +0 -336
  227. package/skills/fsc-digital-origination-pricing-setup-data-foundation-create/SKILL.md +0 -208
  228. package/skills/fsc-digital-origination-pricing-setup-procedure-create/SKILL.md +0 -375
  229. package/skills/fsc-digital-origination-product-setup-act1-permissions-assign/SKILL.md +0 -83
  230. package/skills/fsc-digital-origination-product-setup-coordinate/SKILL.md +0 -248
  231. package/skills/fsc-digital-origination-sample-data-create/SKILL.md +0 -206
  232. package/skills/fsc-document-checklist-settings-configure/SKILL.md +0 -57
  233. package/skills/fsc-flexible-hierarchy-configure/SKILL.md +0 -148
  234. package/skills/fsc-flexible-hierarchy-foundation-configure/SKILL.md +0 -1430
  235. package/skills/fsc-flexible-hierarchy-graph-config-create/SKILL.md +0 -471
  236. package/skills/fsc-flexible-hierarchy-rule-based-graph-deploy/SKILL.md +0 -429
  237. package/skills/fsc-pricing-product-configurator-configure/SKILL.md +0 -150
  238. package/skills/fsc-pricing-salesforce-omnistudio-switch/SKILL.md +0 -123
  239. package/skills/fsc-product-act2-catalog-categories-create/SKILL.md +0 -82
  240. package/skills/fsc-product-act3-attributes-create/SKILL.md +0 -249
  241. package/skills/fsc-product-act4-classification-assignment-create/SKILL.md +0 -196
  242. package/skills/fsc-product-act5-considerations-get/SKILL.md +0 -44
  243. package/skills/fsc-stage-management-apex-flow-deploy/SKILL.md +0 -384
  244. package/skills/fsc-stage-management-compliant-data-sharing-configure/SKILL.md +0 -144
  245. package/skills/fsc-stage-management-decision-matrices-create/SKILL.md +0 -107
  246. package/skills/fsc-stage-management-definition-assignments-create/SKILL.md +0 -189
  247. package/skills/fsc-stage-management-definition-create/SKILL.md +0 -108
  248. package/skills/fsc-stage-management-permissions-assign/SKILL.md +0 -143
  249. package/skills/fsc-stage-management-transitions-configure/SKILL.md +0 -139
  250. package/skills/health-cloud-appt-booking-config-configure/SKILL.md +0 -135
  251. package/skills/health-cloud-appt-booking-url-config-configure/SKILL.md +0 -134
  252. package/skills/health-cloud-care-provider-affl-role-config-configure/SKILL.md +0 -136
  253. package/skills/health-cloud-care-provider-search-config-configure/SKILL.md +0 -134
  254. package/skills/health-cloud-care-requests-create/SKILL.md +0 -178
  255. package/skills/health-cloud-initial-configure/SKILL.md +0 -511
  256. package/skills/health-cloud-patient-appointment-scheduling-configure/SKILL.md +0 -1374
  257. package/skills/health-cloud-provider-search-settings-configure/SKILL.md +0 -924
  258. package/skills/health-cloud-referral-management-coordinate/SKILL.md +0 -513
  259. package/skills/health-cloud-timeline-configure/SKILL.md +0 -622
  260. package/skills/health-cloud-virtual-visit-config-configure/SKILL.md +0 -135
  261. package/skills/industries-account-score-settings-query/SKILL.md +0 -78
  262. package/skills/industries-actionable-list-data-sources-dmo-configure/SKILL.md +0 -177
  263. package/skills/industries-ad-product-availability-search/SKILL.md +0 -399
  264. package/skills/industries-advanced-account-forecast-settings-configure/SKILL.md +0 -628
  265. package/skills/industries-advanced-therapy-management-settings-configure/SKILL.md +0 -73
  266. package/skills/industries-atm-settings-starter-configure/SKILL.md +0 -76
  267. package/skills/industries-batch-document-ai-configure/SKILL.md +0 -196
  268. package/skills/industries-behavioral-health-app-settings-configure/SKILL.md +0 -71
  269. package/skills/industries-branch-management-settings-configure/SKILL.md +0 -89
  270. package/skills/industries-bre-decision-table-access-configure/SKILL.md +0 -367
  271. package/skills/industries-brokerage-settings-configure/SKILL.md +0 -41
  272. package/skills/industries-calendar-sync-settings-configure/SKILL.md +0 -89
  273. package/skills/industries-care-request-settings-configure/SKILL.md +0 -218
  274. package/skills/industries-case-management-intelligence-settings-configure/SKILL.md +0 -54
  275. package/skills/industries-catalog-process-attributes-products-configure/SKILL.md +0 -380
  276. package/skills/industries-catalog-process-fulfillment-configure/SKILL.md +0 -216
  277. package/skills/industries-catalog-process-intake-configure/SKILL.md +0 -219
  278. package/skills/industries-catalog-process-knowledge-configure/SKILL.md +0 -153
  279. package/skills/industries-catalog-process-preprocessor-configure/SKILL.md +0 -168
  280. package/skills/industries-cds-general-settings-configure/SKILL.md +0 -69
  281. package/skills/industries-claim-financial-settings-configure/SKILL.md +0 -169
  282. package/skills/industries-clinical-data-model-settings-configure/SKILL.md +0 -136
  283. package/skills/industries-clinical-data-model-settings-starter-configure/SKILL.md +0 -105
  284. package/skills/industries-collection-plan-settings-configure/SKILL.md +0 -132
  285. package/skills/industries-comms-service-console-settings-configure/SKILL.md +0 -159
  286. package/skills/industries-compliance-configure/SKILL.md +0 -102
  287. package/skills/industries-compliance-document-extraction-setup-configure/SKILL.md +0 -76
  288. package/skills/industries-contact-center-app-layout-configure/SKILL.md +0 -88
  289. package/skills/industries-contact-center-components-configure/SKILL.md +0 -96
  290. package/skills/industries-contact-center-path-knowledge-configure/SKILL.md +0 -95
  291. package/skills/industries-contact-center-user-access-assign/SKILL.md +0 -96
  292. package/skills/industries-course-waitlist-config-configure/SKILL.md +0 -162
  293. package/skills/industries-crisis-center-settings-configure/SKILL.md +0 -84
  294. package/skills/industries-custom-object-settings-configure/SKILL.md +0 -94
  295. package/skills/industries-data-cloud-integration-configure/SKILL.md +0 -88
  296. package/skills/industries-data-space-feature-mappings-configure/SKILL.md +0 -245
  297. package/skills/industries-decision-matrix-builder-configure/SKILL.md +0 -78
  298. package/skills/industries-decision-table-hbase-configure/SKILL.md +0 -87
  299. package/skills/industries-decision-table-version-configure/SKILL.md +0 -74
  300. package/skills/industries-decision-tables-builder-configure/SKILL.md +0 -253
  301. package/skills/industries-decision-tables-configure/SKILL.md +0 -439
  302. package/skills/industries-energy-utilities-configure/SKILL.md +0 -251
  303. package/skills/industries-eu-cloud-multisite-configure/SKILL.md +0 -1008
  304. package/skills/industries-eu-new-connections-configure/SKILL.md +0 -30
  305. package/skills/industries-explainability-msg-template-configure/SKILL.md +0 -135
  306. package/skills/industries-expression-set-message-token-configure/SKILL.md +0 -135
  307. package/skills/industries-field-service-settings-configure/SKILL.md +0 -82
  308. package/skills/industries-form-framework-settings-configure/SKILL.md +0 -30
  309. package/skills/industries-fsc-ai-settings-configure/SKILL.md +0 -57
  310. package/skills/industries-fsc-association-engine-settings-configure/SKILL.md +0 -172
  311. package/skills/industries-fsc-b2b-settings-configure/SKILL.md +0 -61
  312. package/skills/industries-fsc-insurance-settings-configure/SKILL.md +0 -58
  313. package/skills/industries-fsc-visa-fulfillment-setup-configure/SKILL.md +0 -103
  314. package/skills/industries-fsc-wealth-agent-settings-configure/SKILL.md +0 -117
  315. package/skills/industries-fsc-wealth-settings-configure/SKILL.md +0 -99
  316. package/skills/industries-fundraising-gift-entry-settings-configure/SKILL.md +0 -120
  317. package/skills/industries-fundraising-rfm-configure/SKILL.md +0 -128
  318. package/skills/industries-fundraising-settings-configure/SKILL.md +0 -145
  319. package/skills/industries-fundraising-source-code-gen-configure/SKILL.md +0 -299
  320. package/skills/industries-google-maps-api-key-settings-configure/SKILL.md +0 -87
  321. package/skills/industries-grantmaking-intelligence-settings-open/SKILL.md +0 -58
  322. package/skills/industries-hc-score-category-settings-configure/SKILL.md +0 -167
  323. package/skills/industries-health-engagement-settings-configure/SKILL.md +0 -218
  324. package/skills/industries-home-health-agentforce-setup-configure/SKILL.md +0 -131
  325. package/skills/industries-home-health-bundling-policy-create/SKILL.md +0 -50
  326. package/skills/industries-home-health-entity-labels-configure/SKILL.md +0 -29
  327. package/skills/industries-home-health-fsl-package-deploy/SKILL.md +0 -71
  328. package/skills/industries-home-health-fsl-settings-validate/SKILL.md +0 -27
  329. package/skills/industries-home-health-guided-setup-care-and-skill-get/SKILL.md +0 -80
  330. package/skills/industries-home-health-guided-setup-configure/SKILL.md +0 -836
  331. package/skills/industries-home-health-guided-setup-enable-org-fsl-get/SKILL.md +0 -55
  332. package/skills/industries-home-health-guided-setup-get-org-ready-get/SKILL.md +0 -61
  333. package/skills/industries-home-health-licenses-assign/SKILL.md +0 -27
  334. package/skills/industries-home-health-operating-hours-create/SKILL.md +0 -40
  335. package/skills/industries-home-health-scheduling-policy-create/SKILL.md +0 -41
  336. package/skills/industries-home-health-service-objective-create/SKILL.md +0 -22
  337. package/skills/industries-home-health-skills-create/SKILL.md +0 -31
  338. package/skills/industries-home-health-users-create/SKILL.md +0 -29
  339. package/skills/industries-icm-act3-toggles-configure/SKILL.md +0 -198
  340. package/skills/industries-icm-act5-genai-suggested-assessments-configure/SKILL.md +0 -361
  341. package/skills/industries-icm-act6-mcg-integration-configure/SKILL.md +0 -550
  342. package/skills/industries-integrated-care-management-configure/SKILL.md +0 -168
  343. package/skills/industries-object-enablement-configure/SKILL.md +0 -86
  344. package/skills/industries-tpm-system-processing-service-configure/SKILL.md +0 -64
  345. package/skills/integration-apex-settings-configure/SKILL.md +0 -61
  346. package/skills/marketing-e360-email-archiving-configure/SKILL.md +0 -73
  347. package/skills/platform-custom-permissions-configure/SKILL.md +0 -687
  348. package/skills/platform-label-workbench-import-create/SKILL.md +0 -67
  349. package/skills/platform-privacy-agent-settings-configure/SKILL.md +0 -752
@@ -1,92 +0,0 @@
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.
@@ -1,88 +0,0 @@
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.
@@ -1,152 +0,0 @@
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.