AI Agents

Connect Google Sheets with Slack

12 nodes 227 154 Webhook
Download

Workflow Description

Intelligent automation connecting Google Sheets to Slack through an AI agent that understands natural language queries, processes data with embeddings and memory, and automatically sends results to designated Slack channels.

How it works

  1. 1.Receive the request via webhook and pass it to the AI agent
  2. 2.Process text and convert it to embeddings using Cohere
  3. 3.Search Pinecone to find relevant data from Google Sheets
  4. 4.Retrieve context from buffer memory and generate response via OpenAI
  5. 5.Fetch or update data in Google Sheets tables
  6. 6.Send formatted results and messages to Slack

Use cases

  • Answer team questions about spreadsheet data directly in Slack conversations
  • Automatically update Google Sheets reports and notify the team of changes
  • Perform intelligent searches for information stored in Google Sheets and respond in chat
  • Generate summary reports from Google Sheets data and distribute them to Slack channels

Requirements

  • Google Cloud account with access to Google Sheets API
  • Slack workspace with permissions to create Slack applications
  • API keys from OpenAI and Cohere
  • Pinecone account with an initialized index for vector search

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 227
Downloads 154

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