AgentHub

Save Costs In RAG Workflows using the Q&A Tool With Multiple Models

This template shows how to use the Question and Answer tool to save costs in RAG use cases.

Live
Open / InstallLast updated July 27, 2026

Description

This template shows how to use the Question and Answer tool to save costs in RAG use cases. Who is this for? This template is for everyone who wants to start giving knowledge to their Agents through RAG. Requirements Have a PDF with custom knowledge that you want to provide to your agent. Setup No setup required. Just hit Execute Workflow, upload your knowledge document and then start chatting. How to customize this to your needs Add custom instructions to your Agent by changing the prompts in it. Add a different way to load in knowledge to your vector store, e.g. by looking at some Google Drive files or loading knowledge from a table. Describe your data properly in the Q&A tool Exchange the Simple Vector Store nodes with your own vector store tools ready for production. Add a more sophisticated way to rank files found in the vector store. For more information read our docs on RAG in n8n. An n8n automation workflow template by Niklas Hatje.

Author

Niklas Hatje

Platform

web

Pricing model

free

Categories

Automation
AI

Tags

n8n
workflow
ai-agent
embeddings-openai
openai-chat-model
simple-vector-store
default-data-loader
vector-store-question-answer-tool

Capabilities

  • 6 nodes
  • 3,798 views