# geni crm pipelines (/cli/crm/pipelines)



Deal, candidate, and engagement pipelines. With no verb, `geni crm pipelines` lists them; the verb subcommands get one (optionally with its board), create, update, and delete.

## list (default) [#list-default]

```sh
geni crm pipelines
```

List every pipeline with its stage and card counts.

| Flag     | Notes                    |
| -------- | ------------------------ |
| `--json` | Machine-readable output. |

## get [#get]

```sh
geni crm pipelines get ppl_01HX --board
```

Print one pipeline's stages. Add `--board` to also list its open cards in board order.

| Arg / Flag | Notes                                  |
| ---------- | -------------------------------------- |
| `<id>`     | Pipeline id.                           |
| `--board`  | Include the open cards in board order. |
| `--json`   | Machine-readable output.               |

## create [#create]

```sh
geni crm pipelines create --template --json '{"kind":"sales","name":"New Business"}'
```

Create a pipeline. `--json` is a custom `{ name, cardLabel, stages[] }`, or with `--template` a `{ kind: sales|recruiting, name? }`.

| Flag            | Notes                                                     |
| --------------- | --------------------------------------------------------- |
| `--template`    | Create from a built-in template instead of custom stages. |
| `--json <body>` | Required. JSON pipeline definition.                       |

## update [#update]

```sh
geni crm pipelines update ppl_01HX --json '{"name":"Renamed pipeline","archived":true}'
```

Update a pipeline. `--json` is `{ name?, cardLabel?, archived? }`.

| Arg / Flag      | Notes                            |
| --------------- | -------------------------------- |
| `<id>`          | Pipeline id.                     |
| `--json <body>` | Required. JSON fields to change. |

## delete [#delete]

```sh
geni crm pipelines delete ppl_01HX
```

Delete a pipeline. This cascades its cards and history.

| Arg    | Notes        |
| ------ | ------------ |
| `<id>` | Pipeline id. |
