AI Agents

Extract spreadsheet data and analyze it with AI through Slack

12 nodes 326 183 Webhook
Download

Workflow Description

An intelligent automation that connects Google Sheets with Slack, where an AI agent reads and analyzes spreadsheet data using advanced Anthropic models, then delivers insights and summaries directly to Slack channels. The system processes data through embeddings and vector storage for enhanced search and comparison capabilities.

How it works

  1. 1.Receive incoming webhook request that triggers the workflow
  2. 2.Read data from specified Google Sheets
  3. 3.Process and split text into manageable chunks for analysis
  4. 4.Generate embeddings using Cohere to enable semantic search
  5. 5.Store embeddings in Pinecone vector database for fast retrieval
  6. 6.Run AI agent powered by Anthropic to answer data-related queries

Use cases

  • Analyze sales reports and send daily performance summaries to marketing team via Slack
  • Monitor inventory spreadsheets and flag anomalies for immediate team notification
  • Answer team inquiries about specific spreadsheet data with intelligent, AI-powered responses

Requirements

  • Google Sheets account with access permissions to target spreadsheets
  • Slack workspace with app creation authorization and message posting rights
  • Active Anthropic API key to power the language models
  • Pinecone account with a configured index for storing embeddings

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Text Splitter Embeddings Vector Store Memory Anthropic AI Agent Google Sheets Slack

Details

Trigger Webhook
Nodes 12
Apps 8
Views 326
Downloads 183

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

Embeddings Cohere

#4

Pinecone Insert

Vector Store Pinecone

#5

Pinecone Query

Vector Store Pinecone

#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