Skip to content
FlowHubFluxonLab
OpenAI Chat Model
AI Automationfree

AI: Ask questions about any data source (using the n8n workflow retriever)

by n8n Teamadapted from n8n official workflow galleryUpdated Aug 2026
RequiresOpenAI Chat ModelOpenAI Chat ModelQuestion and Answer ChainQuestion and Answer ChainWorkflow RetrieverWorkflow Retriever
Share Post Share
MaWhen clicking "Execute Workflow"When clicking "…SeEdit FieldsCRQuestion and Answer ChainQuestion and An…OpenAI Chat Model1OpenAI Chat Mod…RWWorkflow RetrieverWorkflow Retrie…1234
1/5
STEPS · 4
Run manually by an operator

This template aims to perform Q&A on data retrieved from another n8n workflow. Since that workflow can be used to retrieve any data from any service, this template can be used to ask questions about any data. It uses a manual trigger, various AI nodes, and an OpenAI Chat Model to extract and provide relevant information based on a specific query. Note that to use this template, you need to be on n8n version 1.19.4 or later.

Tags

n8nreference-onlychain-retrieval-qalm-chat-open-airetriever-workflow
Connects
openaichatmodelOpenAI Chat ModelquestionandanswerchainQuestion and Answer ChainworkflowretrieverWorkflow Retriever
CategoryAI Automation
Triggermanual
Complexitymedium
Nodes5
AddedOct 3, 2023

Related workflows

See all AI Automation
binaryinputloaderembeddingsopenaigoogledriveopenaichatmodel
free

Ask questions about a PDF using AI

The workflow first populates a Pinecone index with vectors from a Bitcoin whitepaper. Then, it waits for a manual chat message. When received, the chat message is turned into a vector and compared to the vectors in Pinecone. The most similar vectors are retrieved and passed to OpenAI for generating a chat response. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by David Roberts
Agmailopenaichatmodeltextclassifier
free

Suggest meeting slots using AI

The purpose of this n8n workflow is to automate the process of identifying incoming Gmail emails that are requesting an appointment, evaluating their content, checking calendar availability, and then composing and sending a response email. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team
Acodetoollangchaincodeopenaichatmodel
free

Custom LangChain agent written in JavaScript

This workflow has multiple functionalities. It starts with a manual trigger, "When clicking 'Execute Workflow'", that activates two separate paths. The first path takes a preset string "Tell me a joke" and processes it through a custom Language Learning Model (LLM) chain node. This node interacts with an OpenAI node for query processing. The second path takes another preset string "What year was Einstein born?" and passes it to an "Agent" node. This agent further interacts with a Chat OpenAI node and a custom Wikipedia node to produce the required information. The workflow uses both built-in and custom nodes, and integrates with OpenAI for both paths. It's built for experimenting with language models, specifically in the context of conversational agents and information retrieval. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team