ELT with BigQuery, dbt, and Apache Airflow® for eCommerce
ELT with BigQuery, dbt, and Apache Airflow® for eCommerce
ELT with BigQuery, dbt, and Apache Airflow® for eCommerce
This reference architecture shows how to build an ELT pipeline that ingests eCommerce transaction data, loads it to Google BigQuery, transforms it through multiple layers using dbt Core, and reports on top customers via Slack. Apache Airflow® orchestrates the entire flow across three Dags that are chained together using data-aware scheduling.

The architecture demonstrates a common pattern in analytics engineering: extracting from an API, staging raw data in object storage, loading to a warehouse, and running layered transformations (staging, intermediate, mart) using dbt. You can adapt it by swapping the data source, adjusting the dbt models, or replacing the Slack reporting step.

This reference architecture consists of four main components:
Data flows through the system in a clear sequence: API to GCS to BigQuery raw tables to dbt-transformed marts to Slack. Each Dag handles one phase and triggers the next through data-aware scheduling, so downstream work only starts when upstream data is ready.
BigQueryInsertJobOperator tasks are stored in the include folder and imported into the Dag file. This separates orchestration logic from transformation logic and makes individual queries reusable across Dags.This architecture includes a dbt Core project alongside the Airflow Dags. Astro customers have two options for deploying dbt projects to Astro:
/dbt folder to the Astro project and deploy everything together with astro deploy. This is the quickest option for small teams where dbt and Airflow code live in the same repository.astro dbt deploy. This decouples dbt iterations from Airflow deployments, which is useful when dbt code lives in a separate repository or when multiple teams need to update dbt models without redeploying the full Astro project.
Both options provide enhanced dbt observability in the Astro UI.
To build your own ELT pipeline with BigQuery, dbt Core, and Apache Airflow, explore the individual Learn guides linked in the Airflow features section for detailed implementation guidance on each pattern. Astronomer recommends deploying Airflow pipelines using a free trial of Astro.