AutomationFlowsAI & RAG › RAG (agent)

RAG (agent)

rag. Uses agent, chatTrigger, lmChatGoogleGemini, memoryBufferWindow. Chat trigger; 9 nodes.

Chat trigger trigger★★★☆☆ complexityAI-powered9 nodesAgentChat TriggerGoogle Gemini ChatMemory Buffer WindowGoogle Gemini EmbeddingsDocument Default Data LoaderForm TriggerIn-Memory Vector Store
AI & RAG Trigger: Chat trigger Nodes: 9 Complexity: ★★★☆☆ AI nodes: yes Added:

This workflow follows the Agent → Chat Trigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json

  

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

rag. Uses agent, chatTrigger, lmChatGoogleGemini, memoryBufferWindow. Chat trigger; 9 nodes.

Source: https://github.com/datawhalechina/handy-n8n/blob/d0d1f6dbb65815de8b1433dd671482f25e76122b/workflows/c04/n8n_rag.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

AI chatbots are only as good as the data they learn from. Most large language models (LLM) rely only on their training datasets.

Pinecone Vector Store, Google Gemini Embeddings, Document Default Data Loader +7
AI & RAG

Fadhil. Uses agent, chatTrigger, mySql, vectorStoreSupabase. Chat trigger; 25 nodes.

Agent, Chat Trigger, MySQL +10
AI & RAG

This template is ideal for IT support teams, internal helpdesk automation engineers, and developers building intelligent ticketing systems. It helps streamline ITSM workflows by automatically classify

Agent, Google Gemini Chat, Memory Buffer Window +8
AI & RAG

**Type of data is binary

Chat Trigger, Agent, Memory Buffer Window +6
AI & RAG

POC Sistema GenAI Híbrido para uso interno iFood -> Agente RAG + LLM Chain Routing. Uses chatTrigger, chainLlm, googleDrive, documentDefaultDataLoader. Chat trigger; 19 nodes.

Chat Trigger, Chain Llm, Google Drive +6