> ## Documentation Index
> Fetch the complete documentation index at: https://onetest.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Pipelines

> Multi-phase test case ingestion with AI-powered field mapping and decision gates

Pipelines provide an AI-powered, multi-phase process for importing large volumes of test cases from Excel or CSV files. Unlike [simple import](https://onetest.ai/ui/import-export.md), pipelines analyze your file structure, map columns intelligently, and let you review decisions at each stage.

![Pipelines page showing pipeline list](https://mintcdn.com/onetest/tNG-GZ2HiRqVIP5Z/images/screenshots/pipeline-flow-7-list.png?fit=max\&auto=format\&n=tNG-GZ2HiRqVIP5Z\&q=85\&s=fffea834fdb383fd093e7fd5f8be217c)

## Accessing Pipelines

Navigate to **Tasks** in the sidebar to see all your pipelines. Each pipeline tracks the progress of a test case import from upload to completion.

## Creating a Pipeline

**1. Upload File**

Click **Import Test Cases** and upload an Excel (.xlsx) or CSV file containing test cases. The pipeline will analyze the file structure automatically.

![Pipeline upload dialog](https://mintcdn.com/onetest/tNG-GZ2HiRqVIP5Z/images/screenshots/pipeline-flow-1-upload.png?fit=max\&auto=format\&n=tNG-GZ2HiRqVIP5Z\&q=85\&s=a3167dbb69fa94d11be19c79a2d1e180)

**2. Field Mapping (Gate 1)**

The AI analyzes your spreadsheet columns and suggests mappings to OneTest fields (Title, Description, Priority, Steps, etc.). Review and adjust the mappings as needed, then click **Confirm** to proceed.

![Pipeline field mapping gate](https://mintcdn.com/onetest/tNG-GZ2HiRqVIP5Z/images/screenshots/pipeline-flow-2-field-mapping.png?fit=max\&auto=format\&n=tNG-GZ2HiRqVIP5Z\&q=85\&s=dd09de2a871d58112e0a5d0c8bcb6f32)

![Field mapping confirmed](https://mintcdn.com/onetest/tNG-GZ2HiRqVIP5Z/images/screenshots/pipeline-flow-3-confirmed.png?fit=max\&auto=format\&n=tNG-GZ2HiRqVIP5Z\&q=85\&s=b3ed380b22103de776227e58df5ccf1b)

**3. Analysis (Gate 2)**

The pipeline parses and validates your test cases based on the field mapping. Review any warnings or issues before proceeding.

![Pipeline analysis phase](https://mintcdn.com/onetest/tNG-GZ2HiRqVIP5Z/images/screenshots/pipeline-flow-4-analyze.png?fit=max\&auto=format\&n=tNG-GZ2HiRqVIP5Z\&q=85\&s=9c64fe97236d091b74f35faf8c2c330b)

**4. Execution & Review (Gate 3)**

Test cases are created in OneTest. The pipeline then presents **Review Results** — AI-detected quality findings such as:

* **Flow continuations** — shorter test cases that overlap with longer ones and can be merged
* **Contradictions** — tests with conflicting expected outcomes for the same action
* **Merge proposals** — duplicate or redundant tests that should be combined

For each finding, choose to merge, keep separate, or skip. Use **Confirm All** to accept the AI's recommendations in bulk.

![Pipeline execution review results with merge proposals](https://mintcdn.com/onetest/tNG-GZ2HiRqVIP5Z/images/screenshots/pipeline-flow-5-execute-results.png?fit=max\&auto=format\&n=tNG-GZ2HiRqVIP5Z\&q=85\&s=8d490354872f262940d1b2c2792f384a)

**5. Health Report**

A comprehensive **Health Report** compares source file quality against the migrated result:

* **Health Score** — overall quality rating (e.g., 78.1/100)
* **TC Completeness** — field coverage improvements (description, priority, pass/fail criteria)
* **Structural Quality** — naming consistency, step counts, tag coverage
* **Quality Findings** — resolved overlaps and contradictions

![Pipeline health report with before/after comparison](https://mintcdn.com/onetest/tNG-GZ2HiRqVIP5Z/images/screenshots/pipeline-flow-6-report.png?fit=max\&auto=format\&n=tNG-GZ2HiRqVIP5Z\&q=85\&s=2bfc9d77d3cda2049d166aaae8123b12)

**6. Completed**

Your test cases are now available in Test Cases. Navigate there to review and organize them.

## Pipeline Phases

Each pipeline progresses through these phases:

| Phase | Description |
| - | - |
| **Uploading** | File is being uploaded and validated |
| **Planning (Gate 1)** | Field mapping and configuration |
| **Analyzing (Gate 2)** | AI parses and validates test cases |
| **Executing (Gate 3)** | Test cases are imported into OneTest, with review of merge proposals and contradictions |
| **Reporting** | Health report with before/after quality comparison |
| **Completed** | Import finished successfully |
| **Failed** | Import failed — check error details |

## Decision Gates

At each gate, the pipeline may present **decision items** that require your input:

* **Blocking items** — Must be resolved before the pipeline can advance
* **Non-blocking items** — Can be resolved or skipped

You can resolve items individually or use **Batch Resolve** to handle multiple items at once.

## Pipeline Actions

| Action | Description |
| - | - |
| **Advance** | Move to the next phase after reviewing decisions |
| **Cancel** | Stop the pipeline (imported data remains) |
| **Resume** | Continue a paused pipeline |
| **Rollback** | Undo the import and remove created test cases |
| **Delete** | Remove the pipeline record |
| **Duplicate** | Create a new pipeline with the same settings |

## When to Use Pipelines vs Simple Import

| Feature | Simple Import | Pipeline |
| - | - | - |
| Best for | Small files, known format | Large files, unknown format |
| Field mapping | Automatic (fixed format) | AI-powered with review |
| Decision gates | No | Yes |
| Progress tracking | Basic | Detailed per-phase |
| Rollback | No | Yes |

> [!TIP]
>
> Use simple [Import & Export](https://onetest.ai/ui/import-export.md) for quick imports of files in the standard OneTest format. Use Pipelines when importing from external tools or dealing with hundreds of test cases.

## What's Next?

> [card] [Import & Export](https://onetest.ai/ui/import-export.md)
>
> Quick import for standard format files

> [card] [Test Management](https://onetest.ai/ui/test-management.md)
>
> Manage your imported test cases


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.