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

# workflow

> Run batch workflow steps on datasets

Workflow commands transform datasets through a pipeline of steps. Each step takes a dataset ID and produces a new output dataset.

## workflow onboard

Standardize and validate an uploaded dataset before processing.

**Usage**

```bash theme={null}
landbase-cli workflow onboard <dataset-id> [flags]
```

<ParamField path="dataset-id" type="string" required>
  The ID of the dataset to onboard.
</ParamField>

**Flags**

| Flag                  | Default | Description                          |
| --------------------- | ------- | ------------------------------------ |
| `--wait`              | —       | Block until the step completes       |
| `--timeout=<seconds>` | \~600   | Override the default polling timeout |

***

## workflow match

Match records in a dataset to Landbase's database.

**Usage**

```bash theme={null}
landbase-cli workflow match <dataset-id> [flags]
```

<ParamField path="dataset-id" type="string" required>
  The ID of the dataset to match.
</ParamField>

**Flags**

| Flag                  | Default | Description                          |
| --------------------- | ------- | ------------------------------------ |
| `--wait`              | —       | Block until the step completes       |
| `--timeout=<seconds>` | \~600   | Override the default polling timeout |

***

## workflow enrich

Enrich matched records with firmographic and contact data.

**Usage**

```bash theme={null}
landbase-cli workflow enrich <dataset-id> [flags]
```

<ParamField path="dataset-id" type="string" required>
  The ID of the dataset to enrich.
</ParamField>

**Flags**

| Flag                        | Default | Description                                                                   |
| --------------------------- | ------- | ----------------------------------------------------------------------------- |
| `--company-fields=<fields>` | —       | Comma-separated company fields to include, e.g. `industry,size_range,hq_city` |
| `--wait`                    | —       | Block until the step completes                                                |
| `--timeout=<seconds>`       | \~600   | Override the default polling timeout                                          |

***

## workflow publish

Export an enriched dataset to a downloadable file.

**Usage**

```bash theme={null}
landbase-cli workflow publish <dataset-id> [flags]
```

<ParamField path="dataset-id" type="string" required>
  The ID of the dataset to publish.
</ParamField>

**Flags**

| Flag                  | Default | Description                          |
| --------------------- | ------- | ------------------------------------ |
| `--format=<format>`   | `csv`   | Output format: `csv` or `jsonl.gz`   |
| `--wait`              | —       | Block until the step completes       |
| `--timeout=<seconds>` | \~600   | Override the default polling timeout |

***

## workflow sketch

Generate taxonomy or segment hints for a dataset.

**Usage**

```bash theme={null}
landbase-cli workflow sketch <dataset-id> [flags]
```

<ParamField path="dataset-id" type="string" required>
  The ID of the dataset to sketch.
</ParamField>

**Flags**

| Flag                        | Default | Description                                      |
| --------------------------- | ------- | ------------------------------------------------ |
| `--taxonomy-hints=<values>` | —       | Comma-separated hints, e.g. `fintech,healthcare` |
| `--wait`                    | —       | Block until the step completes                   |
| `--timeout=<seconds>`       | \~600   | Override the default polling timeout             |

***

## workflow status

Check the current status of a running or completed workflow.

**Usage**

```bash theme={null}
landbase-cli workflow status <dataset-id>
```

<ParamField path="dataset-id" type="string" required>
  The ID of the dataset whose workflow status to check.
</ParamField>

**Examples**

```bash theme={null}
# Full pipeline from upload to publish
landbase-cli workflow onboard <dataset-id> --wait
landbase-cli workflow match <dataset-id> --wait
landbase-cli workflow enrich <dataset-id> --company-fields=industry,size_range --wait
landbase-cli workflow publish <dataset-id> --format=csv --wait

# Sketch taxonomy hints
landbase-cli workflow sketch <dataset-id> --taxonomy-hints=fintech,healthcare --wait

# Check workflow status
landbase-cli workflow status <dataset-id>
```
