# Data pipeline

> A data pipeline is an automated series of steps that moves data from one or more sources to a destination, transforming, checking and enriching it along the way, on a schedule or as new data arrives.

Also called: data workflow, data flow, ingestion pipeline, streaming pipeline. Category: Data and retrieval. Source: https://aibuildindex.com/glossary/data-pipeline

## In the index

- Data engineering: median $4,900, middle half $1,000 to $17,040, 220 priced briefs (https://aibuildindex.com/skills/data-engineering)
- ETL: median $4,800, middle half $850 to $14,400, 250 priced briefs (https://aibuildindex.com/skills/etl)

A data pipeline is the plumbing that keeps data flowing to where it is needed. It might move sales data into a warehouse each night, stream sensor readings into a monitoring dashboard, or feed new documents into an AI assistant's search index as they are uploaded. For a buyer, the pipeline is often the invisible part of an AI build that decides whether the system stays accurate after launch, because a model is only as current as the data it is fed.

## How it works

A pipeline is a chain of stages. Data is ingested from sources such as APIs, databases, files or event streams. It is then validated, cleaned and transformed, which is the [ETL](https://aibuildindex.com/glossary/etl) pattern, possibly enriched with model calls such as classification or embedding, and finally delivered to a destination such as a [data warehouse](https://aibuildindex.com/glossary/data-warehouse), a vector database or another application.

Pipelines run either in batches, on a [scheduled job](https://aibuildindex.com/glossary/scheduled-job), or continuously as events arrive. An orchestration tool, such as Airflow, Dagster or Prefect, or a workflow platform like n8n for lighter work, runs the stages in order, retries failures and records what happened.

An example for an AI build: every time a contract is saved to a shared drive, a pipeline picks it up, runs OCR, extracts key terms, splits the text into chunks, embeds them and adds them to the search index used by a legal assistant. If any step fails, the file is flagged rather than silently skipped.

## What it means for cost

The first version of a pipeline is usually the cheaper part; keeping it reliable is where ongoing cost sits. What moves a quote:

- **Number and variety of sources**, and whether they offer clean APIs.
- **Freshness.** Daily batches are simpler and cheaper than near-real-time streaming.
- **Quality checks.** Validating row counts, schemas and values catches problems early but adds build time. See [data cleaning](https://aibuildindex.com/glossary/data-cleaning).
- **Monitoring.** Alerts and run history, part of [observability](https://aibuildindex.com/glossary/observability), are what turn a script into something a team can rely on.

Ask a builder how they will know if the pipeline stops, or keeps running but delivers wrong data, and who fixes it when a source changes.

## Common questions

### What is the difference between a data pipeline and a workflow automation?

They overlap. A workflow automation usually handles business events one at a time, such as a new lead or an invoice. A data pipeline usually moves and reshapes larger volumes of data for reporting, analytics or AI. The same tools can sometimes do both.

### Do small businesses need data pipelines?

Often in a simple form. Syncing a shop, an accounting system and a spreadsheet each night is a small pipeline. The need grows with the number of systems and with any AI feature that relies on up-to-date data.

## Related terms

- [ETL (extract, transform, load)](https://aibuildindex.com/glossary/etl): ETL, short for extract, transform, load, is the process of copying data out of source systems, cleaning and reshaping it into a consistent form, and loading it into a destination such as a data warehouse or reporting database.
- [Data warehouse](https://aibuildindex.com/glossary/data-warehouse): A data warehouse is a central database designed for analysis, where cleaned data from many business systems is stored together so teams can run reports, dashboards and AI queries across all of it.
- [Data cleaning](https://aibuildindex.com/glossary/data-cleaning): Data cleaning is the work of finding and fixing errors, duplicates, gaps and inconsistencies in a dataset, such as mismatched formats or misspelt names, so that reports, automations and AI models built on it give reliable results.
- [Scheduled job (cron)](https://aibuildindex.com/glossary/scheduled-job): A scheduled job is a task that a system runs automatically at set times or intervals, such as every hour or each weekday at six, often defined with a cron expression; it is the simplest way to start an automation without a person.
- [Error handling and retries](https://aibuildindex.com/glossary/error-handling): Error handling and retries are the parts of an automation or AI system that detect failed steps, try them again where that is safe, and report or park the work that still fails, so problems are noticed rather than silently lost.
- [Observability](https://aibuildindex.com/glossary/observability): Observability is the ability to see what a live system is doing and why, through logs, traces and metrics, so that errors, slow responses, rising costs and poor AI outputs can be found and explained.
