# WorkflowNode

Type: object

## Properties

## Discriminator

Use `type` with one of `start`, `webhook`, `end`.

## Variants

### StartWorkflowNode

Discriminator value: `start`

Required fields: `id`, `type`, `data`

- `id` (string, required)
- `type` (enum, required)
- `data` (StartNodeData, required)

```json
{
  "id": "string",
  "type": "start",
  "data": {
    "triggerConfig": {
      "type": "contact_created",
      "conditions": {}
    },
    "entryMode": "once"
  }
}
```

### WebhookWorkflowNode

Discriminator value: `webhook`

Required fields: `id`, `type`, `data`

- `id` (string, required)
- `type` (enum, required)
- `data` (WebhookNodeData, required)

```json
{
  "id": "string",
  "type": "webhook",
  "data": {
    "url": "https://example.com",
    "eventType": "string",
    "payload": {}
  }
}
```

### GenericWorkflowNode

Discriminator value: `end`

Required fields: `id`, `type`, `data`

- `id` (string, required)
- `type` (enum, required)
- `data` (GenericNodeData, required)

```json
{
  "id": "string",
  "type": "end",
  "data": {}
}
```

