> For the complete documentation index, see [llms.txt](https://docs.unitlab.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.unitlab.ai/documentation/workflows/workflows-overview.md). Agents can also search and read this documentation through its [MCP server](https://docs.unitlab.ai/~gitbook/mcp).

# Workflows overview

A workflow is the path each item takes through your project, from first label to Complete.

A **workflow** decides what happens to each item in a project: who labels it, who checks it, whether an AI model labels it first, and when it is done. You draw it as a graph of **stages** connected by **routes**.

![Project Workflows page with the Project, Annotate, Review and Complete stages and their routes](https://292810646-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGjVLUz4wthGkGlRKM6rM%2Fuploads%2FtaMj4dy2wFcCbkumznWH%2Fworkflow-page.webp?alt=media)

## The default workflow

Every new project starts with this workflow:

```mermaid
flowchart LR
  P[Project] --> A[Annotate]
  A --> R[Review]
  R -->|Accepted| C[Complete]
  R -->|Rejected| A
```

Items enter at **Project**, get labeled in **Annotate**, and are checked in **Review**. Accepted items go to **Complete**. Rejected items go back to the annotator with a reason. You can add, remove or rearrange stages at any time.

## Stage types

| Type    | Stages                                  | What they do                                                                      |
| ------- | --------------------------------------- | --------------------------------------------------------------------------------- |
| People  | **Annotate**, **Review**, **Consensus** | A person labels, checks, or several people label the same item.                   |
| Quality | **Quality Gate**                        | Compares labels with a trusted answer key.                                        |
| AI      | **Model**, **Agent**                    | A model or your own service labels the item.                                      |
| Routing | **Logic**, **Sampling**, **Webhook**    | Send items different ways, sample a share for checking, or notify another system. |
| End     | **Complete**, **Archive**               | Done, or set aside.                                                               |

See [Stages and routes](https://docs.unitlab.ai/documentation/workflows/stages-and-routes.md) for each stage's settings.

## Where to edit a workflow

* **In a project**: select **Workflows** in the project sidebar. Changes apply to that project.
* **In the workspace**: select **Workflows** in the workspace sidebar to see and edit workflows that several projects can share.

Changes take effect when you select **Save and Apply**.

## Saving and submitting are different

**Save** in the editor stores labels but keeps the item where it is. To move an item on, the annotator or reviewer uses a stage action, such as **Send to Review**, **Mark as Complete** or **Reject**.

## What you can do

* [Add stages and connect routes](https://docs.unitlab.ai/documentation/workflows/stages-and-routes.md)
* [Choose who works on each stage](https://docs.unitlab.ai/documentation/workflows/assignment-and-stage-actions.md)
* [Set up review and rework](https://docs.unitlab.ai/documentation/workflows/review-rework-and-escalation.md)
* [Let an AI model label first](https://docs.unitlab.ai/documentation/workflows/model-stages.md)
* [Send tasks to your own service](https://docs.unitlab.ai/documentation/workflows/agent-stage.md)
* [Change a workflow that is in use](https://docs.unitlab.ai/documentation/workflows/change-a-live-workflow.md)

## Related

[Review and quality](https://docs.unitlab.ai/documentation/qa/qa-overview.md) · [Task Queue](https://docs.unitlab.ai/documentation/queues/task-queue.md) · [Projects overview](https://docs.unitlab.ai/documentation/projects/projects-overview.md)
