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)

NodeDescription
Button TriggerSimple click to start
Form TriggerStart with a form that collects input

Action Nodes (Do things)

NodeDescription
LLMGenerate content using AI
Write to EditorInsert content into your document
Review ContentPause for user to review/edit
Input DialogCollect user input mid-workflow
Export AsExport as text, HTML, or markdown
Read RSSFetch content from RSS feeds
Pick ChoicePresent options for selection
Clean TextNormalize and clean text
Dynamic FormCreate forms from workflow variables

Flow Control Nodes (Manage execution)

NodeDescription
LoopRepeat a section for multiple items
StopEnd workflow execution
BreakExit a loop early
DelayPause for a specified time
PauseWait for user interaction

Context-Based Execution

Workflows use a context system instead of complex data streams:

  1. Each node can add variables to the workflow context
  2. Subsequent nodes can access any previously created variables
  3. Use {{variableName}} syntax to reference context

Example flow:

  1. Form Trigger creates {{topic}} from user input
  2. LLM node uses {{topic}} in its prompt, creates {{outline}}
  3. Another LLM node uses {{outline}} to create {{draft}}
  4. 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

  1. Open a Rich Text file
  2. Go to the Workflows tab in the right pane
  3. Click a workflow to start it
  4. Follow any prompts or forms
  5. Content is processed according to your workflow design

Learn more: Variables System