Back to blog

Blog

ETL Pipeline Diagram: How to Draw One People Trust

How to draw an ETL pipeline diagram that stays honest: what to show, ETL vs ELT layouts, a full example with its Airflow DAG, and a review checklist.

ETL pipeline diagramUpdated 11/13/2026Shafi Khan

ETL Pipeline Diagram: How to Draw One People Trust

An ETL pipeline diagram shows how data moves from source systems, through extraction, storage zones and transformations, into the tables and dashboards people actually use, plus who runs each step and when. A good one answers "where did this number come from?" in under a minute. A bad one is six boxes and an arrow labelled "data" that nobody has touched since 2023.

This guide covers what to put on the diagram, how ETL and ELT layouts differ, a full worked example (with the matching Airflow DAG), and a review checklist you can use on your next data platform design review.

What an ETL pipeline diagram actually needs to show

Most pipeline diagrams draw the happy path and skip everything that matters at 2am. The job isn't to look clean. It's to let someone new answer three questions fast:

  1. Where does this dataset come from?
  2. What breaks downstream if this step fails or runs late?
  3. Who do I page?

That means the diagram needs more than boxes. Here's the minimum set of elements, and why each one earns its spot:

ElementWhat to showWhy reviewers care
SourcesEach system by name (Postgres orders DB, Stripe, Salesforce, clickstream)"Upstream" is not a system. Named sources reveal hidden dependencies
Extraction methodBatch pull, CDC, API polling, event streamDetermines latency, load on the source, and replay options
Landing / raw zoneBucket or schema where untouched data landsYour replay and audit story lives here
Transform stepsEach step plus the engine that runs it (Spark, SQL in warehouse, Glue job)Shows where compute cost and logic actually sit
Quality gatesRow counts, null checks, schema checks, freshness checksShows where bad data is stopped, or proves that it isn't
Serving targetsMarts, warehouse tables, feature stores, reverse ETL syncsTies the pipeline to the people who depend on it
OrchestrationOrchestrator, schedule or trigger, retriesExplains "why didn't it run?"
OwnershipTeam or person per stageTurns a diagram into an on-call map
Edge labelsFormat, volume class and cadence (e.g. "Parquet, hourly")An unlabelled arrow is a guess

If you only do one thing from this post: label your edges. "Orders → S3" says almost nothing. "Orders DB → S3 raw/orders, CDC, near-real-time, JSON" tells a reviewer how fresh, how heavy and how replayable that flow is.

→ Sketch your sources, zones and edges in Flow IQ's dedicated ETL designer

ETL vs ELT diagram: where the "T" box goes

The ETL vs ELT diagram question comes down to one thing: where does transformation physically run?

AWS's own comparison of ETL and ELT puts it plainly: ETL "transforms data on a secondary processing server" before loading, while in ELT raw data is loaded first and cleansing, transformation and enrichment happen inside the data warehouse. The same page calls ELT "the standard choice for modern analytics", while noting ETL still fits cases like legacy sources with fixed formats.

That difference should be visible on the diagram, not buried in a footnote:

ETL layoutELT layout
Transform box sitsBetween source and target, in its own processing boundaryInside the warehouse or lake boundary
What lands in the targetAlready-shaped dataRaw data, then modelled layers
Compute to drawA separate engine (Spark cluster, Glue job, custom service)The warehouse itself
Replay storyDepends on whether you kept raw copies upstreamRaw tables in the target are the replay source
Typical zonesSource → staging area → transform → warehouseSource → raw → staging → marts (all in target)

Quick rule: transform logic on compute billed separately from the warehouse goes outside the warehouse boundary; SQL running in the warehouse goes inside. Hybrid pipelines (Spark for parsing, SQL for modelling) are fine, as long as the diagram shows both.

→ Learn when batch and streaming lanes belong on the same diagram

ETL pipeline diagram example: an e-commerce orders pipeline

Let's make it concrete. Here's an ETL pipeline diagram example for a fairly typical setup: an orders database, a payments provider and clickstream events feeding a daily revenue mart and a near-real-time ops dashboard.

Written as a plain-text layout (so you can paste it into a design doc or rebuild it on a canvas):

[SOURCES]                    [INGEST]                  [RAW ZONE]
Orders DB (Postgres) --CDC, near-real-time, JSON--> raw.orders
Payments API (Stripe) --API pull, hourly, JSON----> raw.payments
Web clickstream ------events, streaming, JSON-----> raw.events

[QUALITY GATE 1: schema + row count, fail = stop downstream]

