Business Architecture (Phase B)
Business Architecture (Phase B)
Business capabilities supported
| Capability | Description | Today (assumed) | Target |
|---|---|---|---|
| Marketing performance reporting | Spend, impressions, clicks, conversions by channel, campaign and period | Per-tool dashboards, manual exports | One Gold star schema, Direct Lake reports, daily freshness |
| Funnel and attribution analytics | Lead → MQL → SQL → opportunity → won, tied to campaigns and ad clicks | Not possible across tools | Cross-source joins on tokenised keys in Gold |
| Operational visibility | Know within minutes when something important changes | Email notifications from each tool | Business events on a bus; Teams alerts; dashboard push |
| Spend management | Pacing, budget changes, month-end reconciliation with Finance | Spreadsheet | Daily spend facts; change events for budgets; restatement handling |
| Data governance and privacy | Classification, access, retention, erasure | Ad hoc | Anonymisation gate before Bronze, token vault, erasure by mapping deletion with an evidence record |
| Report publication | Generate, approve and deliver reports to Finance and, assumed, clients and partners; explain and restate published figures | Excel workbook read by marketing management (assumed); external recipients to confirm (Q2) | Versioned definitions rendered from pinned Gold versions, recorded sign-off, contracted delivery channel, version-and-supersede on restatement |
| Source onboarding | Add a new platform | Project each time | Policy and checklist; days not months |
Stakeholder map
| Stakeholder | Interest | Influence | Concerns the architecture must answer |
|---|---|---|---|
| Head of Marketing (sponsor) | Timely, trusted numbers; cost | High | "Can I trust the dashboard?" "What does it cost per month?" |
| Marketing Operations | Daily use; alerts; campaign changes | High | Freshness; which changes trigger what |
| Sales Operations (Salesforce owner) | API allocation; no side effects on CRM | Medium | Read-only access; limits budget |
| Finance | Spend accuracy; month-end | Medium | Restatement policy; closed-period handling |
| Data and BI team | Build and operate | High | Operability; reload tooling; on-call load |
| Data Protection Officer | Personal data | High (veto) | Gate position; retention; erasure; consent |
| IT Security | Identities, secrets, network | High (veto) | Least privilege; key management |
| Downstream system owners | Being told when data changes | Medium | Delivery guarantees; contract; replay |
Key business processes (target)
- Daily marketing review — Gold refreshed by 07:00 local; reports show yesterday's performance and today's intraday spend; restated days flagged.
- Campaign launch and pacing — budget and status changes in Google Ads appear as business events within an hour; spend pacing alerts via Teams within a few hours (intraday pull every 2–4 hours, ADR 3).
- Lead hand-off — a HubSpot or Salesforce lead reaching a qualifying stage raises a business event within the Tier 1 window (30 minutes at most, usually minutes), consumed by downstream systems and visible on the operations dashboard.
- Month-end spend reconciliation — Finance compares Gold spend by ad account and month with platform invoices; the reconciliation history provides evidence; restatements after close are reported as adjustments, not silently overwritten (freeze policy to be confirmed).
- Data subject request — DPO triggers the erasure runbook: delete the subject's mapping in the token vault (Path A), scrub the few places that hold direct identifiers (landing files, logs; Path B), verify per store, append the evidence record to immutable storage, reply within one month.
- Report cycle — on each report's cadence the definition is rendered from pinned Gold versions, routed to its approver, delivered over the recipient's contracted channel, and logged with evidence; a restatement of a published period produces a superseding revision with a change summary, never an overwrite (ADR 11).
- New source onboarding — see adding a source.
Freshness tiers
| Tier | Target latency (source change → published event or Gold) | Data | Mechanism |
|---|---|---|---|
| 1 | ≤ 30 minutes end to end (15-minute poll plus Silver, event job and relay); minutes when a webhook or CDC nudge lands the change early | Salesforce Lead, Opportunity, CampaignMember; HubSpot Contact, Deal | 15-minute polling; Silver and the Tier 1 event job every cycle; Tier 1 facts in Gold hourly; CDC and webhooks as accelerators |
| 2 | ≤ 1 hour | Other CRM objects; Google Ads change_event |
Hourly polling; intraday spend (today only) is pulled every 2–4 hours for pacing (ADR 3) |
| 3 | Daily by 07:00 | Ad performance (trailing 30 days), entity snapshots, engagement and email events | Nightly runs |
| 4 | Weekly / monthly | Restatement true-ups (90 days), reconciliation hash samples, maintenance | Scheduled |
The trade-off per tier: each step down in latency multiplies API consumption and capacity use for the same data. Tier 1 is limited to the objects whose changes drive an action; everything else is Tier 2 or 3 until a consumer proves a need.
"Important change" catalogue (initial business events)
| Event type | Source | Rule | Tier | Likely consumers |
|---|---|---|---|---|
lead.qualified |
Salesforce, HubSpot | Lead status or lifecycle stage enters a qualifying set | 1 | Sales tooling, ops dashboard |
opportunity.stage_changed |
Salesforce | Stage changes; closed_won and closed_lost
flagged |
1 | Finance, ops dashboard |
deal.stage_changed |
HubSpot | Same | 1 | Same |
campaign.budget_changed |
Google Ads | Budget amount changes by more than 20% or status changes | 2 | Marketing Operations, Finance |
campaign.status_changed |
All | Paused, enabled, removed | 2 | Marketing Operations |
spend.pacing_alert |
Google Ads | Intraday spend exceeds daily budget × threshold | 2 | Marketing Operations |
metrics.restated |
All | A closed period changes by more than tolerance after a reload, replay or logic change (ADR 5, ADR 11) | 3 | Finance |
contact.consent_changed |
HubSpot | Subscription or consent status changes | 2 | Marketing automation |
report.published |
Platform | A publication is approved and delivered | 3 | Recipients' integrations, ops dashboard |
report.superseded |
Platform | A revision supersedes a delivered publication (carries the change summary) | 3 | Recipients, Finance |
ingestion.sla_missed |
Platform | A tier's freshness target is missed | — | Data team |
⚠️ Requires stakeholder input: this catalogue is a proposal. Open question Q1 asks the business which changes they need within minutes.
KPIs for the architecture itself
- Freshness SLA attainment per tier (target ≥ 99% of runs).
- Reconciliation discrepancy rate (rows outside tolerance per million) and mean time to reload.
- Time to add a source (target: ≤ 10 working days for a bought ad connector, ≤ 20 for a built CRM adapter).
- Run cost per month and per million rows ingested.