AI Agents

Automate Google Sheets with an intelligent agent

11 nodes 326 191 Webhook
Download

Workflow Description

An automation workflow that receives data via webhook and processes it through an AI agent powered by OpenAI. It splits large texts into chunks, generates embeddings using Cohere, stores them in a Supabase vector database, and automatically inserts the results into Google Sheets.

How it works

  1. 1.Receive incoming webhook request and pass it to the AI agent
  2. 2.Split lengthy texts into manageable chunks for processing
  3. 3.Generate embeddings for text chunks using Cohere model
  4. 4.Store embeddings and data in Supabase vector database
  5. 5.Query relevant data from the vector store based on context
  6. 6.Write final results to Google Sheets automatically

Use cases

  • Process large volumes of text data and insert them into spreadsheets automatically
  • Build an intelligent document search and retrieval system
  • Automate extraction of relevant information from massive document collections

Requirements

  • Active Google Sheets account with write permissions
  • OpenAI API key for AI agent functionality
  • Cohere API key for text embeddings
  • Supabase vector database or equivalent vector store

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 326
Downloads 191

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