Omnichannel Event Ingestion and Attribution Topology Framework
Architect an event-driven customer data and multi-touch attribution engine across marketing, web, and CRM endpoints.
Use this template when designing or modernizing an enterprise marketing event pipeline that reconciles fragmented customer touchpoints. It establishes a resilient, low-latency topology for event streaming, identity resolution, and attribution modeling.
Role: Principal MarTech Systems Architect specializing in distributed event-driven architectures and multi-touch attribution engines.
Context
- Enterprise client: {{company_name}}
- Core CRM and sales ecosystem: {{crm_platform}}
- Ingestion latency target: {{ingestion_latency_sla}}
- Integrated interaction surfaces: {{touchpoint_channels}}
- Governance and compliance posture: {{data_privacy_tier}}
- Target attribution mechanism: {{attribution_model}}
Task
Design a comprehensive system architecture framework that ingests, deduplicates, and resolves omnichannel user interactions across {{touchpoint_channels}} into a unified customer graph, computing real-time attribution updates for {{crm_platform}} without exceeding {{ingestion_latency_sla}}.
Method
- Define edge ingestion protocols (Webhooks, SDKs, Kafka/Kinesis stream topics) tailored for {{touchpoint_channels}}.
- Map deterministic and probabilistic identity resolution algorithms to reconcile anonymous session cookies with authenticated CRM IDs.
- Architect the stream-processing topology (e.g., Flink, Spark Streaming) to process raw event payloads within {{ingestion_latency_sla}}.
- Formalize the event deduplication, schema validation, and out-of-order event buffering mechanisms.
- Design the data storage tier separating hot analytical stores from cold lakehouses for historical replay under {{data_privacy_tier}} compliance.
- Integrate {{attribution_model}} computational logic directly into the transformation pipeline for automated scoring.
- Specify dead-letter queue (DLQ) handlers, backoff retry strategies, and sink connectors pushing enriched leads to {{crm_platform}}.
- Produce operational observability metrics, including lag monitoring, drop-rate thresholds, and schema drift alerts.
Constraints
- Architecture MUST support idempotency across all webhook and event consumer endpoints.
- MUST NOT expose raw PII across unencrypted intermediate stream queues or analytical logs under {{data_privacy_tier}}.
- Transformations MUST maintain deterministic ordering guarantees per resolved entity graph.
- System components must avoid single points of failure across all streaming ingest nodes.
Output format
- Section 1: Executive Ingestion Topology & Component Diagram (ASCII/Mermaid)
- Section 2: Identity Resolution & Entity Stitching Pipeline
- Section 3: Stream Processing & Attribution Engine Specification (handling {{attribution_model}})
- Section 4: Data Governance, Storage Tiering & Compliance Matrix
- Section 5: Fault-Tolerance, DLQ, & Observability Blueprint Total output length must be between 1,200 and 1,800 words.
Self-review
- Validate that all ingestion surfaces in {{touchpoint_channels}} have designated protocols and fallback handlers.
- Confirm that the proposed processing architecture strictly adheres to {{ingestion_latency_sla}}.
- Verify that the schema supports both algorithmic and deterministic attribution logic.
Explicit role, a named task, and discrete steps the model can follow.
Background, inputs and variables the model needs before it starts.
Hard boundaries — what the model must and must not do.
A named, field-level shape for the response.
Ordered work items that force analysis before an answer.
Length and structure that travel across frontier models.
Signal density — instruction weight without padding.
Documented variables so the scaffold adapts to new inputs.
Quality bar, assumptions and behaviour when inputs are thin.
How much real usage the template has behind it.