AI Agents

Automate Google Sheets with Intelligent Agent

11 nodes 331 178 Webhook
Download

Workflow Description

A workflow that combines an intelligent agent powered by Anthropic and OpenAI to process webhook requests and update Google Sheets automatically. It splits text, stores vectors in Pinecone, and maintains conversation context through a sliding window memory system.

How it works

  1. 1.Receive incoming webhook request and route to the intelligent agent
  2. 2.Split content into chunks and convert to vectors using OpenAI embeddings
  3. 3.Search Pinecone vector store and retrieve contextual information
  4. 4.Process request through Anthropic model with accumulated conversation history
  5. 5.Write processed results and extracted data to Google Sheets

Use cases

  • Automatically update spreadsheets based on intelligent natural language queries
  • Log conversations and responses in sheets with full context and history
  • Process long documents and extract relevant data into structured rows

Requirements

  • Valid Google Sheets API key with write permissions
  • Anthropic, OpenAI, and Pinecone API credentials configured
  • Webhook endpoint URL to receive external requests

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 331
Downloads 178

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 Pinecone

#5

Query

Vector Store Pinecone

#6

Tool

Tool Vector Store

#7

Memory

Memory Buffer Window

#8

Chat

Lm Chat Anthropic

#9

Agent

Agent

#10

Sheet

Google Sheets

#11