Mailchimp campaign data into reporting‑ready outputs
613
A containerized analytics pipeline for ingesting, transforming, and modeling Mailchimp campaign data into reporting‑ready outputs using a Bronze → Silver → Gold architecture.
This Docker image runs the full Mailchimp analytics pipeline in a single command. It is designed for monthly batch execution and produces curated, business‑ready reporting outputs with no state stored inside the container.
All data is externalized via mounted volumes, making the pipeline reproducible, portable, and scheduler‑friendly.
The pipeline follows a medallion architecture:
Consultant attribution is derived from campaign metadata and enriched with regional mappings during Gold processing.
The container expects the following directory structure to be mounted:
mailchimp_analytics_pipeline/
├── dashboards/
│ └── Dashboard and reporting artifacts
│
├── docs/
│ ├── architecture.md
│ ├── data_dictionary.md
│ ├── dashboard_guide.md
│ └── assumptions.md
│
├── pipelines/
│ ├── bronze_ingest.py
│ ├── silver_transform.py
│ └── gold_aggregate.py
│
├── notebooks/
│ └── Validation and exploratory analysis
│
├── tests/
│ ├── test_bronze.py
│ ├── test_silver.py
│ └── test_gold.py
│
└── README.md
The gold layer is designed to support analysis and dashboarding by combining:
These outputs form the basis for campaign performance dashboards and business reporting.
Run the full pipeline for a specific reporting month:
docker run --rm \
-v /path/to/mailchimp_data:/app/mailchimp_data \
connerpowell/mailchimp-pipeline:latest \
--month 2026-01
Run for the previous month (default behavior):
docker run --rm \
-v /path/to/mailchimp_data:/app/mailchimp_data \
connerpowell/mailchimp-pipeline:latest
The pipeline produces:
docker pull connerpowell/mailchimp-pipeline:latest