Chat with Google Sheet

Sub-workflow: Custom tool This can be called by the agent above. It returns three different types of data from the Google Sheet, which can be used together for more complex queries without returning the whole sheet (which might be too big for GPT to handle)

Workflow Structure (14 nodes)
100%
Langchain.chat Trigger
Chat Trigger
Langchain.lm Chat Open Ai
OpenAI Chat Model
Langchain.agent
AI Agent
Langchain.tool Workflow
List columns tool
Langchain.tool Workflow
Get column values tool
Langchain.tool Workflow
Get customer tool
Execute Workflow Trigger
Execute Workflow Trigger
Set
Set Google Sheet URL
Google Sheets
Get Google sheet contents
Switch
Check operation
Set
Get column names
Set
Prepare column data
Filter
Filter
Code
Prepare output
Node Types:
trigger
action
transform
code
default
logic
Requires credentials

Prerequisites

Required Credentials (2)

Google Sheets

Used by: Get Google sheet contents

Docs

OpenAI

Used by: OpenAI Chat Model

Docs

Complexity

Advanced

Expert level. Custom code, complex logic, many integrations.

Setup time: ~45 min
Score: 63/100
Custom Code
Conditional Logic

When to Use This Workflow

Automated Reporting

Automatically collect and organize data into spreadsheets for analysis.

Spend less time on data entry and more time on insights.

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "id": "ZVUQL1bUQ8gBCZTl",
  "meta": {
    "instanceId": "23e6ce638471979c8a2c72a9fb50e44f4f2bfd5a9fc2f5b7f5c842b9abeb9393"
  },
  "name": "Chat with Google Sheet",
  "tags": [],
  "nodes": [
    {
      "id": "89af21df-1125-4df6-9d43-a643e02bb53f",
      "name": "Execute Workflow Trigger",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        540,
        1240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
...

Workflow Details

Nodes
19
Trigger
Event
Source
awesome
Added
Dec 4, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

AI agent: expense tracker in Google Sheets and n8n chat

Save your expenses via chat message. LLM will parse your message to structured JSON and save as a new row into Google Sh...

Agent
Chat
Executeworkflow
Lmchatopenai
10 nodesEvent
Curated

AI Agent to chat with Airtable and analyze data

Replace Mapbox public key - <yourpublickey> in code

Lmchatopenai
Agent
Memorybufferwindow
Chat
41 nodesEvent
Curated

AI Agent for project management and meetings with Airtable and Fireflies

Replace API key for Fireflies

Agent
Lmchatopenai
Toolworkflow
Gmailtool
18 nodesEvent
Curated

Vision-Based AI Agent Scraper - with Google Sheets, ScrapingBee, and Gemini

Trigger The default trigger is When clicking β€˜Test workflow’, meaning the workflow will need to be triggered manually. Y...

Http-request
Outputparserstructured
Lmchatgooglegemini
Google-sheets
29 nodesEvent
Curated

Build a Tax Code Assistant with Qdrant, Mistral.ai and OpenAI

Step 1. Download the Tax Code PDF [Read more about handling Zip Files](https://docs.n8n.io/integrations/builtin/core-nod...

Embeddingsmistralcloud
Documentdefaultdataloader
Textsplitterrecursivecharactertextsplitter
Http-request
38 nodesEvent
Curated

Building RAG Chatbot for Movie Recommendations with Qdrant and Open AI

Tool, calling Qdrant's recommendation API based on user's request, transformed by AI agent

Github
Embeddingsopenai
Documentdefaultdataloader
Textsplittertokensplitter
27 nodesEvent
Curated