Skip to main content
Murillo Costa
Featured project

GreenBoxEnterprise Data Architecture

From fragmented reports to a trusted, governed data platform that powers better decisions.

This project demonstrates how I designed a complete enterprise data architecture for GreenBox, including business architecture, dimensional modelling, Snowflake platform design, and a clear implementation roadmap — using realistic, industry-standard practices and tools.

  • Snowflake
  • dbt
  • SQL
  • Power BI
  • Data Modelling
  • Data Architecture

GreenBox

Sustainable packaging for a better tomorrow

Better data.
Greener decisions.

ProjectRoadmap

The end-to-end process from business discovery to AI-ready data consumption.

  1. Step 1: Executive & Department Discovery

    Business priorities, pain points, stakeholders and current-state challenges.

  2. Step 2: Business Requirements & Scope

    Translate discovery into measurable outcomes and define what the first release will cover.

  3. Step 3: Enterprise Business Architecture

    Map capabilities, processes, events, business entities and enterprise KPIs.

  4. Step 4: Enterprise Data & Dimensional Modelling

    Conformed dimensions, facts, grains and lifecycle models.

  5. Step 5: Snowflake Platform Architecture

    Environments, databases, schemas, roles, warehouses, security and cost controls.

  6. Step 6: Synthetic Source Data & dbt Engineering

    Generate safe sample data, land raw sources, transform and test models.

  7. Step 7: Semantic Metrics Layer

    Reusable business definitions, lineage and ownership.

  8. Step 8: BI & Reporting

    Reports that answer business questions using governed metrics.

  9. Step 9: Governance, Quality & Operations

    Ownership, quality, access, lineage, monitoring and change control.

  10. Step 10: AI-Ready Data Consumption

    Enable natural-language analytics and AI use cases safely and securely.

01 / Project Overview

Enterprise Data Architecture

Designing a scalable, governed and business-aligned data architecture for GreenBox, a fictional sustainable packaging manufacturer and distributor operating across Australia, New Zealand and Singapore.

Annual Revenue
AUD 850M
Employees
2,500
Operating Markets
3

Business Context

Fictional Scenario

GreenBox has grown through acquisitions and geographic expansion, resulting in fragmented business processes, disconnected systems and inconsistent reporting practices.

Finance, Sales, Supply Chain, Marketing and Customer Service operate with different definitions of key business metrics. Leadership lacks a consistent enterprise-wide view of performance.

Key Business Challenges

  • Inconsistent definitions of Revenue and Gross Margin.
  • Fragmented data across ERP, CRM, e-commerce and warehouse systems.
  • Limited visibility across the end-to-end order-to-cash process.
  • Unclear ownership of enterprise KPIs and business definitions.
  • Limited trust in operational and financial reporting.

Project Objective

Establish an enterprise data architecture that connects business capabilities, processes, events, KPIs and data models into a consistent foundation for analytics and future AI initiatives.

  1. Business

    Capabilities & processes

  2. Requirements

    Events & KPIs

  3. Data Architecture

    Enterprise data models

  4. Technology

    Snowflake & dbt

  5. Consumption

    BI & AI-ready data

Architecture Principles

  • Business First

    Architecture decisions are driven by business processes, requirements and measurable outcomes.

  • Governed by Design

    Establish clear ownership, definitions, lineage and data quality standards.

  • Scalable & Integrated

    Build reusable enterprise data models and conformed dimensions across business domains.

This is a fictional portfolio case study. GreenBox, its employees, business figures, systems and stakeholder findings are illustrative. No former-employer data is used.

Explore Executive & Department Discovery

This section provides a high-level view of the end-to-end architecture, showing how business processes, data sources and the modern data platform work together to deliver trusted, governed and actionable insights.

  1. Source Systems

    • NetSuiteERP
    • SAPERP
    • ShopifyeCommerce
    • HubSpotCRM
    • ManhattanWMS
    • 3PL / Logistics
    • Other Sources
  2. Ingestion & Staging

    Fivetran

    • Raw LayerExternal data landed in Snowflake
  3. Transformation & Modelling

    dbt

    • Staging Models
    • Business Models
    • Dimensional Models
    • Data Tests
  4. Enterprise Data Platform

    Snowflake

    • RAW
    • STAGING
    • CORE
    • MARTS
  5. Consumption

    • Power BIAnalytics & Reporting
    • Semantic LayerGoverned Metrics
    • AI / LLMsFuture Use Cases

Key Outcomes

Single source of truth for core business metrics

End-to-end visibility across the supply chain

Improved operational efficiency and OTIF

AI-ready data for future innovation

Step 3 · Business-first design

Business Architecture

Translate business priorities into a structured view of GreenBox's capabilities, processes, events, business entities and enterprise performance measures.

  1. Capabilities

    What the business must be able to do

  2. Processes

    How work is performed

  3. Events

    Meaningful business occurrences

  4. KPIs & rules

    How outcomes are measured

  5. Data design

    Models and governed metrics

Enterprise capability map

  1. 01

    Customer & Market Management

    Understand markets, prospects, customers, accounts and commercial relationships.

  2. 02

    Sales & Commercial Management

    Manage opportunities, quotes, orders, commercial terms and customer sales performance.

  3. 03

    Product & Supply Management

    Manage product information, procurement, supplier relationships and supply availability.

  4. 04

    Manufacturing & Operations

    Plan and execute production and operational activities. Requirements need further discovery.

  5. 05

    Order Fulfilment

    Allocate stock, pick and pack orders, coordinate shipments and confirm delivery outcomes.

  6. 06

    Financial Management

    Manage financial transactions, accounting, revenue reporting, profitability and payments.

  7. 07

    Customer Experience Management

    Manage cases, complaints, returns-related interactions and customer feedback.

  8. 08

    Enterprise Performance Management

    Monitor business outcomes through governed KPIs, reporting and performance reviews.

  9. 09

    Data Governance & Analytics

    Manage data definitions, ownership, quality, lineage, analytical models and trusted consumption.

  10. 10

    Risk & Compliance Management

    Manage relevant controls, obligations and compliance evidence. Scope requires further discovery.

