AI Agents

Connect Google Sheets with Slack

12 nodes 239 145 Webhook
Download

Workflow Description

An intelligent automation workflow connecting Google Sheets with Slack through an AI agent that analyzes queries, processes text, generates semantic embeddings, and delivers contextual responses. Enables real-time interaction with tabular data using advanced memory and language models.

How it works

  1. 1.Receive user request via webhook and route to the AI agent
  2. 2.Process and split incoming query text for semantic understanding
  3. 3.Generate embeddings and store them in Pinecone vector database
  4. 4.Query relevant data from Google Sheets based on semantic similarity
  5. 5.Generate intelligent response using OpenAI with contextual memory
  6. 6.Send formatted result directly to designated Slack channel

Use cases

  • Instant answers to employee questions about company data stored in spreadsheets
  • Automated analysis and summarization of reports with intelligent delivery to teams
  • Smart alerts on data changes with contextual information and historical context

Requirements

  • Active API keys for OpenAI, Cohere, and Pinecone services
  • Authenticated connections between n8n, Google Workspace, and Slack
  • Well-structured data in Google Sheets with clear column definitions

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 239
Downloads 145

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