# Node types and channel actions (https://docs.opensequence.dev/reference/nodes)

Every registered node type and channel action, with its params, defaults and transitions.

<Note>This page is generated from `packages/core/src/domain/definition/builtins.ts` by `pnpm generate`. Do not edit it by hand; change the source and regenerate.</Note>

The engine holds no list of node types or channels: both are registries (docs/ARCHITECTURE.md section 20). `GET /v1/schema` serves the same catalogue. For examples of each node see [Nodes](/docs/concepts/sequence/nodes).

## Node types [#node-types]

### `start`: Start [#start-start]

Transitions: `then`; required: `then`.

_No parameters._

### `end`: End [#end-end]

Transitions: none (terminal).

| Param | Type | Required | Default | Constraints |
| --- | --- | --- | --- | --- |
| `label` | string | no |  | max length 80 |

### `wait`: Wait [#wait-wait]

Transitions: `then`; required: `then`.

| Param | Type | Required | Default | Constraints |
| --- | --- | --- | --- | --- |
| `duration` | string | yes |  | pattern `^(\d+)(m\|h\|d\|bd)$` |

### `wait_for`: Wait for an event [#wait_for-wait-for-an-event]

Transitions: `reply`, `reply:email`, `reply:sms`, `call_connected`, `meeting_booked`, `timeout`.

| Param | Type | Required | Default | Constraints |
| --- | --- | --- | --- | --- |
| `events` | array of `"reply"`, `"reply:email"`, `"reply:sms"`, `"call_connected"`, `"meeting_booked"` | yes |  | min items 1 |
| `timeout` | string | no |  | pattern `^(\d+)(m\|h\|d\|bd)$` |

### `condition`: Condition [#condition-condition]

Transitions: `yes`, `no`; required: `yes`, `no`.

| Param | Type | Required | Default | Constraints |
| --- | --- | --- | --- | --- |
| `mode` | `"all"`, `"any"` | yes |  |  |
| `rules` | array of object | yes |  | min items 1; max items 20 |

### `task`: Task for the sender [#task-task-for-the-sender]

Transitions: `completed`, `no_answer`.

| Param | Type | Required | Default | Constraints |
| --- | --- | --- | --- | --- |
| `kind` | string | yes |  | pattern `^[a-z][a-z0-9_]*$`; min length 1; max length 32 |
| `title` | string | yes |  | min length 1; max length 200 |
| `body` | string | no |  | max length 4000 |
| `link` | string | no |  | max length 2000 |
| `due` | string | yes |  | pattern `^(\d+)(m\|h\|d\|bd)$` |
| `expire` | string | no |  | pattern `^(\d+)(m\|h\|d\|bd)$` |
| `connected_outcomes` | array of string | no | `["connected"]` |  |
| `dialer` | boolean | no | `false` |  |
| `auto_complete` | boolean | no | `true` |  |

### `linkedin_connect`: LinkedIn connection request [#linkedin_connect-linkedin-connection-request]

Transitions: `completed`, `no_answer`, `skipped`.

| Param | Type | Required | Default | Constraints |
| --- | --- | --- | --- | --- |
| `title` | string | no | `"Connect with {{ contact.first_name \| \"them\" }} on LinkedIn"` | min length 1; max length 200 |
| `note` | string | no |  | max length 4000 |
| `due` | string | no |  | pattern `^(\d+)(m\|h\|d\|bd)$` |
| `expire` | string | no |  | pattern `^(\d+)(m\|h\|d\|bd)$` |

### `outreach`: Outreach [#outreach-outreach]

Transitions: `sent`, `skipped`, `failed`.

Params are defined by the channel action; see [Channels](#channels).


## Channels [#channels]

### `email`: Email [#email-email]

Queue `seq_email`.

#### `email send`: Send an email [#email-send-send-an-email]

Counts as a touch: yes. Transitions: `sent`, `skipped`, `failed`.

| Param | Type | Required | Default | Constraints |
| --- | --- | --- | --- | --- |
| `name` | string | no |  | max length 120 |
| `subject` | string | yes |  | min length 1; max length 300 |
| `body` | string | yes |  | min length 1; max length 5000000 |
| `format` | `"text"`, `"html"` | no | `"text"` |  |
| `reply_in_thread` | boolean | no | `false` |  |

### `sms`: SMS [#sms-sms]

Queue `seq_sms`.

#### `sms send`: Send a text [#sms-send-send-a-text]

Counts as a touch: yes. Transitions: `sent`, `skipped`, `failed`.

| Param | Type | Required | Default | Constraints |
| --- | --- | --- | --- | --- |
| `name` | string | no |  | max length 120 |
| `body` | string | yes |  | min length 1; max length 1000 |

### `call`: Call [#call-call]

Queue `seq_call`.

#### `call agent_call`: Call with an AI agent [#call-agent_call-call-with-an-ai-agent]

Counts as a touch: yes. Transitions: `completed`, `reached`, `transferred`, `not_interested`, `wrong_number`, `do_not_call`, `not_reached`, `skipped`, `failed`.

| Param | Type | Required | Default | Constraints |
| --- | --- | --- | --- | --- |
| `name` | string | no |  | max length 120 |
| `agent_id` | string | yes |  | min length 1; max length 64 |
| `allo_number` | string | no |  | pattern `^\+[1-9]\d{6,14}$` |
| `title` | string | yes |  | min length 1; max length 200 |
| `description` | string | no |  | max length 4000 |
| `skills` | object | no |  |  |
| `give_up_after` | string | no | `"3d"` | pattern `^(\d+)(m\|h\|d\|bd)$` |
| `exit_on_connect` | boolean | no | `true` |  |