[STAGING]                    [MODELLED]                [SERVING]
stg_orders    --+
stg_payments  --+--> fct_orders (daily) ----------> mart_revenue_daily -> Finance dashboard
stg_events    -----> fct_sessions (hourly) -------> mart_ops_live      -> Ops dashboard

[QUALITY GATE 2: not-null keys, freshness < 2h on mart_ops_live]

[ORCHESTRATION]  Airflow DAG orders_daily, @daily, 2 retries
[OWNERS]         Ingest: Platform Data | Models + marts: Analytics Eng | Dashboards: Finance BI

A few things that make this example reviewable instead of decorative:

  • Two cadences are visible. The revenue mart is daily; the ops mart is hourly. If someone asks "why is revenue a day behind?", the diagram already answers.
  • Quality gates are boxes, not vibes. Gate 1 stops bad loads before they reach staging. Gate 2 checks keys and freshness on the output people look at.
  • Owners are on the page. Ingest, modelling and dashboards belong to different teams. That's exactly where incidents get stuck.

The matching Airflow DAG

The diagram should agree with what actually runs. Apache Airflow describes a DAG as "the core concept of Airflow, collecting Tasks together", and its DAG docs recommend declaring dependencies with the >> and << operators. Here's the daily path from the example, as Airflow 2.x code with placeholder tasks:

import pendulum
from airflow import DAG
from airflow.operators.empty import EmptyOperator

with DAG(
    dag_id="orders_daily",
    start_date=pendulum.datetime(2026, 1, 1, tz="UTC"),
    schedule="@daily",
    catchup=False,
    default_args={"retries": 2},
) as dag:
    extract_orders = EmptyOperator(task_id="extract_orders")
    extract_payments = EmptyOperator(task_id="extract_payments")
    quality_gate_raw = EmptyOperator(task_id="quality_gate_raw")
    build_stg_orders = EmptyOperator(task_id="build_stg_orders")
    build_stg_payments = EmptyOperator(task_id="build_stg_payments")
    build_fct_orders = EmptyOperator(task_id="build_fct_orders")
    build_mart_revenue = EmptyOperator(task_id="build_mart_revenue_daily")

    [extract_orders, extract_payments] >> quality_gate_raw
    quality_gate_raw >> [build_stg_orders, build_stg_payments]
    [build_stg_orders, build_stg_payments] >> build_fct_orders
    build_fct_orders >> build_mart_revenue

If a task exists in the DAG but not on the diagram (or the other way round), one of them is lying. Usually it's the diagram.

What a quality gate looks like in SQL

Quality gates don't need to be fancy to be useful. A gate on the staging table can be as simple as:

-- Fails the gate if any order is missing its key or amount
SELECT COUNT(*) AS bad_rows
FROM stg_orders
WHERE order_id IS NULL
   OR order_total IS NULL;

The task fails if bad_rows > 0, and the diagram shows the gate exactly where that check runs.

→ Map nested source payloads into candidate tables with the free JSON Schema to Table Diagram tool

How to draw a data pipeline diagram in 6 steps

Here's how to draw a data pipeline diagram without it turning into spaghetti. Work backwards from consumers, not forwards from sources. Consumers are why the pipeline exists.

  1. List the outputs people actually use. Dashboards, marts, ML features, exports. If nobody consumes it, ask why it's being built.
  2. Trace each output back to its sources. Name every system. This is where you discover the "small" CSV someone uploads to a bucket every Monday.
  3. Group steps into zones. Ingest, raw, staging, modelled, serving. Zones make the diagram scannable and make boundary decisions (who can read raw data?) obvious.
  4. Add orchestration and quality gates. Show the orchestrator, schedule or trigger, and where checks stop bad data.
  5. Label every edge. Format, cadence, method (CDC, batch, stream). Keep volume to a class ("~GB/day") unless you've measured it.
  6. Mark owners and failure behaviour. Who owns the step, and what happens downstream when it fails: stop, skip, or serve stale data with a warning.

Then do the reality check: compare the diagram against the DAG definitions and the warehouse's table list. Drift between "the pipeline we drew" and "the pipeline that runs" is the single most common reason these diagrams stop being trusted.

→ Not sure whether to draw it or code it? Read Architecture Diagram as Code vs Drag and Drop

Data pipeline architecture diagram: zoom levels and lineage

One diagram can't serve everyone. A data pipeline architecture diagram works best as a small stack of views, each at a different zoom level:

