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

  1. Chat Input — Entry point
  2. Agent — Processing
  3. Chat Output — Response

2. Configure Agent

SettingConfiguration
ModelSelect provider (e.g., Anthropic Claude)
System MessageSee below
Store StateEnable for conversation memory

3. Add Tools

In Agent's Tools section:

  1. Gateway MCP Client

    • Gsuite (emails, calendar, drive)
    • Hubspot (CRM, contacts, deals)
  2. 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

  1. Connect: Chat Input → Agent → Chat Output
  2. 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

  1. Click Publish
  2. Select Embed
  3. Copy code:
<iframe
  src="https://lasius.io/embed/{workflow-id}"
  width="400"
  height="600"
/>

Export for Backup

  1. ActionExport
  2. Save JSON file

Back to: Workflow Overview