Skip to content
AI Agents

Example of answering questions using data retrieved from a subworkflow

5 nodes 551 197 Automatic trigger
Download

Loading workflow…

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

Manual Trigger Retriever LLM Chain OpenAI Set

Details

Trigger Automatic trigger
Nodes 5
Apps 5
Views 551
Downloads 197

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 (5)

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
Stay in the loop

Fresh workflows, straight to your inbox

Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.

  • New workflows
  • Clear overviews
  • Setup guides

Be first to discover what is new

Your name, your email, and one confirmation.

Email confirmation · Unsubscribe anytime