AI Agents

Slack automation

16 nodes 218 116 Automatic trigger
Download

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. 1.Workflow triggers when a new message arrives in a specified Slack channel
  2. 2.Message content is passed to an intelligent agent powered by OpenAI's language model
  3. 3.Agent selects the appropriate tool: mathematical calculation, HTTP request, or custom code execution
  4. 4.Conversation context is maintained across interactions using memory buffer window
  5. 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

OpenAI Tool HTTP Request Code AI Agent Slack Twitter/X Memory

Details

Trigger Automatic trigger
Nodes 16
Apps 8
Views 218
Downloads 116

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

/

OpenAI Chat Model

OpenAI

#1

Calculator

Tool Calculator

#2

Create New Time Entry

HTTP Request

#3

GetClientsTool

HTTP Request

#4

Get All Time Entries

HTTP Request

#5

Current loggedin user

HTTP Request

#6

GetProjectsTool

HTTP Request

#7

Update Time Entry

HTTP Request

#8

Delete Time Entry

HTTP Request

#9

DateConverter

Tool Code

#10

ClockifyBlockia

Agent

#11

Slack Trigger

Slack Trigger

#12

Execution Data

Execution Data

#13

Window Buffer Memory

Memory Buffer Window

#14

Add reaction

Slack

#15

Send reply

Slack

#16