AI Agents

Process Slack messages with AI and maintain conversation context

10 nodes 301 138 Webhook
Download

Workflow Description

Automation that receives Slack messages via webhook, processes them using Gemini AI while preserving conversation history, then sends intelligent replies automatically. Combines natural language processing with context management to deliver consistent, relevant responses.

How it works

  1. 1.Receive incoming message from Slack through webhook trigger
  2. 2.Load previous conversation context from memory buffer
  3. 3.Process message with Gemini model to generate appropriate response
  4. 4.Save new conversation turn to memory for future reference
  5. 5.Send reply back to Slack channel

Use cases

  • Answer common questions automatically in team channels without manual intervention
  • Maintain multi-turn conversations with full context awareness between interactions
  • Provide intelligent support to teams with consistent, reliable AI-powered assistance

Requirements

  • Slack workspace with permissions to read and send messages
  • Google Gemini API key with proper authentication configured
  • Webhook URL properly configured in Slack app settings

Service Value

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

Apps Used

Gemini Memory Slack AI Agent

Details

Trigger Webhook
Nodes 10
Apps 4
Views 301
Downloads 138

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

Sticky Note

Sticky Note

#1

Sticky Note2

Sticky Note

#2

Sticky Note3

Sticky Note

#3

Google Gemini Chat Model

Gemini Model

#4

Window Buffer Memory

Memory Buffer Window

#5

Sticky Note4

Sticky Note

#6

Sticky Note1

Sticky Note

#7

Send response back to slack channel

Slack

#8

Webhook to receive message

Webhook

#9

Agent

Agent

#10