Slack automation
Workflow Description
An advanced automation template integrating an OpenAI-powered intelligent agent with Slack to automatically process messages, featuring web search capabilities, calculations, code execution, and contextual memory management for ongoing conversations.
How it works
- 1.Workflow triggers when a new message arrives in a specified Slack channel
- 2.Message content is passed to an intelligent agent powered by OpenAI's language model
- 3.Agent selects the appropriate tool: mathematical calculation, HTTP request, or custom code execution
- 4.Conversation context is maintained across interactions using memory buffer window
- 5.Generated response is sent back to the Slack channel or direct message
Use cases
- Automatically answer team inquiries with instant web search and real-time information retrieval
- Automate repetitive tasks such as data calculations or fetching information from external APIs
- Create an intelligent assistant that learns from previous conversation context and improves responses over time
Requirements
- Active OpenAI API key with access to GPT-4 or newer models
- Slack token with permissions to read messages and send replies to channels
- Configured external API credentials if HTTP requests or specialized tools are required
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 (16)
OpenAI Chat Model
OpenAI
Calculator
Tool Calculator
Create New Time Entry
HTTP Request
GetClientsTool
HTTP Request
Get All Time Entries
HTTP Request
Current loggedin user
HTTP Request
GetProjectsTool
HTTP Request
Update Time Entry
HTTP Request
Delete Time Entry
HTTP Request
DateConverter
Tool Code
ClockifyBlockia
Agent
Slack Trigger
Slack Trigger
Execution Data
Execution Data
Window Buffer Memory
Memory Buffer Window
Add reaction
Slack
Send reply
Slack