AI Agents

Intelligent Question Answering with Data Retrieval

7 nodes 321 156 Automatic trigger
Download

Workflow Description

An automated workflow that captures manual queries, retrieves relevant information from your knowledge base using a retriever system, and processes them through OpenAI's language model to generate contextually accurate answers with full data awareness.

How it works

  1. 1.Receive inquiry via manual trigger
  2. 2.Search and retrieve relevant information from knowledge base
  3. 3.Extract and prepare contextual data
  4. 4.Send query and context to OpenAI language model
  5. 5.Generate response using retrieved information
  6. 6.Return final answer to user

Use cases

  • Automate customer support responses using your company knowledge base
  • Provide consistent, accurate answers to frequently asked questions
  • Power AI-driven chatbots with real business data integration

Requirements

  • Active OpenAI API key with sufficient credits
  • Populated knowledge base or document repository for retrieval
  • Clear query formatting from user input

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Retriever LLM Chain OpenAI

Details

Trigger Automatic trigger
Nodes 7
Apps 3
Views 321
Downloads 156

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (7)

When clicking "Execute Workflow"

Manual Trigger

#1

Workflow Retriever

Retriever Workflow

#2

Retrieval QA Chain2

Chain Retrieval Qa

#3

OpenAI Chat Model

OpenAI

#4

Example Prompt

Set

#5

Sticky Note

Sticky Note

#6

Sticky Note1

Sticky Note

#7