Screens (56)
AI Chat Workflow
AI Chat / Workflow Builder — a narrow chat on the left, the automation it builds on the right, in a single file.
Loading AI Chat Workflow…
Usage
import { AiChatWorkflowScreen } from "ui-kit/screens/ai-chat-workflow";Props
| Prop | Type | Default | Description |
|---|---|---|---|
workspace | string | "Northwind" | The workspace in the sidebar |
prompt | string | — | The prompt the screen opens with – the sample build plays it (leave empty to start without a workflow) |
onPrompt | (prompt: string) => void | — | Called when a prompt is sent – build your workflow here |
onRun | (mode: WfRun["mode"]) => void | — | Called when a test run starts – "sample" uses made-up rows, "live" touches real data |
onResolve | (block: string, action: string) => void | — | Called when a question in the chat is answered |
onPublish | () => void | — | Called when Publish is pressed |
chats | ShellChat[] | — | The chats in the sidebar |
loading | boolean | false | Gray lines in the chat, gray steps on the canvas |
empty | boolean | false | No workflow yet – the assistant offers a first prompt |