Run a skills-based knowledge chatbot with Google Sheets and GPT-4o-mini
Ready for 3.0Ready 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 7 nodes and runs when a chat message arrives. Along the way it connects Google Sheets and OpenAI Chat Model.
How it runs
Trigger: When a chat message arrives.
- 2. Google Sheets — Load Active Skills (Google Sheets): get many
- 3. Code — Format Skills for Agent (Code): runs custom JavaScript code
- 4. AI Agent — Skills Executor (AI Agent): runs an AI agent, with model: OpenAI — GPT-4o-mini Model; memory: Session Memory
- 5. Respond to Chat (Chat): uses Chat
Services it uses
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 (7)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Chat
@n8n/n8n-nodes-langchain.chat
From the author
Quick overview This workflow creates a session-based chatbot in n8n Chat that loads “skills” from Google Sheets and uses OpenAI GPT-4o-mini to respond strictly according to the matched skill’s trigger phrases and instructions. How it works 1. Receives each…