Complete Workflow Example
Full integration with MCP tools, Knowledge Base, and all features enabled.
A production-ready workflow combining all capabilities: MCP tools, Knowledge Base, and chat playground.
Structure
[Chat Input] → [Agent] → [Chat Output]
↑
[Gateway MCP Client] + [Knowledge Base]
Prerequisites
- Model provider configured
- MCP Gateway with servers (Gsuite, Hubspot, etc.)
- Knowledge Base with documents
Steps
1. Add Nodes
- Chat Input — Entry point
- Agent — Processing
- Chat Output — Response
2. Configure Agent
| Setting | Configuration |
|---|---|
| Model | Select provider (e.g., Anthropic Claude) |
| System Message | See below |
| Store State | Enable for conversation memory |
3. Add Tools
In Agent's Tools section:
-
Gateway MCP Client
- Gsuite (emails, calendar, drive)
- Hubspot (CRM, contacts, deals)
-
Knowledge Base
- Select your KB (e.g., "marketing")
4. System Message
You are a marketing assistant with access to:
1. Knowledge Base - Company marketing documentation and guidelines
2. Gsuite - Email, calendar, and document management
3. Hubspot - CRM for contacts, deals, and campaigns
Workflow:
1. Check knowledge base for relevant company information
2. Use CRM tools to look up contacts or deals
3. Use Gsuite for email/calendar actions
Always verify information before taking actions.
5. Connect & Save
- Connect: Chat Input → Agent → Chat Output
- Save workflow
6. Test in Playground
Example queries:
- "What's our marketing strategy for Q4?"
- "Send follow-up email to the leads from last week"
- "Check John's contact details and schedule a meeting"
Deploy
Embed as Widget
- Click Publish
- Select Embed
- Copy code:
<iframe
src="https://lasius.io/embed/{workflow-id}"
width="400"
height="600"
/>
Export for Backup
- Action → Export
- Save JSON file
Back to: Workflow Overview