AI Agents
Build an AI Agent in Slack Powered by Google Gemini
10 nodes
356
140
Webhook
Workflow Description
This template creates an intelligent Slack agent that leverages Google Gemini to automatically respond to messages while maintaining conversation context through memory buffers. Messages flow through a webhook trigger and are processed via an AI-driven agent for contextual replies.
How it works
- 1.Receive messages from Slack channels via webhook trigger
- 2.Add message content to memory buffer to preserve conversation history
- 3.Send accumulated context to Google Gemini API for intelligent response generation
- 4.Execute agent actions based on Gemini's output and intent
- 5.Post the generated response back to the original Slack channel
Use cases
- Automated customer support agent answering FAQs directly in Slack channels
- Team assistant that researches and summarizes information within workspace conversations
Requirements
- Active Slack workspace with permissions for webhooks and app integrations
- Valid Google Gemini API key configured and authenticated
- Proper Slack channel setup with message read and write permissions
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
356
Downloads
140
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 (10)
Sticky Note
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Google Gemini Chat Model
Gemini Model
Window Buffer Memory
Memory Buffer Window
Sticky Note4
Sticky Note
Sticky Note1
Sticky Note
Send response back to slack channel
Slack
Webhook to receive message
Webhook
Agent
Agent