Workflows
Create visual workflows to organize complex processes. Use a drag-and-drop canvas to design step-by-step procedures with interconnected nodes, and build reusable sub-workflows for common patterns.
Overview
Workflows provide a visual way to document and organize multi-step processes. Each workflow consists of nodes connected by edges, representing the flow of steps in a process.
Key features include:
- Visual canvas — Drag-and-drop interface for designing workflows
- Multiple node types — Start, End, Action, Conditional, and Workflow nodes
- Sub-workflows — Reference other workflows as reusable building blocks
- Dependency tracking — See which workflows depend on others
Creating a Workflow
To create a new workflow:
- Navigate to your workspace
- Click the Workflows tab
- Click New Workflow
- Enter a name and optional description
- Click Create to open the visual editor
Node Types
Workflows support five types of nodes:
Start Node
The entry point of your workflow. Every workflow should have exactly one Start node. It has no incoming connections and one or more outgoing connections.
End Node
Marks the completion of a workflow path. End nodes have incoming connections but no outgoing connections. A workflow can have multiple End nodes for different outcomes.
Action Node
Represents a step or action in your process. Action nodes can have both incoming and outgoing connections. Use the title and description to document what happens at this step.
Conditional Node
Represents a decision point with multiple possible paths. Use conditional nodes when the workflow branches based on conditions. Each outgoing edge can be labeled to indicate the condition.
Workflow Node
References another workflow as a sub-workflow. This allows you to create reusable workflow patterns. When you select this type, you'll choose which workflow to reference from a dropdown list. See Workflow Restrictions for connection rules.
Using the Canvas
The workflow canvas provides an interactive editing experience:
Adding Nodes
- Click the + button in the toolbar
- Select the node type from the dropdown
- The node appears on the canvas
- Drag it to position it where you want
Connecting Nodes
- Hover over a node to see connection handles
- Click and drag from a source handle (bottom of node)
- Drop on a target handle (top of another node)
- The connection is created
Editing Nodes
- Click on a node to select it
- The node panel opens on the side
- Edit the title, description, or other properties
- Changes are saved when you click Save
Deleting Nodes
- Select the node you want to delete
- Press Delete or Backspace
- Connected edges are automatically removed
Canvas Navigation
- Pan — Click and drag on empty canvas space
- Zoom — Use scroll wheel or pinch gesture
- Fit view — Click the fit button to see all nodes
- Minimap — Use the minimap for quick navigation in large workflows
Saving Changes
Workflow changes are saved locally as you edit. To persist your changes:
- Make your edits on the canvas
- Click the Save button in the toolbar
- All node positions, connections, and properties are saved
If you navigate away without saving, your changes will be lost. Always save before leaving the workflow editor.
Workflow Restrictions
Workflows have certain restrictions to ensure consistency and prevent breaking dependencies:
Deletion Protection
Workflows that are referenced by other workflows cannot be deleted. If you attempt to delete a workflow that is used as a sub-workflow elsewhere, you'll see an error message. You must first remove all references to the workflow before it can be deleted.
Workflow Node Connections
Workflow nodes (sub-workflows) do not have outgoing connections. They behave similarly to End nodes in this regard. This is because a sub-workflow represents a complete process that executes independently.
Viewing Dependents
To see which workflows depend on a specific workflow:
- Open the workflow card menu (three dots)
- Click Dependents
- A dialog shows all workflows that use this workflow as a sub-workflow
- Click on any dependent to navigate to it
Enabling & Disabling Workflows
Workflows can be enabled or disabled:
- Open the workflow card menu (three dots)
- Click Enable or Disable
- Disabled workflows appear dimmed in the list
Disabling a workflow is useful when you want to temporarily hide it without deleting it.
Exporting Workflows
Workflows can be exported as JSON files for backup or sharing:
- Open the workflow card menu (three dots)
- Click Download as JSON
- The workflow with all nodes and edges will be exported as a structured JSON file
Importing Workflows
Import workflows from JSON files:
- Click the Import button next to "New Workflow"
- Drag and drop a JSON file or click to browse
- The system validates the JSON structure
- Preview shows workflow name, description, and node count
- Click Import Workflow to create it
Note: If a workflow with the same name exists, it will be auto-renamed (e.g., "My Workflow" → "My Workflow (2)").
Community Workflows
Don't want to start from scratch? Browse ready-to-use workflows created by the community:
Visit github.com/instructionly/community/workflows to discover workflow examples for code review, bug fixes, deployments, and more. Download JSON files and import them directly into your workspace.
Contributing Your Workflows
Have workflows that work well for your team? Share them with the community:
- Export your workflow as JSON
- Fork the community repository
- Add your workflow to
workflows/examples/ - Submit a pull request
See the Contributing Guide for detailed instructions.
Pricing
Workflows are charged based on the number of items (nodes and edges) when retrieved via the workflow tool.
| Item | Cost |
|---|---|
| Per item (node or edge) | 0.025 credits |
| Minimum charge per request | 0.25 credits |
Examples:
- 5 items → 0.25 credits (minimum)
- 10 items → 0.25 credits (minimum)
- 20 items → 0.50 credits
- 50 items → 1.25 credits
See Billing & Credits for more details on credit management and purchasing.
Workspace Limits
Each workspace can have up to 50 workflows. If you reach this limit, you'll need to delete unused workflows before creating new ones.