# molted next-action

Source: https://molted.email/docs/cli/next-action

Get the next best action for a contact

| Command | Description |
| - | - |
| [`molted next-action`](#molted-next-action) | Get the next best action for a contact |
| [`molted next-action batch`](#molted-next-action-batch) | Get next best actions for multiple contacts |

## Commands

### molted next-action

Get the next best action for a contact

```bash
molted next-action [options]
```

| Option | Description | Default |
| - | - | - |
| `--contact <email>` | Contact email address (required for single next-action) | |

### molted next-action batch

Get next best actions for multiple contacts

```bash
molted next-action batch [options]
```

| Option | Description | Default |
| - | - | - |
| `--contacts <json>` | JSON array of email strings | |
| `--stdin` | Read contacts from stdin | |

See [CLI overview](https://molted.email/docs/cli.md) for global options, credentials and output format.
