AI Agents

Automate Google Sheets

11 nodes 236 168 Webhook
Download

Workflow Description

An intelligent automation template that integrates an OpenAI-powered AI agent with Google Sheets, processing texts, splitting them, storing embeddings in Supabase vector database, and retrieving relevant information to execute complex tasks efficiently with contextual memory.

How it works

  1. 1.Receive webhook request and convert it into structured data
  2. 2.Split long texts using Text Splitter and generate Cohere embeddings
  3. 3.Store vectors in Supabase and retrieve them based on semantic relevance
  4. 4.Process queries through an intelligent agent powered by OpenAI with sliding window memory
  5. 5.Automatically write results and outputs to Google Sheets

Use cases

  • Manage tasks and projects in Google Sheets using natural language commands
  • Automatically summarize and organize large volumes of text data into spreadsheets
  • Perform semantic search across text archives and return ranked, relevant information

Requirements

  • OpenAI API key and Cohere account for generating embeddings
  • Supabase database configured for vector storage and retrieval
  • Google account with edit permissions on Google Sheets

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 236
Downloads 168

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