AI Agents

Connect Google Sheets with Slack

12 nodes 216 135 Webhook
Download

Workflow Description

An intelligent automation system connecting Google Sheets with Slack using an AI agent that processes data through text splitting, embeddings, and vector storage, enabling natural language queries and instant responses from your spreadsheet data.

How it works

  1. 1.Receive incoming webhook request and pass it to OpenAI for processing
  2. 2.Split spreadsheet content into manageable text chunks for embedding
  3. 3.Convert text segments to numerical embeddings via Cohere and store in Pinecone vector database
  4. 4.Search the vector store and retrieve relevant results matching the query
  5. 5.Send extracted data and AI-generated responses back to Slack channel

Use cases

  • Search and retrieve spreadsheet data instantly from Slack without opening files
  • Extract summaries and reports from large datasets in Google Sheets and share with team members
  • Generate intelligent insights from spreadsheet data based on natural language questions

Requirements

  • OpenAI API key and Chat LLM service credentials
  • Active Pinecone account with configured vector space for semantic search
  • Cohere embeddings setup or compatible alternative
  • Google Sheets API access with read-write permissions and Slack bot token for channel posting

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

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

Details

Trigger Webhook
Nodes 12
Apps 8
Views 216
Downloads 135

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

OpenAI

#9

RAG Agent

Agent

#10

Append Sheet

Google Sheets

#11

Slack Alert

Slack

#12