
Sf Datacloud
Model Salesforce Data Cloud objects—activation targets, segment activations, calculated insights, data actions, and Customer 360 graphs—for CRM-centric solo products and client integrations.
Overview
sf-datacloud is an agent skill for the Build phase that supplies Salesforce Data Cloud JSON patterns for activations, insights, data actions, and Customer 360 graphs.
Install
npx skills add https://github.com/jaganpro/sf-skills --skill sf-datacloudWhat is this skill?
- Example CRM_Target activation target for downstream CRM destinations
- High_Value_Customers_Activation pattern linking published segments to activation targets
- Lifetime_Value calculated insight sample with CALCULATED_METRIC over order-style DMOs
- Webhook_Target and Notify_High_Value_Customer_System data action wiring examples
- Customer_360_Graph sample rooted on UnifiedssotIndividualMain__dlm with related fields
- Multiple example object types in one skill: activation targets, segment activations, calculated insights, data actions,
Adoption & trust: 883 installs on skills.sh; 418 GitHub stars; 2/3 security scanners passed (skills.sh audits).
What problem does it solve?
You are integrating Salesforce Data Cloud but lack copy-paste-safe shapes for activation targets, segment activations, calculated insights, and unified profile graphs.
Who is it for?
Indie consultants or builders wiring Data Cloud segments and activations into CRM or webhook destinations on a Salesforce-backed SaaS or client project.
Skip if: Teams without a Data Cloud license or anyone only needing standard Salesforce REST SOQL APIs unrelated to DMOs and activations.
When should I use this skill?
Implementing or extending Salesforce Data Cloud activation targets, segment publishing, calculated insights, data action delivery, or Customer 360 graph definitions.
What do I get? / Deliverables
You get working example definitions for CRM and webhook targets, segment activations, calculated metrics, data actions, and a Customer 360 graph root you can adapt in your org.
- Activation target metadata (e.g., CRM_Target, Webhook_Target)
- Segment activation and calculated insight definitions tied to DMOs
- Data action definitions and Customer 360 graph starter structure
Recommended Skills
Journey fit
Data Cloud configuration is integration and platform wiring during product build, before you treat segments as a pure growth analytics routine. Integrations fits because the skill’s payloads define connectors to CRM targets, webhooks, downstream activations, and unified profile graph structures on Salesforce’s data plane.
How it compares
Salesforce Data Cloud metadata templates—not a general marketing automation or non-Salesforce CDP integration skill.
Common Questions / FAQ
Who is sf-datacloud for?
Solo developers and small teams building on Salesforce Data Cloud who need agent help drafting activation, insight, and graph metadata.
When should I use sf-datacloud?
During Build integrations while defining activation targets, publishing segment activations, calculated insights on DMOs, data actions, or Customer 360 graph roots.
Is sf-datacloud safe to install?
Treat example JSON as templates only; review the Security Audits panel on this Prism page and validate metadata in a sandbox before deploying to production orgs.
SKILL.md
READMESKILL.md - Sf Datacloud
{ "developerName": "CRM_Target", "displayName": "CRM Target", "description": "Example activation target definition for a downstream destination" } { "developerName": "High_Value_Customers_Activation", "displayName": "High Value Customers Activation", "description": "Example activation linking a published segment to a destination target", "segmentName": "High_Value_Customers", "activationTargetName": "CRM_Target" } { "developerName": "Lifetime_Value", "displayName": "Lifetime Value", "description": "Example calculated insight over an order-style DMO", "definitionType": "CALCULATED_METRIC", "expression": "SELECT ssot__IndividualId__c, SUM(ssot__TotalAmount__c) AS total_spend FROM ssot__SalesOrder__dlm GROUP BY ssot__IndividualId__c" } { "developerName": "Webhook_Target", "displayName": "Webhook Target", "description": "Example data action target for downstream delivery" } { "developerName": "Notify_High_Value_Customer_System", "displayName": "Notify High Value Customer System", "description": "Example data action definition that uses a downstream data action target" } { "developerName": "Customer_360_Graph", "displayName": "Customer 360 Graph", "description": "Example Data Graph rooted on a unified customer entity", "sourceObject": { "name": "UnifiedssotIndividualMain__dlm", "type": "derived", "fields": [ { "name": "ssot__Id__c" }, { "name": "ssot__FirstName__c" }, { "name": "ssot__LastName__c" } ], "relatedObjects": [] } } { "name": "Customer_Stream", "label": "Customer Stream", "datasource": "SalesforceDotCom_Home", "datastreamType": "CONNECTORSFRAMEWORK", "connectorInfo": { "connectorType": "SalesforceDotCom", "connectorDetails": { "name": "SalesforceDotCom_Home", "sourceObject": "Custom_Object__c" } }, "dataLakeObjectInfo": { "label": "Customer", "name": "Customer__dll", "category": "Profile", "dataspaceInfo": [ { "name": "Default" } ], "dataLakeFieldInputRepresentations": [ { "name": "Id", "label": "Record ID", "dataType": "Text", "isPrimaryKey": true }, { "name": "External_Id_c", "label": "External ID", "dataType": "Text", "isPrimaryKey": false } ] }, "sourceFields": [ { "name": "Id", "dataType": "Text" }, { "name": "External_Id__c", "dataType": "Text" } ], "mappings": [], "refreshConfig": { "isAccelerationEnabled": true, "refreshMode": "UPSERT", "frequency": { "frequencyType": "HOURLY" } } } { "developerName": "Customer_Profile__dlm", "label": "Customer Profile", "category": "Profile", "fields": [ { "name": "External_Id_c__c", "label": "External ID", "type": "Text" }, { "name": "Preferred_Tier_c__c", "label": "Preferred Tier", "type": "Text" } ] } { "label": "Main", "description": "Generic identity resolution ruleset using customer identifiers and contact points", "configurationType": "individual", "rulesetId": "main", "doesRunAutomatically": false, "matchRules": [ { "label": "Exact Email", "criteria": [ { "entityName": "ssot__ContactPointEmail__dlm", "fieldName": "ssot__EmailAddress__c", "matchMethodType": "exactnormalized", "caseSensitiveMatch": false, "shouldMatchOnBlank": false } ] } ], "reconciliationRules": [ { "entityName": "ssot__Individual__dlm", "ruleType": "lastupdated", "shouldIgnoreEmptyValue": true, "sources": [], "fields": [] } ] } { "sourceObjectName": "Customer__dll", "targetObjectName": "Customer_Profile__dlm", "fieldMappings": [ { "sourceFieldName": "External_Id_c", "targetFieldName": "Ext