Templates / Build an SEO chatbot with GPT-4o-mini using your Google Sheets data

Build an SEO chatbot with GPT-4o-mini using your Google Sheets data

Needs changes

by Incrementors ✓ · 103 views · created 2026-04-10 · Internal Wiki, 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 10 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.

  1. 2. Set — Config Values (Edit Fields (Set)): sets 7 fields: knowledgeBaseSheetId, knowledgeBaseSheetName, logSheetId…
  2. 3. Google Sheets — Read Knowledge Base (Google Sheets): read or search
  3. 4. Code — Build Knowledge Base Text (Code): runs custom JavaScript code
  4. 5. AI Agent — SEO Consultant (AI Agent): runs an AI agent, with model: 6. OpenAI — GPT-4o-mini Model; memory: 7. Memory — Conversation Buffer
  5. 8. Set — Prepare Log Fields (Edit Fields (Set)): sets 6 fields: botAnswer, userQuestion, sessionId…
  6. 9. Google Sheets — Log Chat (Google Sheets): append
  7. 10. Set — Return Answer to Chat (Edit Fields (Set)): sets 1 field: response

Services it uses

Google SheetsOpenAI Chat Model

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 5. AI Agent — SEO Consultant (v1.7): 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).

Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →

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

Nodes used (7)

From the author

Description Add your approved SEO Q&A pairs to a Google Sheet, activate the workflow, and share the chat URL with your team or clients. The chatbot reads your entire knowledge base on every question and answers strictly from your own content — never from…

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