Templates / Smart knowledge base with Google Docs, Discord & GPT-4o-mini

Smart knowledge base with Google Docs, Discord & GPT-4o-mini

Needs changes

by David Ashby ✓ · 404 views · created 2025-05-25 · 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 16 nodes and runs when another workflow calls it (plus 1 other trigger). Along the way it connects Google Docs, OpenAI Chat Model and Discord.

How it runs

Trigger: When another workflow calls it (plus 1 other trigger).

  1. Edit Fields (Edit Fields (Set)): sets or maps fields
  2. Memory Tool Router (Switch): routes items into branches
  3. Save Long Term Memories (Google Docs): uses Google Docs
  4. Retrieve Long Term Memories (Google Docs): uses Google Docs
  5. Retrieve Long Term Memories Discord (Google Docs): uses Google Docs
  6. Saved response (Edit Fields (Set)): sets or maps fields
  7. Respond with long term memories (Edit Fields (Set)): sets or maps fields
  8. AI Agent: runs an AI agent, with model: 4o-mini; 2 tools (DM User, Send to Channel)

Services it uses

Google DocsOpenAI Chat ModelDiscord

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 AI Agent (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (9)

From the author

Need help? Want access to this workflow + many more paid workflows + live Q&A sessions with a top verified n8n creator? Join the community 🧠 MCP Memory Core: AI-Powered Knowledge Base Store, retrieve, and act on organizational memories using Google Docs +…

Excerpt from David Ashby'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.