Workflows
Build multi-step automations with a visual editor.
Workflows are multi-step automation sequences you build visually. They combine AI generation, user input, and content processing into reusable tools.
[SCREENSHOT: Workflow editor with nodes connected]
Build vs Execute
Koubou separates building and running workflows:
Building (in the Toolbox):
- Create workflows in a visual flowgraph editor
- Drag nodes onto the canvas
- Connect nodes to define the sequence
- Configure each node’s settings
Executing (in the Workbench):
- Run workflows while working in your documents
- Click a workflow in the right pane
- Interact with prompts or forms
- Content flows into your document
[VIDEO: Building a simple workflow]
Node Types
Trigger Nodes (Start workflows)
| Node | Description |
|---|---|
| Button Trigger | Simple click to start |
| Form Trigger | Start with a form that collects input |
Action Nodes (Do things)
| Node | Description |
|---|---|
| LLM | Generate content using AI |
| Write to Editor | Insert content into your document |
| Review Content | Pause for user to review/edit |
| Input Dialog | Collect user input mid-workflow |
| Export As | Export as text, HTML, or markdown |
| Read RSS | Fetch content from RSS feeds |
| Pick Choice | Present options for selection |
| Clean Text | Normalize and clean text |
| Dynamic Form | Create forms from workflow variables |
Flow Control Nodes (Manage execution)
| Node | Description |
|---|---|
| Loop | Repeat a section for multiple items |
| Stop | End workflow execution |
| Break | Exit a loop early |
| Delay | Pause for a specified time |
| Pause | Wait for user interaction |
Context-Based Execution
Workflows use a context system instead of complex data streams:
- Each node can add variables to the workflow context
- Subsequent nodes can access any previously created variables
- Use
{{variableName}}syntax to reference context
Example flow:
- Form Trigger creates
{{topic}}from user input - LLM node uses
{{topic}}in its prompt, creates{{outline}} - Another LLM node uses
{{outline}}to create{{draft}} - Write to Editor inserts
{{draft}}into the document
[SCREENSHOT: Workflow with context flow highlighted]
Organization
- Assign workflows to specific projects or keep them global
- Use folders to group related workflows
- Add tags for categorization
- Mark favorites for quick access
Running Workflows
- Open a Rich Text file
- Go to the Workflows tab in the right pane
- Click a workflow to start it
- Follow any prompts or forms
- Content is processed according to your workflow design
Learn more: Variables System