Acme Marketing Architecture

Level 1 — System Context — Marketing Data Platform

Level 1 — System Context — Marketing Data Platform

Diagram type: System Context Scope: the Marketing Data Platform as one box, the people who use it, and the external systems it reads from and notifies. Audience: everyone, including non-technical stakeholders. Structurizr view: Context in structurizr/workspace.dsl

Overview

Acme Marketing Group consolidates Salesforce, HubSpot and Google Ads into one platform for reporting, analytics and operational visibility. The platform only ever reads from the three sources (principle BP-04); the single inbound traffic is HubSpot webhooks, which carry object ids and property names, never records. Five kinds of people use it. It notifies people through Teams and email, notifies systems through webhooks, a message topic and Server-Sent Events, and delivers signed-off reports to recipients over whatever channel their contract requires.

Diagram

C4Context
    title System Context diagram for the Marketing Data Platform
    Person(mktops, "Marketing Operations", "Reviews daily performance, acts on alerts, paces campaigns")
    Person(analyst, "Marketing Analyst", "Runs funnel and attribution analysis on Gold")
    Person(finance, "Finance", "Reconciles spend with invoices; reviews restatements")
    Person(dataeng, "Data Engineering", "Operates ingestion; triggers reloads and replays")
    Person(dpo, "Data Protection Officer", "Owns the classification register; triggers and signs off erasure")
    System(platform, "Marketing Data Platform", "Ingests, retains, conforms and serves marketing data through a Bronze, Silver, Gold lakehouse; replaces identifiers with vault tokens before Bronze; publishes business events and signed-off reports")
    System_Ext(sf, "Salesforce", "CRM of record: leads, contacts, accounts, opportunities, campaigns")
    System_Ext(hs, "HubSpot", "Marketing CRM: contacts, deals, engagement, email events; sends webhooks")
    System_Ext(gads, "Google Ads", "Advertising: account structure, performance reports, change history; no push")
    System_Ext(down, "Downstream systems", "Sales tooling, marketing automation, dashboards")
    System_Ext(recipient, "Report recipients", "Clients, partners and internal functions receiving published reports")
    System_Ext(teams, "Microsoft Teams and Exchange", "Human notification and approval channels")
    Rel(platform, sf, "Reads changed records, soft deletes and bulk history from", "REST, Bulk API 2.0, HTTPS")
    Rel(platform, hs, "Reads objects by last-modified window and batch-reads records from", "CRM v3 API, HTTPS")
    Rel(hs, platform, "Sends property-change, creation and deletion webhooks to", "HTTPS, signed JSON")
    Rel(platform, gads, "Reads entities, date-segmented reports and change events from", "Google Ads API, GAQL")
    Rel(mktops, platform, "Views performance and pacing reports in", "Power BI")
    Rel(analyst, platform, "Explores funnel models and runs ad-hoc SQL in", "Power BI, TDS")
    Rel(finance, platform, "Reviews spend by ad account and month in", "Power BI")
    Rel(dataeng, platform, "Triggers reloads and replays; reviews reconciliation in", "Fabric portal")
    Rel(dpo, platform, "Triggers and signs off erasure runs in", "Fabric pipeline, evidence store")
    Rel(platform, down, "Publishes business events to", "Signed webhooks, Service Bus topic, SSE")
    Rel(platform, recipient, "Delivers signed-off reports, flagged original or revision, over the contracted channel to", "SFTP, HTTPS API, email, Power BI app")
    Rel(platform, teams, "Sends alerts and approval requests through", "Microsoft Graph, Power Automate")
    Rel(teams, mktops, "Delivers alert messages and approval requests to")

Legend

Elements

Element Type Technology Responsibility
Marketing Operations Person — Reviews daily performance, acts on alerts, paces campaigns
Marketing Analyst Person — Funnel and attribution analysis on Gold
Finance Person — Spend reconciliation and restatement review
Data Engineering Person — Operates ingestion; reloads, replays, reconciliation
Data Protection Officer Person — Owns the classification register; triggers and signs off erasure runs
Marketing Data Platform System Microsoft Fabric plus Azure Functions, SQL (token vault), Service Bus, Key Vault, Power Automate Ingests, retains, conforms, serves; replaces identifiers with vault tokens before Bronze; publishes business events and signed-off reports
Salesforce External system SaaS CRM of record
HubSpot External system SaaS Marketing CRM; sends webhooks
Google Ads External system SaaS Advertising platform; polled only
Downstream systems External system Various Consume business events
Report recipients External system Client and partner systems, mailboxes Receive published reports and revisions
Microsoft Teams and Exchange External system Microsoft 365 Human notifications and approvals

Key relationships

From To Intent Protocol / Technology
Platform Salesforce Reads changed records, soft deletes and bulk history REST, Bulk API 2.0, HTTPS
Platform HubSpot Reads objects by last-modified window; batch-reads records CRM v3 API, HTTPS
HubSpot Platform Sends property-change, creation and deletion webhooks HTTPS, signed JSON
Platform Google Ads Reads entities, date-segmented reports and change events Google Ads API, GAQL over REST searchStream
Platform Downstream systems Publishes business events Signed webhooks, Service Bus topic, SSE
Platform Report recipients Delivers signed-off reports and revisions SFTP, HTTPS API, email, Power BI app
Platform Microsoft Teams and Exchange Sends alerts and approval requests Microsoft Graph, Power Automate
People Platform View reports; approve; operate; erase Power BI, Teams, Fabric portal

Notable architectural decisions

Assumptions