Overview
Pipelines let you chain multiple Aifano operations into a single API call. Instead of calling/parse, then /extract separately, define a pipeline once and run it with one request.
How Pipelines Work
A pipeline is a sequence of processors that execute in order:Define Processors
Choose which operations to include: Parse, Extract, Split, or Edit. Each processor has its own configuration.
Execute
Call
/pipeline (sync) or /pipeline_async (async) to run all processors in sequence on your document.Pipeline Types
Pipelines are defined by the combination of processors they include:| Type | Processors | Description |
|---|---|---|
parse | Parse | Parse documents into structured JSON |
extract | Parse → Extract | Parse and extract structured data |
split | Split | Split documents into sections |
parse_extract | Parse → Extract | Full parsing with data extraction |
parse_split | Parse → Split | Parse and split into sections |
split_extract | Split → Extract | Split sections and extract data |
parse_split_extract | Parse → Split → Extract | Full pipeline with all operations |
Basic Usage
Creating Pipelines in Studio
The easiest way to create and manage pipelines is through the Aifano Studio:- Navigate to Pipelines in the sidebar
- Click Create Pipeline
- Choose a name, description, and pipeline type
- Configure each processor’s settings
- Upload documents and run the pipeline
Processor Configuration
Each processor in a pipeline can be individually configured:Parse Processor
Controls how documents are parsed into structured content.Extract Processor
Defines the schema for structured data extraction.Split Processor
Configures how documents are divided into sections.Async Pipelines
For large documents or batch processing, use the async variant:Common Use Cases
Invoice Processing
Parse invoices, extract line items and totals, and split bundled documents — all in one call.
Contract Review
Split contract packages into sections, parse each section, and extract key terms and dates.
Claims Processing
Split claim packages, extract policyholder data, and route sections to the right department.
Document Intake
Automatically classify, split, and extract data from mixed document uploads.