
Segmenting Datacloud
- 2k installs
- 763 repo stars
- Updated July 24, 2026
- forcedotcom/sf-skills
segmenting-datacloud is an agent skill that Salesforce Data Cloud Segment phase. Use this skill when the user creates or publishes segments, manages calculated insi.
About
segmenting datacloud Data Cloud Segment Phase Use this skill when the user needs audience and insight work segments calculated insights publish workflows member counts or troubleshooting Data Cloud segment SQL Use segmenting datacloud when the work involves sf data360 segment sf data360 calculated insight segment publish workflows member counts and segment troubleshooting calculated insight execution and verification Delegate elsewhere when the user is still building Data Model Objects DMOs mappings or identity resolution harmonizing datacloud harmonizing datacloud SKILL md activating a segment downstream activating datacloud activating datacloud SKILL md writing read only SQL or search index queries retrieving datacloud retrieving datacloud SKILL md Ask for or infer target org alias unified DMO Data Model Object or base entity name whether the user wants create publish inspect or troubleshoot whether the asset is a segment or calculated insight expected success metric member count aggregate value or publish status
- description: "Salesforce Data Cloud Segment phase. Use this skill when the user creates or publishes segments, manages c
- compatibility: "Requires an external community sf data360 CLI plugin and a Data Cloud-enabled org"
- Use this skill when the user needs **audience and insight work**: segments, calculated insights, publish workflows, memb
- Follow segmenting-datacloud SKILL.md steps and documented constraints.
- Follow segmenting-datacloud SKILL.md steps and documented constraints.
Segmenting Datacloud by the numbers
- 1,981 all-time installs (skills.sh)
- +6 installs in the week ending Jul 28, 2026 (Skillselion tracking)
- Ranked #597 of 16,659 AI & Agent Building skills by installs in the Skillselion catalog
- Security screen: LOW risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
segmenting-datacloud capabilities & compatibility
- Capabilities
- description: "salesforce data cloud segment phas · compatibility: "requires an external community s · use this skill when the user needs **audience an · follow segmenting datacloud skill.md steps and d
- Use cases
- orchestration
What segmenting-datacloud says it does
description: "Salesforce Data Cloud Segment phase. Use this skill when the user creates or publishes segments, manages calculated insights, or troubleshoots audience SQL in Data Cloud. TRIGGER when: u
compatibility: "Requires an external community sf data360 CLI plugin and a Data Cloud-enabled org"
Use this skill when the user needs **audience and insight work**: segments, calculated insights, publish workflows, member counts, or troubleshooting Data Cloud segment SQL.
npx skills add https://github.com/forcedotcom/sf-skills --skill segmenting-datacloudAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 2k |
|---|---|
| repo stars | ★ 763 |
| Security audit | 3 / 3 scanners passed |
| Last updated | July 24, 2026 |
| Repository | forcedotcom/sf-skills ↗ |
When should an agent use segmenting-datacloud and what problem does it solve?
Salesforce Data Cloud Segment phase. Use this skill when the user creates or publishes segments, manages calculated insights, or troubleshoots audience SQL in Data Cloud. TRIGGER when: user creates or
Who is it for?
Developers invoking segmenting-datacloud as documented in the skill source.
Skip if: Skip when requirements fall outside segmenting-datacloud documented scope.
When should I use this skill?
Salesforce Data Cloud Segment phase. Use this skill when the user creates or publishes segments, manages calculated insights, or troubleshoots audience SQL in Data Cloud. TRIGGER when: user creates or
What you get
Outputs aligned with the segmenting-datacloud SKILL.md workflow and stated deliverables.
- Published segments
- Calculated insights
- Segment count verification
Files
segmenting-datacloud: Data Cloud Segment Phase
Use this skill when the user needs audience and insight work: segments, calculated insights, publish workflows, member counts, or troubleshooting Data Cloud segment SQL.
When This Skill Owns the Task
Use segmenting-datacloud when the work involves:
sf data360 segment *sf data360 calculated-insight *- segment publish workflows
- member counts and segment troubleshooting
- calculated insight execution and verification
Delegate elsewhere when the user is:
- still building Data Model Objects (DMOs), mappings, or identity resolution → harmonizing-datacloud
- activating a segment downstream → activating-datacloud
- writing read-only SQL or search-index queries → retrieving-datacloud
---
Required Context to Gather First
Ask for or infer:
- target org alias
- unified DMO (Data Model Object) or base entity name
- whether the user wants create, publish, inspect, or troubleshoot
- whether the asset is a segment or calculated insight
- expected success metric: member count, aggregate value, or publish status
---
Core Operating Rules
- Treat Data Cloud segment SQL as distinct from CRM SOQL.
- Run the shared readiness classifier from the
orchestrating-datacloudskill before mutating audience assets:node ../orchestrating-datacloud/scripts/diagnose-org.mjs -o <org> --phase segment --json. - Prefer reusable JSON definitions for repeatable segment and CI creation.
- Use
--api-version 64.0when segment creation behavior is unstable on newer defaults. - Verify with counts or SQL after publish/run steps instead of assuming success.
- Use SQL joins rather than
segment memberswhen readable member details are needed.
---
Recommended Workflow
1. Classify readiness for segment work
node ../orchestrating-datacloud/scripts/diagnose-org.mjs -o <org> --phase segment --json2. Inspect current state
sf data360 segment list -o <org> 2>/dev/null
sf data360 calculated-insight list -o <org> 2>/dev/null3. Create with reusable JSON definitions
sf data360 segment create -o <org> -f segment.json --api-version 64.0 2>/dev/null
sf data360 calculated-insight create -o <org> -f ci.json 2>/dev/null4. Publish or run explicitly
sf data360 segment publish -o <org> --name My_Segment 2>/dev/null
sf data360 calculated-insight run -o <org> --name Lifetime_Value 2>/dev/null5. Verify with counts or SQL
sf data360 segment count -o <org> --name My_Segment 2>/dev/null
sf data360 query sql -o <org> --sql 'SELECT COUNT(*) FROM "UnifiedssotIndividualMain__dlm"' 2>/dev/null---
High-Signal Gotchas
- Segment creation can require
--api-version 64.0. segment membersreturns opaque IDs; use SQL joins when human-readable member details are needed.- Segment SQL is not SOQL.
- Calculated insight assets and segment SQL have different limitations.
- Publish/run steps may kick off asynchronous work even when the command returns quickly.
- An empty segment or calculated-insight list usually means the module is reachable but unconfigured, not unavailable.
---
Output Format
Segment task: <segment / calculated-insight>
Action: <create / publish / inspect / troubleshoot>
Target org: <alias>
Artifacts: <definition files / commands>
Verification: <member count / query result / publish state>
Next step: <act / retrieve / follow-up>---
References
- README.md
- ../orchestrating-datacloud/assets/definitions/calculated-insight.template.json
- ../orchestrating-datacloud/assets/definitions/segment.template.json
- ../orchestrating-datacloud/references/feature-readiness.md
- ../orchestrating-datacloud/UPSTREAM.md
Credits & Acknowledgments
This skill is part of the *-datacloud family of skills covering the Salesforce Data Cloud workflow phases. Shared definitions, templates, and readiness scripts for this family live in the orchestrating-datacloud skill directory.
segmenting-datacloud
Audience and insight workflows for Salesforce Data Cloud.
Use this skill for
- creating and publishing segments
- managing calculated insights
- checking segment counts
- troubleshooting segment SQL
- understanding why a segment is empty or unexpectedly large
Example requests
"Create a high-value customer segment in Data Cloud"
"Why is my segment returning zero members?"
"Run this calculated insight and help me verify it"
"Show me how to get member counts for this segment"Common commands
sf data360 segment list -o myorg 2>/dev/null
sf data360 segment create -o myorg -f segment.json --api-version 64.0 2>/dev/null
sf data360 segment publish -o myorg --name High_Value_Customers 2>/dev/null
sf data360 calculated-insight list -o myorg 2>/dev/nullReferences
- SKILL.md
- ../orchestrating-datacloud/assets/definitions/calculated-insight.template.json
- ../orchestrating-datacloud/assets/definitions/segment.template.json
- CREDITS.md
Related skills
Forks & variants (1)
Segmenting Datacloud has 1 known copy in the catalog totaling 518 installs. They canonicalize to this original listing.
- forcedotcom - 518 installs
How it compares
Use segmenting-datacloud for Data Cloud audience and insight work; use orchestrating-datacloud when coordinating the full multi-phase Data Cloud workflow.
FAQ
What is segmenting-datacloud?
Salesforce Data Cloud Segment phase. Use this skill when the user creates or publishes segments, manages calculated insights, or troubleshoots audience SQL in Data Cloud. TRIGGER w
When should I use segmenting-datacloud?
Salesforce Data Cloud Segment phase. Use this skill when the user creates or publishes segments, manages calculated insights, or troubleshoots audience SQL in Data Cloud. TRIGGER w
Is segmenting-datacloud safe to install?
Review the Security Audits panel on this page before production use.