AI Agents

Intelligent Google Sheets automation with AI agent

11 nodes 362 158 Webhook
Download

Workflow Description

Interactive automation for Google Sheets that receives data via webhook and processes it using an AI agent powered by Anthropic. Includes text splitting, vector embeddings stored in Redis, contextual memory, and intelligent responses written back to sheets.

How it works

  1. 1.Receive incoming data through webhook trigger and prepare for processing
  2. 2.Split text content and convert into embeddings via OpenAI
  3. 3.Query vector database and retrieve relevant context from stored knowledge
  4. 4.Process request through AI agent powered by Anthropic language model
  5. 5.Maintain conversation context using sliding window memory buffer
  6. 6.Write processed results and responses to Google Sheets

Use cases

  • Handle lengthy customer inquiries and automatically log responses in tracking sheets
  • Classify and organize incoming data entries into designated spreadsheet columns
  • Generate intelligent reports from multiple data sources while preserving conversational context

Requirements

  • Valid API keys for Anthropic and OpenAI services
  • Redis instance for vector storage and data persistence
  • Edit permissions on target Google Sheets

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Text Splitter OpenAI Vector Store Memory Anthropic AI Agent Google Sheets

Details

Trigger Webhook
Nodes 11
Apps 7
Views 362
Downloads 158

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

OpenAI

#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