Workflow with Knowledge Base

Add RAG capabilities to ground responses in your documents.

Connect a Knowledge Base to enable retrieval-augmented generation (RAG) for accurate, grounded responses.

Prerequisites

Structure

[Chat Input] → [Agent] → [Chat Output]
          [Knowledge Base]

Steps

1. Create Base Workflow

Follow Simple Workflow to create Chat Input → Agent → Chat Output.

2. Add Knowledge Base Tool

  1. Select the Agent node
  2. In Properties, find Tools section
  3. Add Knowledge Base
  4. Select your configured KB

3. Update System Message

You are an assistant that answers questions based on the provided knowledge base.

Always use the knowledge base tool to retrieve relevant information before answering.
If information isn't found, say so clearly.

4. Save & Test

  1. Save workflow
  2. Open Playground
  3. Ask questions about your documents

Use Cases

  • Documentation Q&A
  • Product information bot
  • Internal knowledge assistant
  • Customer support with company docs

Next: Complete Example