Manage Google Sheets Data with GPT-4 Natural Language Processing & Calculator

Go to Workflow
0 views
Built by Yar Malik (Asfandyar) Yar Malik (Asfandyar)
Created on June 05, 2026

Description


Who’s it for
This template is for users who want to combine the power of AI with Google Sheets for managing and calculating data quickly. It’s ideal for small businesses, data entry teams, and anyone who tracks lists, orders, or tasks in Google Sheets and needs AI-driven insights or calculations.

How it works
The workflow connects an AI agent with Google Sheets and a calculator tool. When a user sends a chat message, the AI interprets the request, retrieves or updates rows in the connected sheet, and performs calculations when needed. For example, it can read a list of orders from a sheet and calculate totals or averages instantly. It also supports creating, updating, and deleting rows from the sheet through natural language instructions.

How to set up
Copy the provided Google Sheet into your Google Drive.
Connect your Google Sheets credentials in n8n.
Add your OpenAI credentials for the AI agent.
Deploy the workflow and start interacting with it by sending chat prompts.

Requirements
OpenAI account (for AI responses)
Google Sheets account with a spreadsheet
n8n instance with LangChain nodes enabled

How to customize the workflow
Change the spreadsheet fields (ID, Name, etc.) to match your own data structure.
Modify the AI prompt to guide the agent’s tone or behavior.
Extend the workflow by adding more Google Sheets operations or AI tools for advanced tasks.

Nodes Used (4)

AI Agent
@n8n/n8n-nodes-langchain.agent
Calculator
@n8n/n8n-nodes-langchain.toolCalculator
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow