AI Agents

Connect Google Sheets with Slack

12 nodes 215 156 Webhook
Download

Workflow Description

An advanced automation template that integrates an intelligent agent with Google Sheets and Slack. It processes incoming data through text segmentation and semantic embeddings, retrieves relevant information from a Supabase vector store, maintains conversational memory for context, and automatically shares results in Slack while updating spreadsheet records.

How it works

  1. 1.Receive incoming request via webhook and trigger the workflow
  2. 2.Split incoming text into manageable chunks for efficient processing
  3. 3.Convert text segments into semantic embeddings using OpenAI
  4. 4.Search and retrieve relevant information from the vector database
  5. 5.Process the query using an AI agent powered by Anthropic's language model
  6. 6.Send results and responses directly to the designated Slack channel

Use cases

  • Answer team questions posted in Slack using intelligent analysis of spreadsheet data
  • Automate periodic reports by reading Sheets and sending AI-generated summaries to Slack
  • Enable intelligent data search with immediate Slack responses to team inquiries

Requirements

  • Google Cloud account with active Google Sheets API and write/read permissions
  • Slack workspace with application development access and webhook capabilities
  • OpenAI API key for embeddings generation and Anthropic API key for language model
  • Supabase database instance with vector storage enabled for 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 215
Downloads 156

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

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

Lm Chat Anthropic

#9

RAG Agent

Agent

#10

Append Sheet

Google Sheets

#11

Slack Alert

Slack

#12