Skip to content
AI Agents

Intelligent Slack Message Analysis with Automated Gmail Responses

15 nodes 550 175 Automatic trigger
Download

Loading workflow…

Workflow Description

An AI-powered workflow that receives Slack messages, analyzes them using OpenAI and Anthropic models, searches a vector knowledge base, maintains conversation context, and automatically sends detailed responses via Gmail.

How it works

  1. 1.Capture incoming messages from specified Slack channels
  2. 2.Split and embed text into vector representations
  3. 3.Query vector database and retrieve relevant context
  4. 4.Generate intelligent response using AI agent with memory
  5. 5.Send formatted response to recipient via Gmail

Use cases

  • Automated customer support handling Slack inquiries with email follow-ups
  • Project documentation workflow triggering research and email summaries

Requirements

  • Active Slack workspace with bot permissions
  • Gmail account with send access enabled
  • OpenAI and Anthropic API keys configured
  • Pinecone vector database populated with reference documents

Service Value

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

Apps Used

Slack Code OpenAI Vector Store LLM Chain Chat Trigger Gmail If Webhook

Details

Trigger Automatic trigger
Nodes 15
Apps 9
Views 550
Downloads 175

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 (15)

/

Send message

Slack

#1

Sticky Note2

Sticky Note

#2

Sticky Note

Sticky Note

#3

Execute JavaScript

Code

#4

Sticky Note3

Sticky Note

#5

OpenAI Chat Model

OpenAI

#6

Embeddings OpenAI2

OpenAI

#7

Vector Store Retriever

Retriever Vector Store

#8

Sticky Note4

Sticky Note

#9

Sticky Note5

Sticky Note

#10

Read Pinecone Vector Store

Vector Store Pinecone

#11

Question and Answer Chain

Chain Retrieval Qa

#12

Sticky Note6

Sticky Note

#13

Sticky Note7

Sticky Note

#14

Sticky Note1

Sticky Note

#15

Sticky Note8

Sticky Note

#16

Sticky Note9

Sticky Note

#17

Sticky Note10

Sticky Note

#18

When chat message received

Chat Trigger

#19

Sticky Note11

Sticky Note

#20

Sticky Note12

Sticky Note

#21

OpenAI Chat Model1

OpenAI

#22

Add automation label

Gmail

#23

On new email to nathan's inbox

Gmail

#24

Add music label

Gmail

#25

Assign label with AI

If

#26

Webhook

Webhook

#27

Whether email contains n8n

If

#28
Stay in the loop

Fresh workflows, straight to your inbox

Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.

  • New workflows
  • Clear overviews
  • Setup guides

Be first to discover what is new

Your name, your email, and one confirmation.

Email confirmation · Unsubscribe anytime