AI Agents

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

12 nodes 217 162 Webhook
Download

Workflow Description

This automation receives requests via webhook, extracts data from Google Sheets, analyzes it using an AI agent powered by Anthropic and OpenAI models, stores embeddings in a vector database, and automatically sends detailed insights and summaries to designated Slack channels.

How it works

  1. 1.Receive request through webhook trigger and initiate automation
  2. 2.Read and retrieve data from connected Google Sheets documents
  3. 3.Split and preprocess text content using Text Splitter module
  4. 4.Generate vector embeddings from data using OpenAI API
  5. 5.Store embeddings in Supabase Vector Store for retrieval
  6. 6.Pass context and data to AI Agent for intelligent analysis

Use cases

  • Monitor spreadsheet updates and automatically notify your team via Slack messages
  • Analyze sales reports and large datasets, then deliver summaries to team members
  • Answer data-related questions about Google Sheets directly through Slack queries

Requirements

  • Active Google Cloud account with Google Sheets API enabled
  • Slack workspace with app creation and bot permissions
  • API keys for OpenAI and Anthropic language models
  • Supabase database instance for storing embeddings and memory
  • Webhook endpoint configuration and basic automation workflow knowledge

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 217
Downloads 162

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