Introduction
The visual builder is the safest place to edit complex chatbot journeys because operators can see the flow map, node connections, and branch structure before customers use it.
Toolbar Controls
| Control | What it does |
|---|---|
| Palette toggle | Switches the left node palette between full labels and icon-only mode so the canvas gets more working space. |
| Select chatbot flow | Loads an existing flow into the canvas. |
| Flow status badge | Shows whether a flow is loaded and whether it has an active/editable state. |
| Layout | Repositions nodes into a cleaner readable layout. |
| Undo / Redo | Reverses or reapplies recent builder changes. |
| Test | Opens the simulator so you can test without relying on a live customer. |
| Preflight | Shows a proper readiness dialog with blockers, warnings, and information items. |
| Save Flow | Validates and saves the current canvas. Use after every important change. |
| Fullscreen | Expands the Chatbot builder over the app chrome and can be closed with the button or Escape. |
| More menu | Contains lower-frequency actions such as Clone Sample and Delete Flow. Destructive actions still require confirmation. |
| Compact workspace | The builder uses a reduced header, compact command bar, collapsible palette, and dotted whiteboard canvas so more of the flow is visible while editing. |
| Top action menu | The Create Flow plus button and the three-dot actions menu sit beside the Chatbot Flows title in the top bar. Secondary actions such as Bot Sequences, Settings, Export, and Import are grouped inside the three-dot menu so the builder starts immediately below the top bar. |
Node Palette Groups
| Group | Nodes | Use case |
|---|---|---|
| Start & Flow Control | Start, Run Subflow, End | Start, reuse shared subflows, or finish the main journey. |
| Send Messages | Message, Interactive, Template Message, Image, Audio, Video, Document, CTA | Send text, approved templates, media, links, and structured WhatsApp choices. |
| Collect Input & Data | Capture Input, Question, Collect Multiple Details, Set Variable, JSON Extract | Ask for answers, save values, and extract response data. |
| Logic & AI | Yes / No, Switch / Router, AI Classifier, AI Answer, AI Agent, AI Extract, Knowledge Answer, Sentiment Analysis, AI Summary, AI Voice, AI Image | Route customers based on context or AI output, generate governed AI results, or intentionally hand the chat into persistent AI ownership. |
| Wait & Follow-Up | Delay / Wait, Wait for Email, Wait for Event, New Sequence Campaign, Send Message After | Pause paths and define follow-up campaigns or sequence steps. |
| Interactive Building Blocks | Menu / List, List Messages, Section, Row, Button | Build list and button structures under a clear current heading. |
| Contact & Team Actions | Tag Contact, Assign Team / Queue, Request Human, Update Contact Field | Update customer state and route conversations to people or teams. |
| Commerce & Appointments | Appointment, Catalog, Single Product, Multiple Products | Start appointment and catalog-related customer journeys. |
| Integrations | API Request / Webhook, Google Sheets, Run n8n Workflow, Send Email, Find Email, Gmail, Google Calendar, Database | Connect the chatbot to external systems, mail, calendar, and safe data lookups. |
Canvas And Editing Controls
- Drag nodes from the palette onto the canvas.
- Collapse the palette when you need more whiteboard width; hover over icons to identify nodes.
- Every visible node has a colored palette icon and matching card header color so node categories remain easy to recognize when the palette is collapsed.
- Connect outputs to the next node to define the path.
- Use the quick-add menu from a connection point when adding the next node in context.
- Use the node context menu to clone or delete selected nodes.
- Use fullscreen when you want only the Chatbot builder workspace in view. Supported browsers also enter browser fullscreen; if the browser blocks it, the app still uses workspace fullscreen.
- Image nodes show the selected image on the card when a preview-safe media path is available.
- Interactive, Catalog, API Request, Email, n8n, Calendar, Database, Wait, and AI cards show compact summaries so you can recognize configured actions without reopening every drawer.
- Preflight checks whether nodes can be reached from Start and warns about possible cycles so customers do not get stuck without a clear exit.
- Use zoom controls to inspect large flows without losing structure.
- Use keyboard shortcuts shown in the builder for delete, undo, redo, save, and zoom behavior.
Chatbot Wait Worker Cron
Delay / Wait, Wait for Email timeout, and Wait for Event timeout nodes pause a customer path and resume later. For reliable resumes, the server must run the Chatbot wait worker through the central Cron Worker hub.
* * * * * php /home/your-user/domains/your-domain/public_html/your-app/app/Modules/Chatbot/Workers/chatbot_delay_worker.php --limit=50 >> /path/to/logs/chatbot_delay_worker.log 2>&1 If the worker is not running, customers may reach a wait node and then never continue to the next step.
Testing Example
- Load the flow in the visual builder.
- Click Test Flow.
- Enter the same kind of customer replies a real user would send.
- Verify every button, list row, condition, and input validation path.
- Save the flow after corrections.
- Run one live internal test conversation before activating it for customers.
FAQs & Troubleshooting
Why does a wait node not resume?
The Chatbot wait worker cron may be missing, paused, using the wrong path, or logging errors.
When should I use Switch / Router instead of Condition?
Use Condition for true/false decisions. Use Switch / Router when one value can match several exact cases.
Troubleshooting Checklist
- If Save Flow is disabled, confirm a flow is selected and the builder has loaded successfully.
- If a connection cannot be made, check whether the node type supports that output path.
- If AI nodes do not respond as expected, review Settings > AI Settings and test the AI behavior before using it in a live flow.
- If the simulator works but live WhatsApp does not, check trigger priority, active flow status, and webhook/inbound message processing.