AI Agents

Automate Google Sheets with Intelligent Agent

11 nodes 329 202 Webhook
Download

Workflow Description

A workflow that activates a smart agent receiving requests via webhook, processes them with OpenAI, stores relevant data in Redis vector store, maintains conversation memory, and automatically writes results to Google Sheets without manual intervention.

How it works

  1. 1.Receive incoming request through webhook and route to the intelligent agent
  2. 2.Split long text and convert to embeddings using OpenAI API
  3. 3.Search Redis vector database and retrieve matching records
  4. 4.Process request with memory buffer and language model, generate response
  5. 5.Write final results directly to the target Google Sheets spreadsheet

Use cases

  • Automatically process customer inquiries and log responses in a shared spreadsheet
  • Analyze large datasets and organize findings in sheets with zero manual work
  • Link incoming messages to tasks and update project tracking sheets in real-time

Requirements

  • OpenAI API key and running Redis server for vector storage and memory
  • Google account with edit permissions on target spreadsheets
  • Webhook URL and credentials to receive requests from external systems

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 AI Agent Google Sheets

Details

Trigger Webhook
Nodes 11
Apps 6
Views 329
Downloads 202

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 Redis

#5

Query

Vector Store Redis

#6

Tool

Tool Vector Store

#7

Memory

Memory Buffer Window

#8

Chat

OpenAI

#9

Agent

Agent

#10

Sheet

Google Sheets

#11