Slack automation
Workflow Description
Intelligent Slack automation powered by an AI agent with OpenAI, receiving requests via webhook, storing context in memory, and delivering smart responses directly to channels with conversation continuity.
How it works
- 1.Receive incoming request through Slack webhook
- 2.Process message using AI agent with OpenAI model
- 3.Store conversation context in memory buffer window
- 4.Execute available tools conditionally based on request
- 5.Send generated response back to Slack channel
Use cases
- Answer team questions instantly with AI-powered intelligence in Slack
- Automate repetitive tasks like searching and summarizing on demand
- Maintain conversation context to provide consistent responses over multiple interactions
Requirements
- OpenAI API key for accessing GPT model
- Slack App Token with permissions to send and receive messages
- Configured webhook in Slack connected to your n8n instance
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 (20)
Verify Webhook
Webhook
OpenAI Chat Model
OpenAI
No Operation, do nothing
No Op
Window Buffer Memory
Memory Buffer Window
Check if Bot
If
Send Initial Message
Slack
Delete Initial Message
Slack
Send Message
Slack
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note
Sticky Note6
Sticky Note
Sticky Note7
Sticky Note
Sticky Note8
Sticky Note
Receive DMs
Webhook
Call Confluence Workflow Tool
Tool Workflow
AI Agent
Agent