AI Agents

Slack messaging automation with intelligent AI agent

16 nodes 315 131 Automatic trigger
Download

Workflow Description

An AI agent receives messages from Slack, processes them with OpenAI, executes calculations and HTTP requests, maintains conversation context in memory, and sends enhanced responses back to Slack or Twitter/X automatically.

How it works

  1. 1.Trigger the workflow when a new message arrives in Slack
  2. 2.Process the message using an OpenAI agent equipped with multiple tools
  3. 3.Execute calculations, HTTP requests, or code as needed based on the message content
  4. 4.Store conversation context in memory to improve future responses
  5. 5.Send the final response back to Slack or post it to Twitter/X

Use cases

  • Provide intelligent answers to employee questions while remembering previous context
  • Execute complex tasks from Slack such as calculations or fetching data from external APIs
  • Enhance team collaboration with an agent that understands context and learns from past interactions
  • Automatically publish summaries and responses to Twitter/X based on Slack conversations

Requirements

  • Active Slack workspace with permissions to create apps
  • OpenAI API key to run the language model
  • Optional accounts: Twitter/X for automatic posting, and any external services for HTTP requests

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 315
Downloads 131

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