AI Agents

Extract and analyze spreadsheet data with an intelligent agent in Slack

12 nodes 286 142 Webhook
Download

Workflow Description

Automation receives webhook requests and analyzes Google Sheets data using an AI agent powered by OpenAI and Anthropic models, then sends results to Slack channels. Text splitting and vector storage enable semantic search across large datasets with message history retention.

How it works

  1. 1.Receive request via webhook and route to intelligent agent
  2. 2.Split spreadsheet content into processable chunks using text splitter
  3. 3.Convert text to embeddings and store in Pinecone for fast retrieval
  4. 4.Query OpenAI and Anthropic models to analyze and interpret data
  5. 5.Post analysis results and insights to designated Slack channels

Use cases

  • Generate daily sales reports from spreadsheets and send summaries to team channels
  • Answer employee questions about spreadsheet data directly within Slack conversations
  • Monitor large datasets and extract actionable insights based on natural language queries

Requirements

  • Active Google Sheets account with read access to target spreadsheets
  • Slack workspace with permissions to post messages in designated channels
  • API keys for OpenAI and Anthropic language models
  • Pinecone account for vector storage and semantic search

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 286
Downloads 142

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

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