> ## Documentation Index
> Fetch the complete documentation index at: https://docs.collab-kit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Workflow Types

> Types for workflow registrations and execution logs.

```typescript theme={null}
import type { WorkflowRegistration, WorkflowExecution } from '@collab-kit/utils';
```

## WorkflowRegistration

A workflow registration.

```typescript theme={null}
interface WorkflowRegistration {
  id: string;
  organization_id: string;
  name: string;
  code: string;
  events: WebhookEventName[];
  room_id: string | null;
  enabled: boolean;
  created_at: string;
  updated_at: string;
}
```

## WorkflowExecution

A workflow execution log entry.

```typescript theme={null}
interface WorkflowExecution {
  id: string;
  workflow_id: string;
  event: string;
  status: 'pending' | 'success' | 'failed';
  result: string | null;
  duration_ms: number | null;
  created_at: string;
}
```
