cross-cloud-data-deployment

Cross-cloud data deployment: designing the data handoff when an implementation spans Sales Cloud, Service Cloud, Marketing Cloud, Data Cloud, Commerce Cloud. Shared keys, identity resolution, sync vs event, CDC, Data Cloud as hub. NOT for single-cloud data model design (use sales-cloud-core-setup or service-cloud-core-setup). NOT for integration pattern selection (use integration-pattern-selection decision tree).

Best use case

cross-cloud-data-deployment is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Cross-cloud data deployment: designing the data handoff when an implementation spans Sales Cloud, Service Cloud, Marketing Cloud, Data Cloud, Commerce Cloud. Shared keys, identity resolution, sync vs event, CDC, Data Cloud as hub. NOT for single-cloud data model design (use sales-cloud-core-setup or service-cloud-core-setup). NOT for integration pattern selection (use integration-pattern-selection decision tree).

Teams using cross-cloud-data-deployment should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/cross-cloud-data-deployment/SKILL.md --create-dirs "https://raw.githubusercontent.com/PranavNagrecha/AwesomeSalesforceSkills/main/skills/architect/cross-cloud-data-deployment/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/cross-cloud-data-deployment/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How cross-cloud-data-deployment Compares

Feature / Agentcross-cloud-data-deploymentStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Cross-cloud data deployment: designing the data handoff when an implementation spans Sales Cloud, Service Cloud, Marketing Cloud, Data Cloud, Commerce Cloud. Shared keys, identity resolution, sync vs event, CDC, Data Cloud as hub. NOT for single-cloud data model design (use sales-cloud-core-setup or service-cloud-core-setup). NOT for integration pattern selection (use integration-pattern-selection decision tree).

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Cross-Cloud Data Deployment

Activate when an implementation spans multiple Salesforce clouds (Sales, Service, Marketing, Commerce, Data Cloud, Industries) and data must be consistent across them. Cross-cloud is less about "how do we integrate?" and more about "who owns which field, and how does the truth propagate?"

## Before Starting

- **Identify the system of record per entity.** Customer in Sales Cloud or Data Cloud? Product in Commerce or PIM? Case in Service or Industries? Write it down. Ambiguity here breaks everything downstream.
- **Draw the flows BEFORE picking tech.** A whiteboard diagram of data flowing between clouds is the artifact that drives integration selection, not the other way around.
- **Establish the shared key strategy early.** External IDs, Person IDs, Account IDs — whichever key ties clouds together must be chosen before data model finalization.

## Core Concepts

### Data Cloud as the hub

Data Cloud ingests from Sales / Service / Commerce / Marketing, performs identity resolution, builds a unified profile, and exposes back via Calculated Insights, Activations, and Zero Copy. It becomes the cross-cloud customer brain.

### Identity resolution

Matching rules (deterministic or probabilistic) collapse multiple Contact / Lead / Customer records across clouds into a Unified Individual. The rule set is per-org and evolves.

### Change Data Capture (CDC) vs Platform Events

CDC emits record-level field changes automatically; Platform Events are bespoke business events. For cross-cloud sync of CRUD, prefer CDC; for domain events (Order Shipped, Case Escalated), prefer Platform Events.

### Shared keys

External ID fields on each cloud point to a common reference. Pattern: every record carries the same `Global_Customer_Id__c` with External ID + Unique. Upserts become trivially safe.

## Common Patterns

### Pattern: Sales + Service co-resident; Marketing via Data Cloud

Sales and Service share one org (one Account, Contact). Data Cloud ingests from the org and from Marketing Cloud; Marketing activates segments back. Clean.

### Pattern: Sales + Commerce with Order propagation

Commerce creates Orders; OMS / Sales Cloud handles service. Use Platform Events for "Order Placed" rather than REST sync — decouples cadence.

### Pattern: Data Cloud Zero Copy for analytics, not operational

Zero Copy (Snowflake, BigQuery, Databricks) for analytics without duplication. NOT for operational sync — latency and semantics differ.

## Decision Guidance

| Situation | Recommended Approach | Reason |
|---|---|---|
| Shared customer identity across 3+ clouds | Data Cloud as hub | Native identity resolution |
| Sales ↔ Service single-org | Native relationships, no integration | Same org |
| Marketing engagement → Sales | Marketing Cloud Connect or Data Cloud Activation | Supported paths |
| Commerce order → Service case | Platform Events | Decoupled cadence |
| Analytics across clouds | Data Cloud + Zero Copy | No duplication |

## Recommended Workflow

1. Inventory the clouds in scope and the shared entities each owns.
2. Assign system-of-record per entity; document ownership explicitly.
3. Select shared keys; add External ID + Unique fields on each cloud.
4. Decide sync vs event per flow; pick CDC, Platform Events, Marketing Cloud Connect, or Data Cloud.
5. Design identity resolution rules in Data Cloud; validate with a two-cloud sample.
6. Plan the deployment order: data model first (shared keys), then integration, then activation.
7. Build an end-to-end smoke test from creation in cloud-A to arrival in cloud-B.

## Review Checklist

- [ ] System-of-record documented for every shared entity
- [ ] External ID + Unique present on every cross-cloud object
- [ ] Sync vs event decision made per flow
- [ ] Data Cloud identity resolution rules tested
- [ ] Deployment ordering respects key dependencies
- [ ] Error handling and replay designed for every flow
- [ ] Cross-cloud reporting strategy addressed

## Salesforce-Specific Gotchas

1. **Marketing Cloud Connect has its own identity model (Subscriber Key).** Mapping Subscriber Key to Data Cloud Unified Individual requires explicit rules.
2. **Data Cloud is not real-time for all flows.** Streaming ingestion + CI refresh can mean minutes of lag; do not architect operational flows around Data Cloud latency.
3. **CDC has order guarantees per record but not across records.** Cross-object consistency must come from a different mechanism.

