# Lead commands: nurture, qualify

URL: /code/cli/lead/verbs-nurture · Id: `page:code/cli/lead/verbs-nurture`

> The Lead Verbs nurture, qualify as CLI commands, with inputs, result, refusals and an example.

Reference for [Lead](/business/nouns/lead), one group of [Lead commands](/code/cli/lead).

### Lead.nurture
Nurture takes a Lead that is not ready to buy off its owner’s queue and onto a Sequence, until it raises a hand again. [Verb page](/business/nouns/lead/nurture?interface=cli).

```text
npx startup-builder do Lead.nurture --json '<input>' [--try | --send | --do]
```

Emits [`Lead.nurtured`](/business/events/Lead.nurtured).

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `lead` | [Lead](/business/nouns/lead) | Yes | The Lead to nurture. |
| `sequence` | [Sequence](/business/nouns/sequence) | No | The Sequence to enroll it in. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `lead` | [Lead](/business/nouns/lead) | Yes | The Lead, now in `nurture`. |

**Refuses when**

| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |

**Example**

```bash
npx startup-builder do Lead.nurture --json '{"lead":"lead_Kz1R9fhqzZ"}'
```

### Lead.qualify
Qualify confirms a Lead matches an Offer’s ICP and opens a Deal for it. [Verb page](/business/nouns/lead/qualify?interface=cli).

```text
npx startup-builder do Lead.qualify --json '<input>' [--try | --send | --do]
```

Emits [`Lead.qualified`](/business/events/Lead.qualified).

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `lead` | [Lead](/business/nouns/lead) | Yes | The Lead to qualify. |
| `offer` | [Offer](/business/nouns/offer) | Yes | The Offer whose ICP the Lead matches. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `deal` | [Deal](/business/nouns/deal) | Yes | The open Deal. |
| `lead` | [Lead](/business/nouns/lead) | Yes | The Lead, now qualified. |

**Refuses when**

| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |
| The record is not in a state that allows this Verb, so the call is refused. | [`refused`](/code/api/errors/refused) | Read the record, run the Verb that moves it to an allowed state, then retry. | None. |

**Example**

```bash
npx startup-builder do Lead.qualify --json '{"lead":"lead_Kz1R9fhqzZ","offer":"offer_2hzYe1ERo0"}'
```