# Connect stations with a conveyor

Every station after the line head names the bins it takes work from in its `conveyor` field. The factory session moves each finished workpiece from those bins into the station's `input`; the station's handler does the work. This is how [stations pull work](/docs/method/pull-dont-push) in Assembly Line.

From the template's `.orchestrator/stations/EX1__count_words.json`:

```json
{
  "short_code": "EX1",
  "line": "EX",
  "name": "count_words",
  "conveyor": { "from": "EX0/output" },
  "config": {},
  "dependencies": ["EX0"]
}
```

`from` is a bin, `STATION/bin`, or a sub-bin such as `IN1/output/invoices`. The conveyor always moves into this station's `input`.

List the upstream station in `dependencies` too. It shows the line's order in the Orchestrator and should match `from`. The other station fields are in the [station object reference](https://orchestrator.assemblyline.sh/docs/objects/station).

## When work moves

The factory session runs the conveyor every 2 seconds, for every enabled station at its location. It needs no run and makes no work record.

- **As soon as it's ready.** Every finished workpiece moves on the next pass. There is no batch size here: the station decides how many it takes from `input` per run (see [batches](/docs/method/batches)).
- **Only finished workpieces.** A workpiece whose folder or files changed in the last 5 seconds waits for a later pass, so a folder still being written never moves half done.
- **Only workpieces:** folders that hold a `pointer.json`. Loose files and other folders stay where they are.
- **Whole folders.** If a workpiece with the same name is already in `input`, the two are merged.
- **One at a time.** A workpiece that fails to move is logged on itself (`convey_failed` in its `log.jsonl`) and stays put; the rest move.
- **Closed stations get nothing.** A disabled or archived station's conveyor stops; work waits in the bin it comes from.

Each move adds a line to the workpiece's `log.jsonl`:

```json
{"ts":"2026-12-02T13:33:01.108Z","station":"EX1","event":"conveyed","from":"EX0/output"}
```

## Take from a sub-bin

A station that sorts its output into sub-bins feeds a different station from each one. Point `from` at the sub-bin:

```json
{ "conveyor": { "from": "IN1/output/invoices" } }
```

## Take from several bins

To fill one station from more than one source, give `from` a list:

```json
{ "conveyor": { "from": ["IN1/output/invoices", "RC1/output/invoices"] } }
```

## Next

The conveyor fills `input`; the station still has to run. To run it when work arrives, see [Start stations](/docs/guides/trigger-stations).