## Output Artifacts

| Artifact | Description |
|---|---|
| Cross-cloud topology diagram | Clouds, flows, shared keys |
| System-of-record matrix | Entity × cloud with SoR marked |
| Shared key inventory | External IDs across clouds |
| Deployment ordering plan | Data model → integration → activation |

## Related Skills

- `architect/multi-cloud-architecture` — multi-cloud org strategy
- `integration/integration-pattern-selection` — mechanism choice
- `data/data-cloud-foundation` — Data Cloud specifics

Related Skills

sandbox-data-masking

8
from PranavNagrecha/AwesomeSalesforceSkills

Use this skill when configuring or reviewing Salesforce Data Mask to protect PII/PHI in partial or full copy sandboxes after a refresh. Trigger keywords: data mask, sandbox masking, PII in sandbox, GDPR sandbox, HIPAA non-production, mask contacts, obfuscate fields non-production. NOT for sandbox refresh mechanics (use sandbox-refresh-and-templates), NOT for production data anonymization, NOT for Shield Platform Encryption at rest.

salesforce-shield-deployment

8
from PranavNagrecha/AwesomeSalesforceSkills

Roll out Shield (Platform Encryption + Event Monitoring + Field Audit Trail) end-to-end, sequencing feature enablement to avoid data lockout. NOT for Classic Encryption or general PE design.

gdpr-data-privacy

8
from PranavNagrecha/AwesomeSalesforceSkills

Use this skill when implementing GDPR or CCPA data privacy controls in Salesforce: Individual sObject linkage, consent tracking, Right to Be Forgotten (RTBF) requests, data subject request handling, and Privacy Center configuration. Trigger keywords: GDPR, data privacy, consent management, right to erasure, Individual object, ContactPointConsent, ShouldForget, data subject request, Privacy Center, data portability. NOT for general data quality cleanup, duplicate management, field-level encryption (see platform-encryption skill), or sandbox data masking (see sandbox-data-masking skill).

experience-cloud-security

8
from PranavNagrecha/AwesomeSalesforceSkills

Use when configuring access controls, sharing, or site security for authenticated or guest Experience Cloud (community) users: external OWD, Sharing Sets, Share Groups, CSP, clickjack protection, guest user record access. NOT for internal sharing model configuration (use sharing-and-visibility).

data-classification-labels

8
from PranavNagrecha/AwesomeSalesforceSkills

Classify Salesforce fields by data sensitivity and compliance category using the four built-in classification attributes (SecurityClassification, ComplianceGroup, BusinessOwnerId, BusinessStatus). Covers Metadata API deployment, Tooling API querying, and Einstein Data Detect recommendations. NOT for data masking, Shield Platform Encryption, or runtime access control enforcement.

customer-data-request-workflow

8
from PranavNagrecha/AwesomeSalesforceSkills

Implement GDPR/CCPA data subject rights (access, deletion, rectification) using Salesforce Privacy Center and/or custom workflow. NOT for general backup or org-level data retention policy.

omnistudio-deployment-datapacks

8
from PranavNagrecha/AwesomeSalesforceSkills

Use when exporting, importing, or version-controlling OmniStudio components using DataPacks via the OmniStudio DataPacks tool or vlocity CLI. Covers DataPack export/import, Git version control integration, CI/CD for OmniStudio. NOT for SFDX-based metadata deployment of non-OmniStudio components.

omnistudio-asynchronous-data-operations

8
from PranavNagrecha/AwesomeSalesforceSkills

Use Integration Procedures queues, DataRaptor Chain, and Remote Actions with async patterns for long-running OmniStudio flows. NOT for simple DataRaptor reads.

dataraptor-transform-optimization

8
from PranavNagrecha/AwesomeSalesforceSkills

Use when DataRaptor Transform operations are slow, hit governor limits, or use Apex where formula fields would suffice. Covers formula vs Apex expressions, bulk transform sizing, and chained transform composition. Triggers: 'dataraptor transform slow', 'dataraptor formula vs apex', 'dataraptor bulk transform', 'dr governor limit'. NOT for DataRaptor Extract or Load performance.

dataraptor-patterns

8
from PranavNagrecha/AwesomeSalesforceSkills

Use when designing or reviewing OmniStudio DataRaptors, especially Extract versus Turbo Extract versus Transform versus Load, field mapping strategy, performance tradeoffs, and when to move work into Integration Procedures or Apex. Triggers: 'DataRaptor Extract', 'Turbo Extract', 'DataRaptor Load', 'DataRaptor Transform', 'OmniStudio data mapping'. NOT for overall OmniScript journey design or Integration Procedure sequencing when the main question is not the DataRaptor shape itself.

lwc-datatable-advanced

8
from PranavNagrecha/AwesomeSalesforceSkills

Advanced lightning-datatable patterns — inline edit + draftValues, custom cell types via extending LightningDatatable, sortable columns, infinite scroll with onloadmore, row-level errors, and the cost of large data sets. NOT for read-only display of small lists (plain lightning-datatable suffices) or fully custom grids (use a third-party library).

lwc-data-table

8
from PranavNagrecha/AwesomeSalesforceSkills

Use when designing or reviewing `lightning-datatable` usage in Lightning Web Components, including column configuration, stable `key-field` values, inline editing, row actions, infinite loading, and custom cell types. Triggers: 'lightning datatable inline edit', 'row actions in lwc datatable', 'key field missing', 'infinite loading in datatable'. NOT for highly custom virtualized grids or broad page-performance work outside the datatable boundary.