Chat with a Google Sheet using AI: n8n template
Chat with a Google Sheet using AI is a free n8n workflow template by David Roberts with 15 nodes. It starts with the Chat Trigger node ("When chat message received") and uses OpenAI Chat Model, Memory Buffer Window, AI Agent and Google Sheets. You can paste it into your n8n editor in one click with FlowLume.
What this workflow does, step by step
- When chat message received (Chat Trigger node)
- When Executed by Another Workflow (Execute Workflow Trigger node)
- AI Agent
- Set Google Sheet URL (Edit Fields (Set) node)
- Simple Memory (Memory Buffer Window node)
- Get customer tool (Call n8n Workflow Tool node)
- List columns tool (Call n8n Workflow Tool node)
- OpenAI Chat Model1 (OpenAI Chat Model node)
- Get column values tool (Call n8n Workflow Tool node)
- Get Google sheet contents (Google Sheets node)
- Check operation (Switch node)
- Get column names (Edit Fields (Set) node)
- Prepare column data (Edit Fields (Set) node)
- Filter
The full workflow has 15 nodes; this list shows the main path from the trigger.
What you need before you paste it
Connect these accounts in n8n
- Google Sheets (OAuth2) · used by Get Google sheet contents
- OpenAI · used by OpenAI Chat Model1
Checked with FlowLume's setup checklist on 2026-11-25. In the extension, FlowLume Pro shows this checklist for any template before you paste.
Template facts
- Author
- David Roberts (verified n8n creator)
- Nodes
- 15
- Apps
- Chat Trigger, OpenAI Chat Model, Memory Buffer Window, AI Agent, Google Sheets
- Uses AI
- Yes (n8n AI nodes)
- Categories
- Internal Wiki, AI Chatbot
- Views on n8n.io
- 64,714
- Published
- 7 February 2024
- Price
- Free
How to paste it with FlowLume
- Install FlowLume. Add the free FlowLume extension to Google Chrome from the Chrome Web Store.
- Open n8n. Open a new or existing workflow in your n8n editor (n8n Cloud or self-hosted).
- Find the template. Click the FlowLume button at the bottom right and search for "Chat with a Google Sheet using AI".
- Paste it. Click Paste to n8n. All nodes and connections land on your canvas.
- Connect your accounts. Add your own credentials for Google Sheets (OAuth2), OpenAI, then run the workflow.
Similar n8n templates
- Chat with a database using AIChat Trigger · Postgres Tool · Memory Buffer Window · AI Agent
- Scrape business leads from Google Maps using OpenAI and Google SheetsChat Trigger · AI Agent · OpenAI Chat Model · SerpApi (Google Search)
- AI agent chatChat Trigger · OpenAI Chat Model · Http Request Tool · AI Agent
- Generate AI viral videos with Seedance and upload to TikTok, YouTube & InstagramSchedule Trigger · Google Sheets · OpenAI Chat Model · HTTP Request
- Generate AI viral videos with VEO 3 and upload to TikTokSchedule Trigger · Google Sheets · AI Agent · OpenAI Chat Model
- Generate & auto-post AI videos to social media with Veo3 and BlotatoGoogle Sheets · HTTP Request · Schedule Trigger · AI Agent
Template "Chat with a Google Sheet using AI" by David Roberts, published on n8n.io. The template and its description belong to its author; this page only summarises its structure. FlowLume is an independent tool by DrakenLume and is not affiliated with n8n GmbH. n8n is a trademark of n8n GmbH.