Skip to main content

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

Workflow preview

Workflow preview
100%
Smart knowledge base with Google Docs, Discord & GPT-4o-mini preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Need help? Want access to this workflow + many more paid workflows + live Q&A sessions with a top verified n8n creator? [Join the community](https://www.skool.com/beyond nodes automation lab 2006/a...

Best for

  • AI RAG automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.executeworkflowtrigger, n8n-nodes-base.googledocs, n8n-nodes-base.set, n8n-nodes-base.switch, @n8n/n8n-nodes-langchain.toolworkflow, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.mcptrigger, @n8n/n8n-nodes-langchain.agent

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by David Ashby.

Original n8n.io source

1.1 Workflow description

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

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 + Discord. Part of the MCP ecosystem.

Advanced toolchain with multi-platform integration

πŸ” What It Does

πŸ“š Save Memories: Log conversations, decisions, or code snippets to a Google Doc (timestamped).

πŸ” Retrieve Memories: Fetch past context for AI agents or workflows.

πŸ“€ Auto-Send Updates: Push memories to Discord channels/DMs via GPT-4o-mini formatting.

πŸ€– MCP-Compatible: Works with your existing GitHub/Discord MCP workflows.

πŸš€ Key Features

🌐 Multi-Trigger: Use via:

    save_memory / retrieve_memory API routes.

    Discord mentions via MCP Server integration.

πŸ” Secure Storage: Memories live in your Google Docs (no third-party DB).

🧩 Modular Design: Swap Google Docs for Notion/Airtable with minimal changes.

πŸ€– AI Cleanup: GPT-4o-mini reformats raw data into Discord-friendly messages.

βš™οΈ Use Cases

Team Knowledge Base: Archive meeting notes accessible via Discord commands.

AI Context Window: Give bots long-term memory for better issue resolution.

Audit Trail: Track project decisions with timestamps.

πŸ› οΈ Setup Guide

πŸ“ Configure Google Docs:

    In "Edit Fields", set sheet_id to your Google Doc URL.

πŸ€– Discord Permissions:

    Update discord_server_id, discord_channel_id, and discord_user_id.

πŸ”— Link to MCP:

    Use the MCP Server Trigger node to connect to existing workflows.

🧠 Customize AI:

    Tweak the AI Agent prompt for different formatting styles.

Works great with the $1 GitHub MCP Server template!

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When Executed by Another Workflow

Type / Role
n8n-nodes-base.executeWorkflowTrigger - executeWorkflowTrigger
Config choices
Version 1.1

Block 2 - Save Long Term Memories

Type / Role
n8n-nodes-base.googleDocs - googleDocs
Config choices
Version 2

Block 3 - Saved response

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 4 - Respond with long term memories

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 5 - Retrieve Long Term Memories

Type / Role
n8n-nodes-base.googleDocs - googleDocs
Config choices
Version 2

Block 6 - Memory Tool Router

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 7 - Edit Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 8 - Save Memories

Type / Role
@n8n/n8n-nodes-langchain.toolWorkflow - toolWorkflow
Config choices
Version 1.2

Block 9 - Retrieve Memories

Type / Role
@n8n/n8n-nodes-langchain.toolWorkflow - toolWorkflow
Config choices
Version 1.2

Block 10 - Send Memories to Discord

Type / Role
@n8n/n8n-nodes-langchain.toolWorkflow - toolWorkflow
Config choices
Version 1.2

Block 11 - 4o-mini

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 12 - MCP Server Trigger

Type / Role
@n8n/n8n-nodes-langchain.mcpTrigger - mcpTrigger
Config choices
Version 1

Block 13 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.9

Block 14 - Retrieve Long Term Memories Discord

Type / Role
n8n-nodes-base.googleDocs - googleDocs
Config choices
Version 2

Block 15 - DM User

Type / Role
n8n-nodes-base.discordTool - discordTool
Config choices
Version 2

Block 16 - Send to Channel

Type / Role
n8n-nodes-base.discordTool - discordTool
Config choices
Version 2

3. Summary Table

Workflow Smart knowledge base with Google Docs, Discord & GPT-4o-mini
Complexity advanced
Nodes 16
Categories AI RAG
Author David Ashby
Published 25 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4388/4388.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Smart knowledge base with Google Docs, Discord & GPT-4o-mini do?

Need help? Want access to this workflow + many more paid workflows + live Q&A sessions with a top verified n8n creator? [Join the community](https://www.skool.com/beyond nodes automation lab 2006/a...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your AI RAG use case.