Workflow Web UI Guide¶
This guide covers using the Workflow Builder and Execution Dashboard in the SkillMeat web interface to create, run, and monitor AI agent orchestration workflows.
Table of Contents¶
- Getting Started
- Workflow Library
- Creating Workflows
- Workflow Builder
- Viewing Workflow Details
- Running Workflows
- Execution Dashboard
- Monitoring Executions
- Keyboard Shortcuts
- Troubleshooting
Getting Started¶
Accessing Workflows¶
The Workflows section is available in the main navigation:
- Click the Workflows link in the sidebar
- You'll see the Workflow Library page with all available workflows
- The page displays workflows in either Grid or List view (toggle in the toolbar)
Empty State¶
If you haven't created any workflows yet, you'll see an empty state with a New Workflow button. Click it to start creating your first workflow.
Workflow Library¶
The Workflow Library lets you browse, search, filter, and manage your workflows.
Viewing Workflows¶
Grid View: - Visual card layout showing workflows with icons - Click a card to open workflow details - Quick action buttons on each card (Run, Edit, Duplicate, Delete)
List View: - Detailed table view with all workflow metadata - Sortable columns (name, creation date, status) - Clickable rows to open workflow details
Switching Views¶
Use the View Toggle buttons in the toolbar to switch between Grid and List views.
Searching Workflows¶
- Click the search field in the toolbar
- Type keywords to search across:
- Workflow names
- Descriptions
- Tags
-
Authors/creators
-
Results filter in real-time as you type
- Press Escape to clear the search
Filtering Workflows¶
Filter Options:
- Status: All / Draft / Published / Active / Disabled
- Sort Order:
- Name (A-Z)
- Date Created (newest first)
- Date Modified (newest first)
Click filter buttons to apply or remove filters. Your selection is shown in the toolbar.
Clearing Filters¶
If no workflows match your filters, you'll see an empty state. Click the Clear filters button to reset to show all workflows.
Workflow Card Actions¶
Hover over any workflow card to see action buttons:
| Action | Purpose |
|---|---|
| Run | Start a new execution of this workflow |
| Edit | Open the workflow in the Builder |
| Duplicate | Create a copy of this workflow |
| Delete | Remove this workflow (with confirmation) |
Creating Workflows¶
Starting a New Workflow¶
Method 1: From the Workflow Library
- Click the New Workflow button (top right)
- The Workflow Builder opens with an empty canvas
- You're ready to add your first stage
Method 2: From the Workflows Page
- Click New Workflow on the empty state message
- The Builder opens immediately
Workflow Naming¶
When you create or open a workflow for editing:
- The workflow name appears in an editable field at the top of the Builder
- Click the name to edit it inline
- Type your new name and press Enter to save
- Changes are saved automatically
Choose clear, descriptive names that indicate the workflow's purpose, like: - "Code Review Pipeline" - "Content Generation Workflow" - "Customer Support Automation"
Workflow Builder¶
The Workflow Builder is a drag-and-drop interface for designing workflows without writing code (though code mode is available for advanced users).
Builder Layout¶
┌─────────────────────────────────────────┐
│ Builder Top Bar (Name, Save, etc.) │
├────────────────┬──────────────────────┤
│ Left Sidebar │ Canvas Area │
│ (Add Stages) │ (Drag stages here) │
│ │ │
│ Stage Editor │ Stage Cards │
│ (config) │ + Connectors │
└────────────────┴──────────────────────┘
Top Bar: - Workflow name (editable) - Save button - Status indicator - Validation messages
Left Sidebar: - Add Stage button - List of existing stages - Stage Editor panel (appears when you select a stage)
Canvas: - Empty state ("No stages yet") initially - Drag stages from sidebar to canvas - Visual connectors show dependencies - Click stages to edit properties
Adding Stages¶
Method 1: From the Empty Canvas
- When the canvas is empty, click the Add Stage button in the center
- A new empty stage appears
- The Stage Editor panel opens on the right
Method 2: From the Sidebar
- In the left sidebar, click the + Add Stage button
- A new stage is created
- The Stage Editor opens for configuration
Method 3: Duplicate an Existing Stage
- Right-click on a stage card or use the stage menu
- Select Duplicate
- A new stage with the same configuration is created below
Stage Configuration¶
When you select a stage, the Stage Editor panel appears on the right:
Stage Name¶
- Enter a descriptive name for the stage
- Names should indicate what the stage does
- Example: "Initial Code Analysis", "Generate Response"
Stage Type¶
Select the type of stage:
| Type | Purpose | Notes |
|---|---|---|
| Agent | Run an AI agent with specific instructions | Standard execution |
| Gate | Pause workflow and wait for human approval/rejection | Requires user decision |
| Parallel | Run multiple substages simultaneously | All must complete before proceeding |
| Conditional | Branch execution based on conditions | Choose path based on rules |
Stage Instructions/Configuration¶
Depending on stage type:
Agent Stages: - Enter the agent name or ID to execute - Provide system instructions/context - Configure timeout and retry policies
Gate Stages: - Set approval prompt (what user sees) - Define approved and rejected paths - Optionally set auto-timeout
Parallel Stages: - Add multiple substages - Each runs independently - Workflow waits for all to complete
Conditional Stages: - Define condition logic - Map output values to branch paths - Set default branch if no conditions match
Dependencies¶
Configure which stage(s) must complete before this stage runs:
- Click the Dependencies section
- Select zero or more predecessor stages
- The canvas visually shows connecting lines between dependent stages
A stage with no dependencies runs immediately when the workflow starts.
Stage Organization¶
Reordering Stages¶
- Drag stages on the canvas to reposition them
- In the sidebar: Drag stages up/down to reorder execution
- The execution order is determined by dependencies and position
Removing Stages¶
- Right-click a stage or click the delete icon
- Confirm deletion
- The stage is removed and all references are cleaned up
Visual Feedback¶
Stage Cards Show:
- Stage name (centered, bold)
- Stage type badge (Agent, Gate, Parallel, Conditional)
- Status indicator (unsaved, error, valid)
- Dependency connector lines (arrows pointing to predecessors)
- Action icons (edit, delete, duplicate)
Color Coding:
- Green: Valid stage
- Yellow: Unsaved changes
- Red: Configuration error
Saving the Workflow¶
Automatic Saving¶
- The Builder auto-saves as you make changes
- A save indicator appears in the top bar
- You'll see "Saving..." briefly, then "Saved"
Manual Save¶
- Click the Save button in the top bar
- The workflow is persisted to your collection
- A confirmation appears briefly
Validation¶
Before saving, the Builder checks:
- All stages have names
- Agent stages have agent selection
- Gate stages have approval prompt
- No circular dependencies (A depends on B depends on A)
- No unreachable stages
If validation fails, errors appear above the problematic stage. Fix them before saving.
Unsaved Changes Warning¶
If you navigate away with unsaved changes:
- A browser confirmation dialog appears
- Click Leave to discard changes or Stay to continue editing
Code Editor Mode¶
For advanced users, a Code Editor mode is available (Haiku/beta):
- Click the { } Code button in the top bar
- The YAML representation of your workflow appears
- Edit the YAML directly:
- Stage definitions
- Dependencies
-
Configuration objects
-
Click Validate to check syntax
- Click Back to Visual to return to the drag-and-drop builder
YAML Structure Example:
version: "1.0"
name: "Code Review Pipeline"
stages:
- id: "initial-analysis"
name: "Initial Code Analysis"
type: "agent"
agent: "code-analyzer"
config:
timeout: 300
instructions: "Analyze the provided code..."
- id: "approval"
name: "Review Approval"
type: "gate"
config:
prompt: "Do you approve these changes?"
dependsOn: ["initial-analysis"]
Viewing Workflow Details¶
Opening a Workflow¶
Click any workflow card or list item to open the Workflow Details page:
- Workflow name and description
- Stage visualization (graph of stages and dependencies)
- Metadata:
- Creation date
- Last modified date
- Author
- Number of stages
- Number of executions
Actions on Details Page¶
| Button | Action |
|---|---|
| Edit | Open workflow in the Builder for modification |
| Run | Start a new execution |
| Duplicate | Create a copy of this workflow |
| Delete | Remove workflow (with confirmation) |
Stage Visualization¶
The stage visualization shows:
- Nodes: Each stage as a colored box
- Labels: Stage names inside nodes
- Type Badges: Icon indicating stage type (agent, gate, etc.)
- Connectors: Arrows showing stage dependencies
- Direction: Left to right; top to bottom for complex flows
Click a stage node to: - Highlight it - See detailed configuration - View any validation messages
Running Workflows¶
Starting a Workflow Execution¶
Method 1: From Workflow Card
- In the Workflow Library, click the Run button on a workflow card
- The Run Workflow dialog opens
- Fill in parameters (see below)
- Click Start Execution
Method 2: From Workflow Details
- Open a workflow
- Click the Run button in the header
- The Run Workflow dialog opens
Method 3: From Workflow Editor
- While editing, click the Run button in the top bar
- Current workflow is executed with your parameters
Run Workflow Dialog¶
The dialog has two sections:
Parameters Section¶
Dynamic parameter fields appear based on the workflow's parameter schema:
Parameter Types:
| Type | Input | Examples |
|---|---|---|
| String | Text field | Repository name, code snippet |
| Number | Number input | Timeout in seconds, max results |
| Boolean | Toggle switch | Enable/disable options |
| Select | Dropdown | Choose from predefined options |
| Textarea | Multi-line text | Long content, code blocks |
Field Validation:
- Required fields: Must have a value (marked with asterisk *)
- Default values: Pre-filled automatically
- Inline help text: Describes what the parameter does
- Error messages: Show if required field is empty
Filling Parameters:
- Each parameter shows its name and description
- Type or select values in the input fields
- Default values are pre-filled; override them if needed
- Required fields must be filled before you can run
Advanced Section (Optional)¶
Click Advanced Settings to expand:
- Context Module Override: Select a custom context module (if configured)
- Project Override: Run in a different project context
- Environment Variables: Set temporary env vars for this execution
Starting the Execution¶
- Fill all required parameters
- Click the Start Execution button
- The workflow execution begins
- You're automatically redirected to the Execution Dashboard
Execution Dashboard¶
The Execution Dashboard provides real-time monitoring of a running workflow.
Dashboard Layout¶
┌─────────────────────────────────────────┐
│ Execution Header │ (sticky)
│ (Workflow name, run ID, status, actions)│
├─────────────────────────────────────────┤
│ Progress Bar │
│ (Stage progress, connection status) │
├───────────────────┬─────────────────────┤
│ Stage Timeline │ Execution Detail │
│ (left column) │ (right side) │
│ ┌───────────────┐ │ ┌─────────────────┐ │
│ │ Stage 1 │ │ │ Stage info │ │
│ │ ✓ completed │ │ │ Agent details │ │
│ ├───────────────┤ │ │ Timing info │ │
│ │ Stage 2 │ │ │ Context used │ │
│ │ → running │ │ │ Inputs/Outputs │ │
│ ├───────────────┤ │ │ Error (if fail) │ │
│ │ Stage 3 │ │ │ Approval (gate) │ │
│ │ ◯ pending │ │ └─────────────────┘ │
│ └───────────────┘ └─────────────────────┘
│ │ Log Viewer │
│ │ (shows logs) │
└─────────────────┴─────────────────────────┘
Execution Header¶
Top Sticky Bar showing:
- Workflow Name (clickable link to workflow details)
- Run ID (truncated, full ID on hover)
- Status Badge (color-coded for status)
- Started Timestamp (when execution began)
- Action Buttons:
- Pause (if running)
- Resume (if paused)
- Cancel (stop execution)
- Re-run (start execution again)
On narrow screens, action buttons collapse into a ... menu.
Progress Bar¶
Below the header, a compact progress bar shows:
- Stage Progress: Visual indicator of how many stages have completed
- Percentage: (2/5 stages complete)
- Connection Status:
- Green dot: Connected to execution stream
- Yellow dot: Reconnecting
- Gray dot: Disconnected (results still load from API)
Stage Timeline¶
Left Column lists all stages in execution order:
Stage Card Components¶
Each stage shows:
- Stage Name (bold, clickable)
- Status Icon:
- ✓ (checkmark): Completed successfully
- ⏸ (pause): Paused (awaiting approval or user action)
- → (arrow): Currently running
- ◯ (circle): Pending (waiting for dependencies)
- ✕ (X): Failed with error
- Stage Type Badge (Agent, Gate, Parallel, etc.)
- Duration (how long it took, or "in progress" for running)
- Time Started (relative time: "5m ago")
Clicking a Stage¶
- Click any stage card in the timeline
- The Execution Detail panel on the right updates immediately
- Logs below update to show that stage's output
- The selected stage is visually highlighted
Stage Status Meanings¶
| Status | Meaning | What's happening |
|---|---|---|
| ◯ Pending | Not started yet | Waiting for prerequisites |
| → Running | Currently executing | Agent is processing |
| ⏸ Paused | Awaiting input | Gate stage, needs approval |
| ✓ Completed | Finished successfully | Results are available |
| ✕ Failed | Encountered an error | Error details shown below |
| ↻ Retrying | Attempting again | Failed, automatic retry active |
Execution Detail Panel¶
Right Column shows full details for the selected stage:
Stage Header¶
- Stage name
- Type badge (Agent, Gate, etc.)
- Status badge (color-coded)
- Relative time started
Agent Information¶
(Only for Agent stages)
- Agent Name: Name of the AI agent that ran
- Agent Type: Category (research, coding, analysis, etc.)
- Tools Available: List of tools the agent can access
- Each tool shows icon and name
- Hover for description
Timing Section¶
A grid showing:
| Field | Meaning |
|---|---|
| Started | Absolute timestamp when stage began |
| Duration | How long stage took to complete, or live counter if running |
| Ended | Absolute timestamp when stage finished (or "—" if still running) |
Live updates: Running stages show a live counter ("2m 30s elapsed...").
Context Consumed¶
Shows how much context (tokens) the stage used:
- Input Tokens: Tokens sent to the agent
- Output Tokens: Tokens generated by the agent
- Total: Sum of input + output
- Model: Which model was used
Inputs / Outputs Sections¶
Collapsible sections showing stage data:
Inputs: - Parameters passed to this stage - Output from previous stage(s) - Formatted as collapsible JSON tree (expand/collapse)
Outputs: - Results returned by this stage - Formatted as collapsible JSON tree - Click to expand and view full content - Copy button to copy to clipboard
Error Callout¶
(Only if stage failed)
Shows in a red alert box:
- Error Title: "Stage Failed"
- Error Message: Detailed reason (API error, timeout, agent error, etc.)
- Stack Trace (if available): Technical details
- Recovery Suggestion: How to fix (if applicable)
Gate Approval Panel¶
(Only for Gate stages awaiting approval)
Shows:
- Approval Prompt: The question/message to approve
- Context Preview: Summary of what led to this gate
- Two Buttons:
- Approve (green): Proceed to next stage
- Reject (red): Fail this stage, terminate workflow
Loading state on buttons while request is in flight. Confirmation appears after submission.
Log Viewer¶
Below Execution Detail, shows real-time logs for the selected stage:
Log Features¶
- Live Scrolling: New logs appear at the bottom automatically
- Auto-scroll: Scrolls to bottom as new logs arrive
- Search: Search field to filter logs by keyword
- Log Level Filter:
- All / Error / Warning / Info / Debug
- Only show logs matching selected level
Log Entries¶
Each log line shows:
- Timestamp: When the log was generated (relative or absolute)
- Level Badge: ERROR (red), WARN (yellow), INFO (blue), DEBUG (gray)
- Message: The actual log text
- Context (if available): Additional metadata
Log Behavior¶
- Persistence: Logs are stored; you can view them even after execution completes
- Streaming: During active execution, logs appear in real-time via Server-Sent Events (SSE)
- Fallback: If connection drops, logs are loaded from the API on-demand
- Persistence: Scroll up to view earlier logs
Monitoring Executions¶
All Executions Page¶
View all workflow executions across the entire collection:
- Click All Executions in the Workflows section
- A table appears showing all runs, newest first
Execution Columns¶
| Column | Content |
|---|---|
| Run ID | Truncated execution ID; hover for full ID |
| Workflow | Workflow name (clickable link) |
| Status | Color-coded badge (Running, Completed, Failed, etc.) |
| Started | Relative time (e.g., "5m ago") |
| Duration | How long execution took (or "in progress") |
| Trigger | How it was started (Manual, API, Schedule) |
Filtering Executions¶
- Status Filter: Dropdown to show only executions with a specific status
- Sort Order: Click the "Started" column header or use the sort button to toggle ascending/descending
- Click Clear filters to reset
Clicking an Execution¶
Click any row to navigate to the Execution Dashboard for that run.
Workflow-Specific Executions¶
View all executions for a single workflow:
- Open a workflow
- Click the Executions tab or "View all runs" link
- Shows only runs for that workflow
- Same filtering and sorting as All Executions
Execution Status Reference¶
| Status | Color | Meaning |
|---|---|---|
| Running | Blue | Stages are currently executing |
| Pending | Slate | Execution queued, not yet started |
| Completed | Green | All stages finished successfully |
| Failed | Red | One or more stages failed |
| Paused | Amber | Execution paused (gate awaiting approval) |
| Cancelled | Zinc | User cancelled the execution |
| Waiting for Approval | Violet | Gate stage is awaiting human decision |
Keyboard Shortcuts¶
Workflow Library:
/- Focus search fieldEsc- Clear searchg w- Go to Workflows pageg e- Go to All Executions
Workflow Builder:
Ctrl+S- Save workflowEsc- Close without savingCtrl+Z- Undo (if available)Ctrl+Y- Redo (if available)
Execution Dashboard:
Space- Toggle pause/resumex- Cancel executionr- Re-run workflow?- Show help
General:
?- Show available shortcutsCtrl+K- Quick command palette
Troubleshooting¶
Workflows Won't Load¶
Problem: Workflow Library shows error or blank
Solutions:
- Refresh the page:
Ctrl+RorCmd+R - Hard refresh (clear cache):
Ctrl+Shift+RorCmd+Shift+R - Check browser console for errors: Press
F12, check Console tab - Verify API is running: Check that the backend server is accessible
- Restart web server:
Workflow Won't Save¶
Problem: Save button greyed out or shows "Error saving"
Solutions:
- Check for validation errors (red message above stages)
- Fix any configuration issues (missing stage names, etc.)
- Try clearing browser cache:
Ctrl+Shift+Delete(Ctrl+Shift+Del on Windows) - Ensure you have write permissions to the collection
- Check backend logs for details:
Execution Won't Start¶
Problem: Run dialog appears but "Start Execution" button does nothing
Solutions:
- Check that all required parameters (marked with *) are filled
- Look for inline error messages under parameter fields
- Close dialog and try again
- Check that the workflow has been saved successfully
- Verify backend is accessible (check connection indicator)
Logs Not Updating (Disconnected)¶
Problem: Connection indicator shows disconnected, logs aren't updating
Solutions:
- Check Connection: Ensure network is connected
- Page Refresh: Reload the dashboard page
- Browser Console: Check for network errors (F12)
- Firewall/Proxy: Verify SSE (Server-Sent Events) isn't blocked
- Backend Status: Restart backend:
Logs will continue to load from API even if SSE connection drops, just without live updates.
Stage Won't Complete¶
Problem: Stage stuck in "Running" state indefinitely
Solutions:
- Check Logs: Look for error messages in the log viewer
- Timeout: If timeout is configured, execution may be waiting for it
- Cancel Execution: Click the Cancel button if stuck
- Check Agent: Verify the agent is configured correctly and accessible
- Review Input: Check that inputs passed to the stage are valid
Gate Approval Not Working¶
Problem: Approve/Reject buttons don't respond
Solutions:
- Ensure execution is still running (not already completed)
- Verify this stage is actually a Gate stage
- Try clicking the button again
- Refresh page and retry
- Check browser console for JavaScript errors
Memory/Performance Issues¶
Problem: Dashboard is slow or uses lots of memory
Solutions:
- Close Other Tabs: Reduces browser memory usage
- Collapse Sections: Close expanded Inputs/Outputs sections
- Disable Debug Logs: If viewing very verbose logs, toggle log level filter
- Smaller Workflows: Test with simpler workflows first
- Browser Restart: Restart browser to clear memory
Getting Help¶
If issues persist:
- Collect Information:
- Screenshot or description of the issue
- Steps to reproduce
- Browser type and version
-
Any error messages from console (F12)
-
Check Logs:
-
Diagnose Environment:
-
Contact Support:
- GitHub Issues: https://github.com/skillmeat/skillmeat/issues
- Discussions: https://github.com/skillmeat/skillmeat/discussions
See Also¶
- Web UI Guide - General web interface overview
- Collections Management - Managing your artifact library
- Analytics Guide - Understanding usage patterns