AI Agents

Extract and analyze Google Sheets data with AI and send insights to Slack

12 nodes 277 168 Webhook
Download

Workflow Description

An automation workflow that receives queries via webhook, processes them through an AI agent powered by Anthropic and OpenAI models, searches your Google Sheets data stored in a Supabase vector database, and delivers intelligent analysis and recommendations directly to Slack channels in real time.

How it works

  1. 1.Receive incoming query through webhook and route it to the AI agent
  2. 2.Split and embed Google Sheets content into vector representations using OpenAI
  3. 3.Search the vector database to retrieve relevant information matching the query
  4. 4.Analyze findings and generate insights using Anthropic model with conversation memory
  5. 5.Send formatted results and recommendations to designated Slack channel

Use cases

  • Answer employee questions about company data directly in Slack without manual lookup
  • Automatically generate weekly sales reports and executive summaries from spreadsheet data
  • Search large databases instantly and extract actionable intelligence on demand

Requirements

  • Active Google Sheets account with read access to required spreadsheets
  • Valid API keys for OpenAI and Anthropic services
  • Supabase account with configured vector store for embedding storage
  • Slack workspace with appropriate channel permissions for message posting
  • Properly configured webhook URL to trigger automation from external applications

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 Slack

Details

Trigger Webhook
Nodes 12
Apps 8
Views 277
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 (12)

/

Sticky Note

Sticky Note

#1

Webhook Trigger

Webhook

#2

Text Splitter

Text Splitter Character Text Splitter

#3

Embeddings

OpenAI

#4

Supabase Insert

Vector Store Supabase

#5

Supabase Query

Vector Store Supabase

#6

Vector Tool

Tool Vector Store

#7

Window Memory

Memory Buffer Window

#8

Chat Model

Lm Chat Anthropic

#9

RAG Agent

Agent

#10

Append Sheet

Google Sheets

#11

Slack Alert

Slack

#12