Example of answering questions using data retrieved from a subworkflow
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.Receive inquiry via manual trigger
- 2.Search and retrieve relevant information from knowledge base
- 3.Extract and prepare contextual data
- 4.Send query and context to OpenAI language model
- 5.Generate response using retrieved information
- 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
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (5)
When clicking "Execute Workflow"
Manual Trigger
Workflow Retriever
Retriever Workflow
Retrieval QA Chain2
Chain Retrieval Qa
OpenAI Chat Model
OpenAI
Example Prompt
Set
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
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