AI Agents

Automate Google Sheets

11 nodes 225 163 Webhook
Download

Workflow Description

An intelligent automation template that integrates an AI agent with Google Sheets for automatic data processing. It receives requests via webhook, processes text, generates embeddings, stores them in a vector database, and writes results directly to spreadsheets.

How it works

  1. 1.Receive incoming request via webhook and trigger workflow
  2. 2.Split input text using Text Splitter
  3. 3.Generate vector embeddings via Cohere and store in Redis
  4. 4.Invoke AI agent with context-aware memory buffer
  5. 5.Execute vector queries and retrieve relevant documents
  6. 6.Write analysis results automatically to Google Sheets

Use cases

  • Automate classification and organization of large text datasets across spreadsheets
  • Build an intelligent document search system with results stored in Sheets

Requirements

  • Valid Cohere API credentials and Google Sheets access permissions
  • Running Redis database instance accessible from n8n

Service Value

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

Apps Used

Text Splitter Embeddings Vector Store Memory Lm Chat Hf AI Agent Google Sheets

Details

Trigger Webhook
Nodes 11
Apps 7
Views 225
Downloads 163

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 Hf

#9

Agent

Agent

#10

Sheet

Google Sheets

#11