Workflow
Build AI workflows using the visual Flow Editor with nodes, tools, and integrations.
Create powerful AI workflows by connecting nodes in the visual Flow Editor. This guide covers node types, connections, and how to enable chat features.
Navigate to Workflows
- Open the sidebar menu
- Click Workflows | Agents to expand
- Select Workflows
Create a New Workflow
- Click New Flow
- Enter Name and Description
- Click Create
You'll be taken to the Flow Editor.
Flow Editor
Key Areas
| Area | Purpose |
|---|---|
| Canvas | Drag and connect nodes |
| Node Palette | Available node types |
| Properties Panel | Configure selected node |
| Action Menu | Import/Export JSON |
| Publish | Deploy and embed options |
Node Types
Chat Input
Entry point for conversational workflows. Required for Chat Playground.
| Property | Description |
|---|---|
| Variable Name | Input variable (default: input) |
Chat Output
Returns responses to users. Required for Chat Playground.
| Property | Description |
|---|---|
| Output Variable | Response to display |
Agent
AI-powered processing node with model and tools.
| Property | Description |
|---|---|
| Model | Select configured model provider |
| System Message | Instructions for the agent |
| Store State | Persist conversation context |
| Tools | Gateway MCP Client, Knowledge Base, etc. |
Important: To use models from Configurable Components, ensure both Stream and Configure toggles are enabled in the model configuration.
Gateway MCP Client
Connects external tools from MCP Gateway.
| Property | Description |
|---|---|
| Servers | Select from My Servers (Gsuite, Hubspot, etc.) |
Knowledge Base
Adds RAG capabilities with your documents.
| Property | Description |
|---|---|
| Knowledge Base | Select configured KB |
Connecting Nodes
- Click output port (right side of node)
- Drag to input port (left side of target node)
- Release to create connection
Basic Pattern
[Chat Input] → [Agent] → [Chat Output]
With Tools
[Chat Input] → [Agent + Tools] → [Chat Output]
↑
[Gateway MCP Client] + [Knowledge Base]
Chat Playground
Important: To enable Chat Playground, your workflow MUST have both Chat Input and Chat Output nodes connected.
- Add Chat Input node
- Add Chat Output node
- Connect through your Agent
- Save the workflow
- Click Playground to test
Import/Export JSON
Export Workflow
- Open Action menu
- Click Export
- Download JSON file
Import Workflow
- Open Action menu
- Click Import
- Upload JSON or paste content
- Review and save
Publish & Embed
Deploy your workflow as a chat widget:
- Save your workflow
- Click Publish
- Select Embed option
- Copy the embed code
- Add to your website
<iframe src="https://lasius.io/embed/{workflow-id}" />
Examples
- Simple Workflow — Basic agent setup
- With MCP Tools — External integrations
- With Knowledge Base — RAG-enabled
- Complete Example — Full integration
Next: Knowledge Base