Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/n8n agents official/KNOWLEDGE
Reference · n8n agents official

KNOWLEDGE

Part of n8n agents official. Install the skill and your agent reads this page when it needs the depth.

Knowledge files and vector stores

Two different things, often confused.

Knowledge files Vector stores
What Files uploaded to the Agent in the UI (Knowledge tab) An external index you already fill elsewhere: Pinecone, Qdrant, Supabase, Postgres (pgvector)
How the Agent reads them Not RAG. Grep-style tools in a sandbox: find_file (by name), search_text (regex over contents), read_file Semantic search tool search_<name>, top 4 results per call
Good for Policies, handbooks, price lists, FAQs, CSVs: text the model can search for exact words Large corpora where wording varies and exact-match search misses
Set up UI upload; not through MCP vectorStores[] in config
Versioned No. An upload changes the live Agent at once Config is versioned; the index isn't

Knowledge files

Vector stores

"vectorStores": [ {
  "provider": "pinecone", "name": "product_docs",
  "credential": "<pinecone credential id>", "indexName": "docs", "namespace": "v2",
  "embedding": { "model": "openai/text-embedding-3-small", "credential": "<id>" },
  "useWhen": "Search when the user asks how a product feature works."
} ]
<!-- TEMPORARY: not yet verified that a store filled by n8n's vector store nodes returns usable content to an Agent (metadata and text column layout). Test once on the target store before promising it works. -->

Before relying on a store filled by n8n's own vector store nodes, run one call_agent query and check the answer cites real content.

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.