Slack automation
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.Receive messages from monitored Slack channels or triggers
- 2.Process text using Gemini LLM to analyze content intent and sentiment
- 3.Split incoming messages into batches for parallel processing
- 4.Apply filters and conditional logic to determine routing paths
- 5.Route processed content to appropriate destinations (Slack, Twitter/X, or workflows)
- 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
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (47)
Get Last Week's Messages
Slack
Simplify Message
Set
Group By User
Code
Split Out
Split Out
Messages to Items
Code
Get User
Slack
Aggregate
Aggregate
Split Out1
Split Out
Get Thread
Slack
Aggregate1
Aggregate
Simplify Thread Comments
Set
Filter
Filter
Message Ref
No Op
Split Out2
Split Out
Map Reply UserIds
Set
Get Reply Users
Slack
Google Gemini Chat Model
Gemini Model
Summarise Threads
LLM Chain
Aggregate2
Aggregate
Aggregate Reply Users
Aggregate
Reply Users
Set
Google Gemini Chat Model1
Gemini Model
Loop Over Items
Split In Batches
Aggregate3
Set
Aggregate4
Aggregate
When Executed by Another Workflow
Execute Workflow Trigger
Switch
Switch
Map Users to Messages
Execute Workflow
Get User Info
Set
Fetch Message Replies
Execute Workflow
Has ReplyUsers?
If
Messages to Items1
Code
Aggregate Results
Set
Team Member Weekly Report Agent
LLM Chain
Merge with Results
Set
Team Weekly Report Agent
LLM Chain
Google Gemini Chat Model2
Gemini Model
Post Report in Team Channel
Slack
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Summarize Message Threads
Execute Workflow
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note
Monday @ 6am
Schedule Trigger
Sticky Note6
Sticky Note