LevelAudienceShowsLeaves out
Platform contextLeadership, security, new joinersSource domains, platform boundary, major consumersIndividual tables and tasks
Pipeline viewData engineers, analytics engineersZones, datasets, transforms, gates, ownersCode-level task detail
Workflow viewOn-call engineerTasks, dependencies, retries, scheduleBusiness context

Your orchestrator already gives you the workflow view. The pipeline view is the one teams skip.

Make lineage a first-class layer

If your stack emits lineage metadata, your diagram vocabulary gets a lot sharper. The OpenLineage object model defines a Job as "a process that consumes or produces Datasets", a Run as "an instance of a Job that represents one of its occurrences in time", and a Dataset as "an abstract representation of data". That maps cleanly onto a diagram: boxes for jobs, cylinders (or labelled nodes) for datasets, and runs as the operational history you link to rather than draw.

→ Read the best practices for lineage visibility on data platforms

Common ETL diagram mistakes (and the fix)

These come up in almost every data platform review:

MistakeWhy it hurtsFix
One arrow labelled "data"Hides method, cadence and formatLabel each edge: method, format, cadence
No raw zone shownNobody knows if you can replayDraw where untouched data lands and how long it's kept
Transform location unclearETL vs ELT confusion, wrong cost assumptionsDraw transforms inside the boundary of the engine that runs them
Quality checks missingImplies bad data flows straight to dashboardsAdd gates as explicit nodes with pass/fail behaviour
Streaming and batch mixed on one laneFreshness expectations get blurredSeparate lanes or colour-code by cadence
No ownersIncidents bounce between teamsOwner label per zone or step
Schema changes not trackedBreaking source changes surprise downstreamVersion schemas and review diffs before release

A renamed source column can quietly break three marts, so review schema changes like architecture changes.

→ Compare two schema versions before they break your pipeline with the free Schema Diff Checker

Choosing an ETL data pipeline diagram tool

There's no single right ETL data pipeline diagram tool, but there are clear criteria. Before picking one, check:

  • Does it have shapes and structure for data work? Datasets, zones, transforms and gates, not just generic rectangles.
  • Can it sit next to the rest of your architecture? Pipelines touch networks, IAM and databases. A diagram that lives in a separate silo goes stale faster.
  • Can schemas live alongside the flow? Reviewers often need to see the table structure behind a staging or mart node.
  • Is it easy to update? If an update takes more than a few minutes, it won't happen after the next change.
  • Does it export into docs and reviews? A diagram nobody sees in the design review doesn't exist.

Honest take on the common options: a whiteboard tool is great for the first workshop and weak for keeping things current. Diagram-as-code keeps diagrams in version control but is harder for non-engineers to edit. Your orchestrator's own UI shows task-level structure well but not the wider system.

Architecto's angle is keeping these together. Flow IQ provides dedicated designers for flows, schemas, UML, sequence diagrams, APIs, ETL, use cases and state machines in one product, DB Visualizer handles the schema side, and Architect AI can turn a plain-English description into a starting cloud architecture for the infrastructure around the pipeline.

→ Describe your data platform in plain English and get a starting architecture with Architect AI

ETL pipeline diagram review checklist

Use this before your next data platform design review. If you can't tick an item, that's the conversation to have.

  • Every source system is named, with its extraction method
  • Every edge has method, format and cadence
  • A raw or landing zone is shown, with retention noted
  • Each transform sits inside the boundary of the engine that runs it
  • ETL vs ELT placement is clear for every transform
  • Quality gates are explicit nodes with pass/fail behaviour
  • Batch and streaming paths are visually distinct
  • Orchestrator, schedule or trigger, and retries are shown
  • Each zone or step has an owner
  • Serving targets name their consumers (dashboard, team, system)
  • The diagram matches the current DAG and table list
  • Sensitive datasets and who can read them are marked

→ Build this pipeline view, with its schemas, in Flow IQ

Key takeaways

  • An ETL pipeline diagram is an operational map, not decoration: it should answer where data comes from, what breaks downstream, and who owns it.
  • Label edges with method, format and cadence. It's the single biggest upgrade most diagrams can get.
  • In an ETL vs ELT diagram, transform placement is the whole story: outside the target for ETL, inside it for ELT.
  • Work backwards from consumers, group steps into zones, and add quality gates as real nodes.
  • Use multiple zoom levels: platform context, pipeline view, workflow view.
  • Verify the diagram against the real DAG and tables, regularly.

→ Start free and draw your first pipeline view on Architecto

FAQ

