Acme Marketing Architecture

Opportunities, Solutions and Roadmap (Phases E and F)

Opportunities, Solutions and Roadmap (Phases E and F)

Greenfield: no system is migrated or decommissioned. The migration-like activity is the historical backfill. Mutable document.

Work packages

WP Name Scope Depends on Outcome
0 Foundation Capacities, workspaces, Key Vault, Service Bus, Function App and storage account, token vault (Azure SQL with customer-managed key, PIM), immutable evidence storage, Git integration, IaC, control schema, operations dashboard skeleton, source credentials requested (Salesforce integration user, HubSpot private app, Google Ads Basic access for the Google Cloud project (developer tokens were sunset in September 2026; Standard only if operations exceed 15,000 a day)) — Empty but deployable platform; credentials in flight (longest lead time)
0b Runtime PoCs Two throwaway implementations of the adapter contract: HubSpot (incremental search with keyset paging under the 10,000 cap, batch read, associations, landing with manifest, cursor state, per-caller rate budget) and a Google Ads slice (campaign snapshot, trailing-window performance through SearchStream, change_event under the 10,000-row cap): Fabric Python notebook versus .NET on Azure Functions; measured against the criteria in ADR 8; scope and policies in the WP0b PoC brief ADRs finalised Extractor runtime decided; ADR 8 accepted
1 Salesforce path Copy activity landing incremental windows for Tier 1 objects (organisational-account consent set up with the Salesforce admin); Bronze loader with the anonymisation gate and vault client; Silver jobs for Lead, Contact, Account, Opportunity, Campaign, CampaignMember; deletion sweep; reconciliation for Salesforce; erasure runbook Path A tested 0 First trusted, tokenised data; proves gate, ledger and reconciliation end to end
2 Google Ads adapter Entity snapshots, performance trailing windows, change_event; Silver SCD2 for entities; reconciliation on daily totals 0, 0b Spend and performance in Silver
3 Gold v1 Star schema with the allow-list, business events, Direct Lake models, reframe step; DPO review of the classification register and of the Recital 26 position 1, 2 First reports; privacy sign-off
4 HubSpot adapter and webhooks List and search extraction with window sizing, batch read, archived sweep, events API; webhook receiver and nudge worker; reconciliation 0, 0b HubSpot in Silver and Gold; Tier 1 freshness demonstrated
5 Reload and reconcile tooling Reload request queue, budget-aware scheduler, hash sampling, operations dashboard complete, runbooks (recover, reload, replay, erasure) 1–4 "Reconcile or reload" is a routine operation
6 Notification bus and adapters CDF relay, Service Bus topic and subscriptions, webhook dispatcher, Activator rules (Teams), optional push gateway (SSE) 3 Downstream systems subscribed
6b Publication pipeline Report definitions as code for the first report set, report generator with pinned versions and manifest, approval flow, delivery adapter for the contracted channels, publication log, re-publication on metrics.restated 3, 6; report set and channels confirmed (Q2) Signed-off, traceable, restatable reports
7 Hardening and governance Private networking if required, Purview labels, capacity split, reserved capacity decision, quarterly review cadence, compliance checklist in CI 1–6 Production operations
8 Salesforce CDC accelerator (conditional) Pub/Sub API consumer, replay id handling, gap detection 1, 5; business confirmation of a sub-15-minute need Minutes-level CRM visibility

Proposed, not yet in the table: WP9, the operations console (ADR 12, Proposed), four to six weeks for the foundation stage plus one to two weeks per later stage; if accepted it replaces the operations dashboard in WP0 and WP5.

Sequence

gantt
    title Indicative sequence (weeks, not commitments)
    dateFormat  YYYY-MM-DD
    axisFormat  %b %d
    section Foundation
    WP0 Foundation and credentials      :wp0, 2026-11-02, 3w
    WP0b Runtime PoCs                   :wp0b, after wp0, 3w
    section Sources
    WP1 Salesforce path                 :wp1, after wp0, 3w
    WP2 Google Ads adapter              :wp2, after wp0b, 3w
    WP4 HubSpot adapter and webhooks    :wp4, after wp1, 4w
    section Value
    WP3 Gold v1 and the gate            :wp3, after wp2, 3w
    WP5 Reload and reconcile tooling    :wp5, after wp3, 2w
    WP6 Notification bus and adapters   :wp6, after wp3, 3w
    WP6b Publication pipeline           :wp6b, after wp6, 3w
    section Operate
    WP7 Hardening and governance        :wp7, after wp5, 3w
    WP8 Salesforce CDC (conditional)    :wp8, after wp7, 2w

Historical backfill plan

Source Method Horizon (assumed) API budget consideration Duration estimate
Salesforce Bulk API 2.0 query jobs per object, chunked by CreatedDate year All history Query jobs do not consume the batch allocation; results download counts against API requests modestly Days, dominated by job scheduling
HubSpot List endpoints per object (100 per page); async export for contacts and email events if volumes are large All history for objects; email events as far as the API returns 1 M contacts ≈ 10k requests; 50 M email events ≈ 500k requests → spread over several days under the daily cap, or use export 1–2 weeks elapsed, mostly waiting on limits
Google Ads Performance reports by month per customer account; entity snapshot once 24–36 months (business to confirm) Operation quota per day; Basic access suffices because SearchStream counts one operation per query Days

Transition states:

Each transition state is independently useful; the backfill runs in parallel with incremental loads from T1, on a temporary larger capacity that is paused afterwards.

Build vs buy checkpoints