AI Agents

Automate Google Sheets with AI Agent and Memory

11 nodes 295 166 Webhook
Download

Workflow Description

This template integrates an intelligent AI agent with Google Sheets to process data automatically. It receives requests via webhook, analyzes them using Anthropic's model, stores context in a conversation buffer, and executes operations on spreadsheets directly.

How it works

  1. 1.Receive webhook request and split large text into processable chunks
  2. 2.Convert data to embeddings and store them in Redis vector database for fast retrieval
  3. 3.Process request through AI agent using Anthropic model with contextual memory
  4. 4.Execute operations on Google Sheets (insert, update, or delete data)

Use cases

  • Process complex queries and automatically update sheets with results
  • Answer questions about spreadsheet data while maintaining conversation history
  • Automate data entry and reporting tasks without manual intervention

Requirements

  • Google account with spreadsheet editing permissions
  • API keys from Anthropic and necessary services for embeddings and vector storage
  • Basic understanding of how AI agents and conversation memory work

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Text Splitter Embeddings Vector Store Memory Anthropic AI Agent Google Sheets

Details

Trigger Webhook
Nodes 11
Apps 7
Views 295
Downloads 166

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (11)

/

Sticky

Sticky Note

#1

Webhook

Webhook

#2

Splitter

Text Splitter Character Text Splitter

#3

Embeddings

Embeddings Cohere

#4

Insert

Vector Store Redis

#5

Query

Vector Store Redis

#6

Tool

Tool Vector Store

#7

Memory

Memory Buffer Window

#8

Chat

Lm Chat Anthropic

#9

Agent

Agent

#10

Sheet

Google Sheets

#11