Workflows
Visual Workflow Builder
Create automation workflows with a drag-and-drop visual editor
The workflow builder provides a visual canvas for designing automation rules. Built on React Flow, it offers an intuitive interface for creating complex workflows without writing code.
Canvas Interface
Main Canvas
The central area displays your workflow as a node graph. You can:
- Pan: Click and drag on empty space
- Zoom: Use scroll wheel or pinch gesture
- Select: Click any node to select it
- Multi-select: Hold Shift and click multiple nodes
Add Node Panel
Located in the top-left corner with quick access buttons:
| Node Type | Color | Purpose |
|---|---|---|
| Condition | Yellow | Branch based on true/false evaluation |
| Action | Blue | Execute an operation |
| Delay | Purple | Pause before continuing |
| End | Gray | Terminate the workflow path |
Controls and MiniMap
- Bottom-left controls: Zoom in/out, fit view, toggle lock
- Bottom-right minimap: Overview for navigating large workflows
Working with Nodes
Adding Nodes
- Click a node type button in the Add Node panel
- The node appears on the canvas
- Drag it to your preferred position
- Click to select and configure in the right panel
Connecting Nodes
- Hover over a node to see connection handles (small circles)
- Click and drag from a source handle to a target node
- Connections animate to show data flow direction
For condition nodes:
- Right handle (green): True branch output
- Bottom handle (red): False branch output
Configuring Nodes
- Click any node to select it
- The right panel shows configuration options
- Set the label, type, and specific parameters
- Changes save automatically
Deleting
- Select a node or connection line
- Press Delete or Backspace
Grid and Snapping
The canvas uses a 15px grid with snap-to-grid enabled for clean alignment.
Workflow Validation
The builder validates and warns for:
- No trigger: Workflow must have exactly one trigger node
- Disconnected nodes: Nodes not connected to the main flow
- Missing branches: Condition nodes without both paths connected
Saving and Activating
- Save: Persist draft without activating
- Activate: Enable the workflow to process events
- Deactivate: Pause an active workflow
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Delete / Backspace | Delete selected |
Ctrl/Cmd + Z | Undo |
Ctrl/Cmd + Shift + Z | Redo |
Ctrl/Cmd + S | Save workflow |
Escape | Deselect all |
Example: Priority Escalation
[Trigger: New Ticket]
|
[Condition: Priority = Urgent?]
| |
(Yes) (No)
| |
[Action: Assign] [End]
|
[End]- Trigger: Set to "ticket_created"
- Condition: Check
ticket.priority equals urgent - True branch: Add action to assign to senior agent
- False branch: Connect directly to end node
Tips
- Work top-to-bottom: Arrange nodes in execution order
- Use labels: Descriptive labels make debugging easier
- Test incrementally: Add and test nodes one at a time
- Use the minimap: Navigate large workflows efficiently
Next Steps
- Trigger Types - Configure workflow entry points
- Action Types - Learn available actions
- Condition Logic - Build smart filters