AI Agents

Automate Google Sheets

11 nodes 206 152 Webhook
Download

Workflow Description

Advanced automation template connecting an AI agent to Google Sheets via webhooks. Splits and embeds text data, stores it in a vector database, and uses memory alongside language models to intelligently execute spreadsheet operations.

How it works

  1. 1.Receive incoming requests through webhook and route to AI agent
  2. 2.Split incoming texts and convert them to numerical embeddings using Cohere
  3. 3.Store embeddings in Supabase vector store and retrieve contextually relevant information
  4. 4.Maintain conversation history using buffered memory for agent context
  5. 5.Direct agent to perform Google Sheets operations based on user requests
  6. 6.Log results and updated data back to the spreadsheet

Use cases

  • Update and add data to Google Sheets using natural language commands
  • Execute intelligent searches across large datasets using embeddings and vector retrieval
  • Automate data summaries and reports from Google Sheets with full context preservation
  • Build interactive workflows connecting spreadsheet data with external systems

Requirements

  • OpenAI API key for language model operations
  • Supabase account for vector database storage and management
  • Authorized Google Sheets connection with read and write permissions
  • Cohere API key for text embedding generation

Service Value

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

Apps Used

Text Splitter Embeddings Vector Store Memory OpenAI AI Agent Google Sheets

Details

Trigger Webhook
Nodes 11
Apps 7
Views 206
Downloads 152

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 Supabase

#5

Query

Vector Store Supabase

#6

Tool

Tool Vector Store

#7

Memory

Memory Buffer Window

#8

Chat

OpenAI

#9

Agent

Agent

#10

Sheet

Google Sheets

#11