AI Agents

Slack automation

47 nodes 201 125 Automatic trigger
Download

Workflow Description

Advanced Slack automation powered by Gemini AI to analyze, classify, and process messages intelligently. Distributes content across multiple workflows with conditional logic and social media integration capabilities.

How it works

  1. 1.Receive messages from monitored Slack channels or triggers
  2. 2.Process text using Gemini LLM to analyze content intent and sentiment
  3. 3.Split incoming messages into batches for parallel processing
  4. 4.Apply filters and conditional logic to determine routing paths
  5. 5.Route processed content to appropriate destinations (Slack, Twitter/X, or workflows)
  6. 6.Send responses or posts back to specified channels or platforms

Use cases

  • Automatically analyze customer inquiries and respond via Slack
  • Cross-post channel content to social media without manual intervention
  • Categorize and prioritize messages based on topic and urgency
  • Handle high message volumes during scheduled times efficiently

Requirements

  • Active Slack workspace with bot app permissions
  • Valid Google Gemini API key and credentials
  • Twitter/X API access if social media posting is required
  • Basic understanding of workflow logic and conditional routing

Service Value

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

Apps Used

Slack Gemini LLM Chain Split In Batches Twitter/X

Details

Trigger Automatic trigger
Nodes 47
Apps 5
Views 201
Downloads 125

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

/

Get Last Week's Messages

Slack

#1

Simplify Message

Set

#2

Group By User

Code

#3

Split Out

Split Out

#4

Messages to Items

Code

#5

Get User

Slack

#6

Aggregate

Aggregate

#7

Split Out1

Split Out

#8

Get Thread

Slack

#9

Aggregate1

Aggregate

#10

Simplify Thread Comments

Set

#11

Filter

Filter

#12

Message Ref

No Op

#13

Split Out2

Split Out

#14

Map Reply UserIds

Set

#15

Get Reply Users

Slack

#16

Google Gemini Chat Model

Gemini Model

#17

Summarise Threads

LLM Chain

#18

Aggregate2

Aggregate

#19

Aggregate Reply Users

Aggregate

#20

Reply Users

Set

#21

Google Gemini Chat Model1

Gemini Model

#22

Loop Over Items

Split In Batches

#23

Aggregate3

Set

#24

Aggregate4

Aggregate

#25

When Executed by Another Workflow

Execute Workflow Trigger

#26

Switch

Switch

#27

Map Users to Messages

Execute Workflow

#28

Get User Info

Set

#29

Fetch Message Replies

Execute Workflow

#30

Has ReplyUsers?

If

#31

Messages to Items1

Code

#32

Aggregate Results

Set

#33

Team Member Weekly Report Agent

LLM Chain

#34

Merge with Results

Set

#35

Team Weekly Report Agent

LLM Chain

#36

Google Gemini Chat Model2

Gemini Model

#37

Post Report in Team Channel

Slack

#38

Sticky Note

Sticky Note

#39

Sticky Note1

Sticky Note

#40

Sticky Note2

Sticky Note

#41

Summarize Message Threads

Execute Workflow

#42

Sticky Note3

Sticky Note

#43

Sticky Note4

Sticky Note

#44

Sticky Note5

Sticky Note

#45

Monday @ 6am

Schedule Trigger

#46

Sticky Note6

Sticky Note

#47