ETL data pipeline flowchart
A worked example to adapt. Rename steps, add branches and owners to match how your team actually works.
Mermaid source for this diagram
flowchart TD
s(["Scheduled run starts"])
ext["Extract from databases and APIs"]
raw[("Land raw files in storage")]
d1{"Schema and row counts valid?"}
alert["Alert data team, stop run"]
tr["Transform: clean, join, aggregate"]
load["Load into warehouse tables"]
d2{"Data quality tests pass?"}
quar["Quarantine batch, keep last good data"]
bi["Refresh dashboards"]
e(["Run complete"])
s --> ext
ext --> raw
raw --> d1
d1 -->|No| alert
d1 -->|Yes| tr
tr --> load
load --> d2
d2 -->|Yes| bi
d2 -->|No| quar
quar --> alert
bi --> ePaste into any Markdown tool that renders Mermaid, such as GitHub.
About this etl data pipeline flowchart
A data pipeline diagram is most useful when it shows where bad data is caught. This example adds two gates: a schema and volume check on raw data, and quality tests after loading, so broken data never reaches dashboards.
Many modern stacks load first and transform inside the warehouse (ELT); the same gates apply.
Step by step
- Extract. Pull from source databases and APIs on a schedule.
- Land and validate. Store raw data, then check schema and row counts.
- Transform. Clean, join and aggregate into analysis-ready tables.
- Load and test. Load to the warehouse and run data quality tests.
- Serve. Refresh dashboards only with data that passed.
How to make it in flow-chart.io
- Start from the example. Edit the text in the generator box above so it names your own sources, orchestrator and warehouse, then press Generate. The free preview needs no sign-up.
- Add the branches. Add the decision points that matter for you, for example late-arriving data? or backfill run. Each decision becomes a diamond with labeled outcomes.
- Assign owners. Save the diagram to the editor (free account) and rename steps to show who does what: orchestrator, warehouse and BI tool.
- Share or export. Share a read-only view link: people with the link can view the diagram but not edit it. Downloads as PNG, SVG or PDF are part of Flow Pro (see pricing).
Tips
- Keep the last good data in place when a run fails.
- Alert a person, not just a channel.
- Version transformation code like application code.
Frequently asked questions
- What is the difference between ETL and ELT?
- ETL transforms data before loading it into the warehouse; ELT loads raw data first and transforms it inside the warehouse.
- Where should data quality checks go?
- At least after extraction (schema, volume) and after transformation (business rules), as in this example.
- Can I generate a diagram for my stack?
- Yes. Name your tools in the generator box, for example Airflow, dbt and Snowflake, and press Generate.