Slack Community AI Assistant
detail.loadingPreview
Processes Slack messages using an AI agent and responds back to the channel, with conversation history maintained.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow acts as a community AI assistant for Slack. It receives messages via a webhook, processes them using an AI model (like Google Gemini), maintains conversation history using a buffer memory, and then sends the AI's response back to the Slack channel. It's designed to provide helpful assistance and advice related to automation and similar tasks.
Key Features
- Receives messages from a Slack channel via a webhook.
- Processes messages using a configurable AI model.
- Maintains conversation history for context-aware responses.
- Sends AI-generated responses back to the original Slack channel.
- Allows for custom system messages to define the AI's persona and task.
How To Use
- Configure the Webhook: Set up the
Webhook to receive messagenode with your desired Slack integration and path (e.g.,slack-bot). Ensure this webhook is properly exposed via an HTTPS wrapper. - Configure the AI Model: Replace the placeholder
Google Gemini Chat Modelnode with your preferred AI chat model. Configure its parameters, including the model name. - Configure Memory: Set up the
Window Buffer Memorynode. Crucially, configure thesessionKeyto store and retrieve conversation history. This is often done by referencing a credential or a dynamic value that represents a unique chat session. - Configure Slack Output: Update the
Send response back to slack channelnode with your Slack bot's token and configure the channel ID to post the response. - Set AI System Message: In the
Agentnode, customize theoptions.systemMessageto define the AI's role and behavior.
Apps Used
Workflow JSON
{
"id": "9adcafe6-e00e-48d0-afc1-c3ea3adee75a",
"name": "Slack Community AI Assistant",
"nodes": 0,
"category": "Slack Integrations",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 9adcafe6-e00e...
About the Author
SaaS_Connector
Integration Guru
Connecting CRM, Notion, and Slack to automate your life.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Slack AI Assistant Community Template
A community-contributed template for an AI-powered Slack bot that responds to messages using Gemini and maintains conversation history.
Google Calendar Meeting Reminder
Sends a daily Slack message with upcoming meeting details from Google Calendar.
Create an AI Chatbot with Slack Slash Commands
Build an AI chatbot integrated with Slack using n8n and slash commands.
Onfleet Driver Signup Slack Notification
Sends a Slack message when a new driver signs up in Onfleet.
Automate Venafi Certificate CSR Generation via Slack
This n8n workflow automates the generation of Venafi Certificate Signing Requests (CSRs) directly from Slack. It leverages Slack's Events API and modal interactions to trigger CSR creation, enhancing security operations efficiency.
Slack Image Upload Modal
Opens a Slack modal for users to upload images to a public S3 CDN.