AI Agents

Connect Google Sheets with Slack

12 nodes 234 159 Webhook
Download

Workflow Description

Intelligent automation connecting Google Sheets data to Slack through an AI agent powered by embeddings and vector storage. Enable real-time data queries and automatic report sharing directly in Slack conversations with natural language processing.

How it works

  1. 1.Receive requests via webhook and split text into processable chunks
  2. 2.Convert data into vector embeddings and store them in Supabase vector database
  3. 3.Invoke OpenAI AI agent with memory and retrieval tools to answer data queries
  4. 4.Fetch requested data from Google Sheets and generate intelligent responses
  5. 5.Send results and summaries automatically to designated Slack channels

Use cases

  • Query sales metrics and performance data from company sheets and instantly share results with teams in Slack
  • Automate daily report generation in Slack based on updated Google Sheets data
  • Search specific information across large datasets using natural language and receive instant answers

Requirements

  • OpenAI API key to power the intelligent agent
  • Google Workspace account with appropriate permissions to access target sheets
  • Active Slack workspace with app installation and messaging permissions enabled
  • Running Supabase instance configured for vector storage and retrieval

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 234
Downloads 159

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

Supabase Insert

Vector Store Supabase

#5

Supabase Query

Vector Store Supabase

#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