
📣 Marketing, CRM & Support · C4 Architecture · Pro
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.
C4 Architecture diagrams are part of Pro. Anyone can view this one; generating and editing it needs Pro.
Drawing diagram…
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.
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")The states of a customer support ticket, from creation through assignment, waiting on the customer, resolution and reopening.
How an incoming support call is routed: caller recognition, IVR menu, self-service options and routing to the right skilled agent queue.
How a marketing email campaign is sent: audience built, consent checked, emails personalised and sent in batches, and opens and clicks tracked.
Tables for a B2B sales CRM: accounts, contacts, leads, opportunities moving through stages, activities and quotes.
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.
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.