CloudSketch AI Logo
FeaturesTemplatesPricingEnterpriseAboutContactLog in
πŸŒ™β˜€οΈ
Log inStart free
Home/Templates/Marketing, CRM & Support

πŸ“£ Marketing, CRM & Support Β· C4 Architecture Β· Pro

Customer Data Platform

A customer data platform that joins a customer's activity from website, app, store and support into one profile, and sends audiences to marketing tools.

More Marketing, CRM & Support templates

C4 Architecture diagrams are part of Pro. Anyone can view this one; generating and editing it needs Pro.

Drawing diagram…

What this diagram shows

  • Events from every channel are joined into one profile
  • Consent is checked before a profile is used for marketing
  • Audiences sync to ad and messaging tools automatically

Prompt used

Customer data platform: website and app send events through a tracking SDK to a collection API. Store sales and support tickets arrive through connectors. An identity resolution service merges records by email, phone and device into unified profiles stored in a profile database. A consent service records opt-ins. Marketers build audiences in a segment builder, which syncs audiences to Meta Ads, Google Ads and an email/WhatsApp tool.

Mermaid code
C4Container
title Customer Data Platform
Person(mkt, "Marketer", "Builds audiences")
System_Boundary(cdp, "CDP") {
  Container(col, "Collection API", "Node.js", "Receives events")
  Container(idr, "Identity Resolution", "Scala / Spark", "Merges records into profiles")
  Container(cons, "Consent Service", "Java", "Opt-ins per channel")
  Container(seg, "Segment Builder", "React + API", "Audience rules")
  Container(sync, "Audience Sync", "Python", "Pushes audiences to tools")
  ContainerDb(prof, "Profile Store", "Cassandra", "Unified profiles")
}
System_Ext(web, "Website and App", "Tracking SDK")
System_Ext(src, "Store POS and Helpdesk", "Connectors")
System_Ext(dest, "Ad and Messaging Tools", "Meta, Google, WhatsApp")
Rel(web, col, "Events", "HTTPS")
Rel(src, idr, "Sales and tickets")
Rel(col, idr, "Events")
Rel(idr, prof, "Writes profiles")
Rel(mkt, seg, "Uses")
Rel(seg, prof, "Queries")
Rel(seg, cons, "Checks consent")
Rel(sync, seg, "Reads audiences")
Rel(sync, dest, "Syncs audiences")

Inside this diagram

A C4 architecture diagram of Customer Data Platform with 1 person, 6 building blocks, 3 outside systems and 9 relationships.

People

  • Marketer: Builds audiences

Inside the system

  • Collection API (Node.js): Receives events
  • Identity Resolution (Scala / Spark): Merges records into profiles
  • Consent Service (Java): Opt-ins per channel
  • Segment Builder (React + API): Audience rules
  • Audience Sync (Python): Pushes audiences to tools

Databases and queues

  • Profile Store (Cassandra): Unified profiles

Outside systems

  • Website and App: Tracking SDK
  • Store POS and Helpdesk: Connectors
  • Ad and Messaging Tools: Meta, Google, WhatsApp

Boundaries

  • CDP

How they connect

  • Website and App β†’ Collection API: Events (HTTPS)
  • Store POS and Helpdesk β†’ Identity Resolution: Sales and tickets
  • Collection API β†’ Identity Resolution: Events
  • Identity Resolution β†’ Profile Store: Writes profiles
  • Marketer β†’ Segment Builder: Uses
  • Segment Builder β†’ Profile Store: Queries
  • Segment Builder β†’ Consent Service: Checks consent
  • Audience Sync β†’ Segment Builder: Reads audiences
  • Audience Sync β†’ Ad and Messaging Tools: Syncs audiences

Make your own diagram like this

Describe your own system in plain English and the AI C4 diagram generator draws it in seconds, in the same style as this template.

Related templates

State MachineMarketing, CRM & Support

Helpdesk Ticket Lifecycle

The states of a customer support ticket, from creation through assignment, waiting on the customer, resolution and reopening.

FlowchartMarketing, CRM & Support

Contact Centre Call Routing

How an incoming support call is routed: caller recognition, IVR menu, self-service options and routing to the right skilled agent queue.

SequenceMarketing, CRM & Support

Email Campaign Send Sequence

How a marketing email campaign is sent: audience built, consent checked, emails personalised and sent in batches, and opens and clicks tracked.

Database ERDMarketing, CRM & Support

CRM Sales Pipeline Schema

Tables for a B2B sales CRM: accounts, contacts, leads, opportunities moving through stages, activities and quotes.

SankeyMarketing, CRM & Support

Marketing Funnel

How visitors flow from marketing channels to sign-ups, trials and paying customers in a month, to see which channel brings buyers, not just traffic.

SequenceMarketing, CRM & Support

WhatsApp Support Bot with Agent Handover

How a WhatsApp support bot answers common questions and hands the chat to a human agent, with the full conversation, when it can't help.