Templates / Edit Google Sheets by chat using GPT-4o-mini with approval and audit log

Edit Google Sheets by chat using GPT-4o-mini with approval and audit log

Needs changes

by Ziad Karim ✓ · 9 views · created 2026-08-11 · Document Extraction, AI Chatbot

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 18 nodes and runs when a chat message arrives. Along the way it connects OpenAI Chat Model, Google Sheets and Telegram.

How it runs

Trigger: When a chat message arrives.

  1. Spreadsheet Assistant (AI Agent): runs an AI agent, with model: Assistant Model; 1 tool (Read the Sheet for Answers); memory: Conversation Memory
  2. Check the Proposed Change Is Safe (Code): runs custom JavaScript code
  3. Is It a Change Request? (If): checks a condition and branches into true / false
  4. Read the Row as It Is Now (Google Sheets): read
  5. Build the Before-and-After Preview (Code): runs custom JavaScript code
  6. Is There Anything Left to Change? (If): checks a condition and branches into true / false
  7. Ask You to Confirm the Change (Telegram): send and wait for a reply
  8. Did You Approve It? (If): checks a condition and branches into true / false
  9. Prepare the Row Update (Code): runs custom JavaScript code
  10. Apply the Approved Change (Google Sheets): update

…plus 1 more step. See the full node list below.

Services it uses

OpenAI Chat ModelGoogle SheetsTelegram

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 Spreadsheet Assistant (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 →

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Spreadsheet Assistant (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (10)

From the author

Quick overview Ask your spreadsheet questions in plain language — "best month?", "revenue by country?", "rows missing an email?" — and an AI agent reads the live sheet and answers with real numbers. Conversation memory makes follow-up questions work. Five…

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