Chat with a Google Sheet using AI
n8n template #2085Summary
Use templateThis workflow allows you to ask questions about the data in a Google Sheet over a chat interface. It uses n8n's built-in chat, but could be modified to work with Slack, Teams, WhatsApp, etc. Behind the scenes, the workflow uses GPT4, so you'll need to have an OpenAI API key that supports it. How it works The workflow uses an AI agent with custom tools that call a sub-workflow. That sub-workflow reads the Google Sheet and returns information from it. Because models have a context window (and therefore a maximum number of characters they can accept), we can't pass the whole Google Sheet to GPT - at least not for big sheets. So we provide three ways of querying less data, that can be used in co
Hand off to your agent
Prompt
Help me set up the n8n workflow "Chat with a Google Sheet using AI" (https://n8n.io/workflows/2085). It uses: Google Sheets, Code, AI Agent, OpenAI Chat Model, Call n8n Workflow Tool. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
Similar workflows
NameViews
- AI-Powered Restaurant Order Chatbot with GPT-4o for POS Integration11K
- Automate SEO blog content creation with GPT-4, Perplexity AI and WordPress6,949
- Automate SEO blog creation + social media with GPT-4, Perplexity and WordPress5,798
- Explore n8n Nodes in a Visual Reference Library5,197
- Automated HR Service System with WhatsApp, GPT-4 Classification & Google Workspace4,541
- Generate SEO blog posts from a keyword list and publish to Webflow1,212
- AI-Powered MIS Agent437
- Generate AI Viral Videos with Seedance and Upload to TikTok, YouTube & Instagram215K