Adding a Source (Phase H change process)
Adding a Source (Phase H change process)
The architecture is judged on how it accommodates new marketing, CRM and advertising platforms. This is the routine.
Steps
| # | Step | Owner | Output | Typical effort |
|---|---|---|---|---|
| 1 | Business case: which questions will the data answer; which tier; which important changes | Marketing Operations | One-page request | 1 day |
| 2 | Classify: objects and fields, personal data, retention; which fields are identifiers (tokenise through the vault), which are free text (drop or redact), which are quasi-identifiers (generalise). The Bronze loader will not land an unclassified column | Data lead, DPO | Rows in the classification register | 1–2 days |
| 3 | Build or buy decision per ADR 4: native Fabric connector? aggregator connector sufficient? object-level or webhook needs? | Lead Architect | ADR (short) | 1 day |
| 4 | Credentials: read-only identity, scopes, Key Vault entries, limits documented | Source admin, IT Security | Integration contract section | Lead time varies (days to weeks for vendor approvals) |
| 5 | Register: source_registry, object_registry
rows (adapter kind, tier, schedule, keys, version column, delete
detection, window caps, mapping reference, contract version) |
Data Engineering | Control rows | Hours |
| 6 | Adapter: implement the contract (built) or configure the connector (bought); contract tests against a sandbox | Dev | Adapter | 2–10 days built; 1–2 days bought |
| 7 | Bronze and Silver: Bronze table via the generic loader; Silver
mapping routine registered as mapping_ref (MERGE, SCD2,
quality gates against the contract version); reconciliation count |
Data Engineering | Silver tables | 2–5 days |
| 8 | Gold: map to conformed dimensions (campaign, channel, person); new facts only if a new grain is needed; gate allow-list; semantic model update | Data lead | Gold v(n+1) if breaking, else additive | 2–5 days |
| 9 | Events: add rules to the catalogue if the business asked for them | Marketing Operations, Data Engineering | Rules in Git | 1 day |
| 10 | Gates G1–G3 (governance); compliance checklist | Design authority | Release | — |
| 11 | Backfill: historical load on a burst capacity, reconciliation passing | Data Engineering | Data | Days |
Target: a bought ad connector in ≤ 10 working days; a built CRM adapter in ≤ 20 working days, excluding vendor credential lead time.
Worked example: LinkedIn Ads
- Questions: spend and performance by campaign and day, same as Google Ads; no person-level data needed.
- Classification: performance metrics are aggregate; no personal data; account structure internal.
- Decision: buy, via a Dataflow Gen2 marketing connector (Funnel, Supermetrics or Windsor) landing to Bronze with provenance columns added by the dataflow; or build a thin adapter if the aggregator's restatement handling is unsatisfactory.
- Registry: Tier 3, daily, trailing 30-day window, keys
(account_id, campaign_id, date). - Gold: rows in
dim_campaignwithsource = linkedin_ads,dim_channel = paid social;fact_ad_performance_dailyadditive (no version bump). - Events:
campaign.status_changed,spend.pacing_alertreuse existing rules.
Worked example: a second CRM (Dynamics 365 Sales)
Native Fabric connector exists (Dataverse, copy job); person data
present; Tier 1 for leads and opportunities; identity resolution on
normalised email joins to existing dim_person_pseudo;
fact_lead_funnel and fact_deal_stage_event
additive; CDC-style change tracking available natively (Dataverse change
tracking) but, per DP-03, polling on modifiedon remains the
truth.
Worked example: an in-house API with no connector
- Decision: build. The adapter runs on the runtime the WP0b PoC chooses (Functions or notebook) and implements the AP-01 contract: describe, extract full, extract incremental on the API's own version marker, count; a change receiver only if the API pushes.
- Classification first: the Bronze loader refuses unclassified columns, so the register is filled before the first landing.
- Landing files with a manifest in the standard layout; the same Bronze loader and gate.
- Registry:
adapter = function:<name>ornotebook:<name>, oneobject_registryrow per object withmapping_refand the currentcontract_version. - Silver mapping per object to the canonical entities; Gold additive unless a new grain appears.
The pipeline, loader, ledger, relay and bus do not change; the effort is the adapter, the mappings and the classification.
What changes and what does not
| Changes | Does not change |
|---|---|
| Registry rows, adapter, Silver job, classification entries, Gold mappings, rules | Orchestrator, Bronze loader, ledger, reconciliation framework, relay, bus, adapters, semantic model structure (unless a new grain) |