Types
Workflow Types
Types for workflow registrations and execution logs.
⌘I
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
CollabKit is currently in Beta. APIs and features may change.
Types for workflow registrations and execution logs.
import type { WorkflowRegistration, WorkflowExecution } from '@collab-kit/utils';
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;
}
interface WorkflowExecution {
id: string;
workflow_id: string;
event: string;
status: 'pending' | 'success' | 'failed';
result: string | null;
duration_ms: number | null;
created_at: string;
}