Templates / Run a RAG support copilot with Claude Sonnet and OpenAI embeddings

Run a RAG support copilot with Claude Sonnet and OpenAI embeddings

Ready for 3.0

by Swapnil Mandloi ✓ · 45 views · created 2026-07-28 · Support Chatbot, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 13 nodes and runs when someone submits an n8n form (“Add to Knowledge Base”) (plus 1 other trigger). Along the way it connects Embeddings OpenAI, Anthropic Chat Model and Gmail.

How it runs

Trigger: When someone submits an n8n form (“Add to Knowledge Base”) (plus 1 other trigger).

  1. Company Knowledge Base (Simple Vector Store): stores documents in the Simple vector store, with embeddings: Ingest Embeddings; document loader: Document Loader
  2. AI Support Agent (AI Agent): runs an AI agent, with model: Claude Sonnet 4.; 2 tools (Escalate to Human, Knowledge Base Search); memory: Conversation Memory
  3. Log Q&A (Data table): uses Data table

Services it uses

Embeddings OpenAIAnthropic Chat ModelGmail

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (11)

From the author

Quick overview This template ingests internal docs into an in-memory vector knowledge base using OpenAI embeddings, then runs a public support chat powered by Anthropic Claude that answers only from that knowledge and escalates unanswered requests to a Gmail…

Excerpt from Swapnil Mandloi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.