Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

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

n8n template #1958
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.

How to set it up

  1. Open template #1958 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
  2. Create 2 credentials under Credentials → Add credential: OpenAI Chat Model, Workflow Retriever. Then open each of those nodes and pick the credential.
  3. Check the model in the OpenAI Chat Model node. The template may point at a model your account can't use; swap it for one you have access to.
  4. Click Execute workflow and step through each node's output to confirm the data looks right.
  5. Toggle the workflow to Active so its trigger runs on its own.

Hand off to your agent

Prompt

Help me set up the n8n workflow "AI: Ask questions about any data source (using the n8n workflow retriever)" (https://n8n.io/workflows/1958). It uses: Question and Answer Chain, OpenAI Chat Model, Workflow Retriever. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Questions

Yes. n8n Team published it free on n8n.io as a verified creator, and it has 9,358 views. It runs on n8n Cloud or a self-hosted n8n instance.

OpenAI Chat Model, Workflow Retriever. The other 1 node are built into n8n.

Similar workflows

NameViews
  1. Ask questions about a PDF using AI118K
  2. AI Crew to Automate Fundamental Stock Analysis - Q&A Workflow28K
  3. Advanced AI Demo (Presented at AI Developers #14 meetup)24K
  4. Supabase Insertion & Upsertion & Retrieval24K
  5. Upsert huge documents in a vector store with Supabase and Notion12K
  6. Explore n8n Nodes in a Visual Reference Library5,197
  7. AI agent chat780K
  8. Building Your First WhatsApp Chatbot332K