Acme Marketing Architecture

Level 2 — Container view for the business — Marketing Data Platform

Level 2 — Container view for the business — Marketing Data Platform

Diagram type: Container (audience view) Scope: what Marketing Operations, analysts and Finance see and sign off: reports from Gold, alerts, generated publications, approvals and deliveries. Audience: Marketing Operations, Marketing Analysts, Finance. Structurizr view: Containers-Business in structurizr/workspace.dsl

Overview

Gold is the published contract. People read it through Direct Lake semantic models with row- and object-level security, and analysts run ad-hoc SQL against it. Activator turns business events and job outcomes into Teams messages and email. Reports for recipients are generated from pinned Gold versions, signed off by the named approver in Teams, delivered over the contracted channel and, when a closed period restates, superseded by a flagged revision. Ingestion, the gate and the pipelines that run these containers are out of this view.

Diagram

C4Container
    title Container view for Marketing Operations, analysts and Finance
    Person(mktops, "Marketing Operations", "Daily performance, pacing, alerts, report sign-off")
    Person(analyst, "Marketing Analyst", "Funnel and attribution analysis")
    Person(finance, "Finance", "Spend reconciliation, restatements, spend report sign-off")
    System_Ext(recipient, "Report recipients", "Clients, partners, internal functions")
    System_Ext(teams, "Microsoft Teams and Exchange", "Alerts and approvals")

    Container_Boundary(platform, "Marketing Data Platform") {
        ContainerDb(gold, "lh_gold", "Fabric Lakehouse, Delta", "Tokenised star schema; business_event; Files/publications")
        Container(sem, "Semantic models", "Power BI, Direct Lake", "Reports with RLS and OLS in the model")
        Container(act, "Activator", "Fabric Real-Time Intelligence", "Rules on events and job outcomes; Teams, email; re-publication trigger")
        Container(reportgen, "Report generator", "Fabric notebook", "Versioned definitions rendered from pinned Gold versions")
        Container(approval, "Approval workflow", "Power Automate approvals in Teams", "Sign-off recorded with who and when")
        Container(delivery, "Delivery adapter", "Azure Functions, .NET 10", "Approved files over SFTP, HTTPS API, email or Power BI app; original or revision")
    }

    Rel(mktops, sem, "Views performance and pacing reports in", "Power BI")
    Rel(analyst, sem, "Explores funnel and attribution models in", "Power BI")
    Rel(analyst, gold, "Runs ad-hoc SQL through the SQL endpoint of", "TDS")
    Rel(finance, sem, "Reviews spend by ad account and month in", "Power BI")
    Rel(mktops, approval, "Approves or rejects generated reports in", "Teams")
    Rel(finance, approval, "Approves spend reports in", "Teams")
    Rel(sem, gold, "Frames Delta versions from", "Direct Lake")
    Rel(reportgen, gold, "Reads pinned Delta versions; writes files to Files/publications of", "Delta time travel")
    Rel(delivery, gold, "Reads approved files from Files/publications of", "OneLake API")
    Rel(delivery, recipient, "Delivers files flagged original or revision to", "contracted channel")
    Rel(act, teams, "Sends alerts through", "Microsoft Graph")
    Rel(teams, mktops, "Delivers alerts and approval requests to", "Teams client")

Legend

Elements

Element Type Technology Responsibility
lh_gold ContainerDb Fabric Lakehouse, Delta, V-Order Star schema with allow-listed columns; business_event; report files
Semantic models Container Power BI, Direct Lake on OneLake Reports; security in the model, not in the SQL endpoint (ADR 9)
Activator Container Fabric Real-Time Intelligence Alerts to Teams and email; triggers re-publication on metrics.restated
Report generator Container Fabric notebook, Python Renders versioned report definitions from pinned Gold versions; writes the publication manifest (ADR 11)
Approval workflow Container Power Automate approvals in Teams Sign-off by the named approver, recorded; no delivery without it
Delivery adapter Container Azure Functions, .NET 10 Delivers approved files over the contracted channel; flags original or revision; records evidence

Key relationships

From To Intent Protocol / Technology
People Semantic models, Gold Read reports; ad-hoc SQL Power BI; TDS
People Approval workflow Sign off generated reports Teams
Report generator lh_gold Read pinned versions; write report files Delta time travel, OneLake
Delivery adapter Report recipients Deliver original or revision SFTP, HTTPS API, email, Power BI app
Activator Teams Alerts Microsoft Graph

Notable architectural decisions

Assumptions