Explore Enterprise Business Architecture

Step 4 · Data architecture

Enterprise Bus Matrix

The matrix shows which shared dimensions are expected to support each business process. This is a proposed logical design and must be validated against source data and business definitions.

Business process / fact candidateDateCustomerProductLocationSupplierOrderCampaignAccount
Sales order lineYesYesYesYesNoYesNoNo
Return lineYesYesYesYesNoYesNoNo
Purchase order lineYesNoYesYesYesNoNoNo
Supplier delivery lineYesNoYesYesYesNoNoNo
Inventory movementYesNoYesYesNoNoNoConditional
Inventory snapshotYesNoYesYesNoNoNoConditional
Shipment lineYesYesYesYesNoYesNoNo
Invoice lineYesYesYesNoNoYesNoConditional
Payment applicationYesYesNoNoNoNoNoYes
Lead / campaign performanceYesConditionalNoNoNoNoYesNo
Customer caseYesYesConditionalNoNoConditionalNoNo

● Candidate dimension relationship. *Conditional or role-specific relationship requiring validation.

Explore Enterprise Data & Dimensional Modelling

Step 4 · Data architecture

Dimensional Model

Each fact table has a declared grain and a business purpose. Measure definitions and exact source mappings remain subject to validation and business approval.

Conformed dimensions

  • dim_customer
  • dim_product
  • dim_location
  • dim_date
  • dim_supplier
  • dim_campaign

Fact table catalogue

Fact candidateProposed grain — one row per…
fct_sales_order_lineProduct line on a customer sales order
fct_return_lineProduct line on a return transaction
fct_purchase_order_lineProduct line on a purchase order
fct_supplier_delivery_lineProduct line received against a supplier delivery
fct_inventory_movementOne stock movement for a product and location
fct_inventory_snapshotProduct × location × snapshot timestamp or date
fct_order_fulfilmentOrder-line fulfilment allocation or lifecycle instance
fct_shipment_lineOrder-line allocation within a shipment
fct_invoice_lineProduct or charge line on an invoice
fct_payment_applicationPayment amount applied to an invoice or receivable
fct_lead / fct_opportunityOne lead record / one opportunity record or lifecycle instance
fct_customer_caseOne customer service case
fct_campaign_performanceProposed campaign × channel × reporting period (to validate)
Explore Enterprise Data & Dimensional Modelling

Step 5 · Platform

Snowflake Architecture

Design the platform foundation that securely and efficiently supports GreenBox's data products.

  • Design area 01

    Environment strategy

    Separate development, test and production responsibilities; promote changes through controlled deployment rather than editing production objects directly.

  • Design area 02

    Database and schema layers

    RAW for source-aligned landing data; STAGING for source-specific cleaning; INTERMEDIATE for reusable business transformations; ANALYTICS for dimensions, facts and governed consumption. These are logical conventions to validate against the team's deployment approach.

  • Design area 03

    Compute and workload isolation

    Use virtual warehouses sized for ingestion, transformation, BI and ad hoc work as appropriate. Configure auto-suspend/auto-resume, resource monitors and workload-specific sizing; measure before scaling.

  • Design area 04

    Security and access

    Use role-based access control and least privilege. Separate service roles from human roles, restrict production write access, protect sensitive columns, and use managed secrets rather than credentials in code.

Explore Snowflake Platform Architecture

Step 6 · Engineering

Synthetic Data Plan

Build a safe, reproducible implementation using fictional records that exercise realistic business processes.

  • Design area 01

    Synthetic, never copied

    All portfolio data must be generated for this case study. Do not reuse former-employer records, customer names, transaction values, identifiers, screenshots containing confidential information, or proprietary logic.

  • Design area 02

    Candidate source domains

    NetSuite: products, locations, customers, orders, order lines and invoices; legacy SAP: selected historical financial or inventory records; Shopify: acquired-business products, customers and orders; HubSpot: leads, contacts, campaigns and opportunities; WMS/3PL: allocations, picks, shipments and deliveries. Treat these as illustrative sources pending validation.

  • Design area 03

    Layered dbt approach

    Source definitions and freshness → staging models → intermediate identity mapping and business rules → dimensions and facts → tests and documentation. Keep transformations modular and traceable.

  • Design area 04

    Proposed model sequence

    stg_netsuite__* and stg_shopify__* → int_product_mapping and customer identity resolution → int_orders / int_fulfilment → dim_product, dim_customer, dim_location → fct_sales_order_line, fct_shipment_line, fct_invoice_line and other approved facts.

Explore Synthetic Source Data & dbt Engineering

Steps 7–10

Next Steps

With the models and platform designed, the remaining steps turn tested data into governed metrics, trusted reporting, sustainable operations and controlled AI consumption.

  1. Step 7

    Semantic Metrics Layer

    Provide a governed business-facing layer so BI and future AI consumers reuse approved definitions.

  2. Step 8

    BI & Reporting

    Demonstrate that the architecture answers business questions with trusted, understandable reporting.

  3. Step 9

    Governance, Quality & Operations

    Make the data platform maintainable, accountable, observable and safe to operate.

  4. Step 10

    AI-Ready Data Consumption

    Explore how governed GreenBox data could support natural-language analytics and AI workflows without bypassing controls.

View the full project roadmap