Visual Editor Overview
The visual editor (Workspace) is the main tool for building bot workflows in TheQueue. Here you assemble workflows from blocks, configure logic, and test your bots.
Interface
Canvas
The central workspace with a grid where blocks are placed. Supports zooming (mouse wheel) and panning (drag on empty area).
Sidebar
The left navigation panel includes:
- Workspace — current editor
- Access — project access management
- Project Settings — project configuration
- Dashboard — analytics
Controls Panel
Right-side toolbar buttons:
- Zoom — zoom in (+) and out (-)
- Fit View — center all blocks on screen
- Undo / Redo — change history
- Lock — lock editing (prevents accidental changes)
- Save — manual save (Ctrl+S)
- Hide Frames — hides header and sidebar to expand the canvas
Minimap
A miniature overview of the entire workflow in the bottom-right corner. Click any area to quickly navigate to it.
Adding Blocks
Right-click on an empty canvas area. A context menu appears with three categories:
- Triggers — entry points (incoming message, schedule, Telegram)
- Functions — actions (send message, condition, variable, HTTP request, code, etc.)
- Integrations — external service connections (CRM, MySQL, MongoDB, AI)
Editing Blocks
- Click — select a block
- Double-click — open the JSON editor with block settings
- Drag — move a block on the canvas
- Right-click on block — delete the block
JSON Editor
Double-clicking a block opens a floating editor window. Depending on the block type, you can configure:
- Message text with variable highlighting
{=varName=} - Telegram button layout
- Conditions for if-blocks
- SQL queries with syntax highlighting
- Python code
Editor windows can be moved and multiple can be open at the same time.
Connecting Blocks
Click the output handle of one block and drag it to the input of another to create a connection. To delete a connection, click on it and press Delete.
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
| Ctrl+S | Save project |
| Ctrl+Z | Undo last action |
| Ctrl+Shift+Z | Redo last undone action |
| Delete | Delete selected block or connection |
Real-Time Collaboration
Multiple users can edit the same project simultaneously. You'll see other participants' cursors on the canvas. All changes are synchronized in real-time via WebSocket.
Saving
- Auto-sync — changes are automatically shared with other participants
- Manual save — Ctrl+S saves the project to the server. A green notification appears after saving