What should an ETL pipeline diagram include?

At minimum: every source system, how data is extracted (batch pull, CDC, events), where raw data lands, each transformation step and the tool that runs it, data quality gates, the serving targets (warehouse tables, marts, APIs), the orchestrator and schedule, and who owns each stage. Label edges with what moves and how often, not just an arrow.

What is the difference between an ETL and an ELT diagram?

The position of the transform box. In ETL, transformation runs on a separate processing layer before data reaches the target, so the transform sits between source and warehouse. In ELT, raw data is loaded into the warehouse or lake first and transformed inside it, so the transform box sits inside the target boundary.

How do you draw a data pipeline diagram step by step?

List the outputs people actually consume, trace each one back to its sources, group steps into zones (ingest, raw, staging, serving), add the orchestrator and quality gates, label every edge with format and cadence, then mark owners and failure behaviour. Finally, check the diagram against the real DAG or job definitions.

Is an Airflow DAG the same as an ETL pipeline diagram?

No. An Airflow DAG shows task ordering inside one workflow. An ETL pipeline diagram shows the wider system: source systems, storage zones, datasets, consumers, ownership and boundaries. The two should agree, and the DAG is a good way to verify the diagram, but neither replaces the other.

→ Turn your answers into a real diagram with Flow IQ's ETL designer

Draw the pipeline people can actually trust

Every data team has that one diagram: correct the day it was drawn, quietly wrong ever since. The fix isn't a prettier diagram. It's named sources, labelled edges, visible gates, clear owners, and a habit of checking it against what actually runs. Swap your systems into the example above and run the checklist in your next review.

→ Start free on Architecto and map your ETL pipeline, schemas and cloud architecture in one place

FAQ

Questions readers ask before they act on this page.

What should an ETL pipeline diagram include?

At minimum: every source system, how data is extracted (batch pull, CDC, events), where raw data lands, each transformation step and the tool that runs it, data quality gates, the serving targets (warehouse tables, marts, APIs), the orchestrator and schedule, and who owns each stage. Label edges with what moves and how often, not just an arrow.

What is the difference between an ETL and an ELT diagram?

The position of the transform box. In ETL, transformation runs on a separate processing layer before data reaches the target, so the transform sits between source and warehouse. In ELT, raw data is loaded into the warehouse or lake first and transformed inside it, so the transform box sits inside the target boundary.

How do you draw a data pipeline diagram step by step?

List the outputs people actually consume, trace each one back to its sources, group steps into zones (ingest, raw, staging, serving), add the orchestrator and quality gates, label every edge with format and cadence, then mark owners and failure behaviour. Finally, check the diagram against the real DAG or job definitions.

Is an Airflow DAG the same as an ETL pipeline diagram?

No. An Airflow DAG shows task ordering inside one workflow. An ETL pipeline diagram shows the wider system: source systems, storage zones, datasets, consumers, ownership and boundaries. The two should agree, and the DAG is a good way to verify the diagram, but neither replaces the other.

Related reading

Keep moving through the architecture workflow.

Free tool

JSON Schema to Table Diagram

Explore how nested JSON structures map into tables, repeated entities, and relationship candidates before you start physical database design.

json schema visualizerjson to er diagramjson relational mapping tool

Free tool

Schema Diff Checker

Detect adds, drops, and column modifications across DDL or DBML inputs so reviews focus on actual risk instead of guesswork.

database schema diffddl comparison toolschema change review

Free tool

SQL DDL to ER Diagram

Turn raw CREATE TABLE statements into an ER-style map with tables, relationships, field counts, and exportable Mermaid syntax.

ddl to erdsql schema visualizercreate table diagram generator

Guide

What batch and streaming means in Data and Analytics Platforms

What batch and streaming means in Data and Analytics Platforms with technical review guidance, practical artifacts, and a workflow path into diagrams, documentation, and architecture governance.

data platform architecturebatch and streaminganalytics architecture

Guide

Data and Analytics Platforms best practices for lineage visibility

Data and Analytics Platforms best practices for lineage visibility with technical review guidance, practical artifacts, and a workflow path into diagrams, documentation, and architecture governance.

data platform architecturelineage visibilityanalytics architecture

Comparison

Architecto vs Draw.io

Architecto vs Draw.io with a workflow-first comparison across diagrams, architecture review, technical documentation, and code-adjacent implementation evidence.

draw.io alternativearchitecto vs draw.iobrand comparison
ETL Pipeline Diagram: How to Draw One People Trust | Architecto