Templates / Run Bunker Guard NPC chat and RAG lore checks with Google Gemini and Google Drive

Run Bunker Guard NPC chat and RAG lore checks with Google Gemini and Google Drive

Needs changes

by Aslamul Fikri Alfirdausi ✓ · 23 views · created 2026-07-06 · Miscellaneous, AI RAG

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 19 nodes and runs when a chat message arrives (plus 2 other triggers). Along the way it connects Google Gemini Chat Model, Vector Store Question Answer, Embeddings Google Gemini and Google Drive.

How it runs

Trigger: When a chat message arrives (plus 2 other triggers).

  1. AI Agent: runs an AI agent, with model: Google Gemini Chat Model; 1 tool (Database_Bunker); memory: Window Buffer Memory
  2. Download File From Google Drive (Google Drive): download
  3. Switch: routes items into 3 branches
  4. Simple Vector Store: stores documents in the Simple vector store, with embeddings: Embeddings Google Gemini; document loader: Default Data Loader
  5. DayClue creator (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; 1 tool (Database_Bunker)
  6. npc creator (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; memory: Simple Memory
  7. Chat Generator (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; 1 tool (Database_Bunker); memory: Simple Memory
  8. Respond to Webhook: sends the response back to the webhook caller

Services it uses

Google Gemini Chat ModelVector Store Question AnswerEmbeddings Google GeminiGoogle Drive

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Chat Generator (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Chat Generator (v1.8)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (14)

From the author

Quick overview This workflow powers dynamic character interactions for investigative games. It ingests lore from Google Drive into a vector database, using Google Gemini agents to generate daily briefings, spawn NPCs, and roleplay interrogations via a…

Excerpt from Aslamul Fikri Alfirdausi'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.