AI Agents

Slack automation

20 nodes 209 126 Webhook
Download

Workflow Description

Deploy an intelligent agent that receives Slack messages via webhook, processes them using OpenAI models with conversation memory, maintains context through a sliding window buffer, and responds reliably through automated workflows and tool integrations.

How it works

  1. 1.Receive incoming Slack message via webhook and extract message content and metadata
  2. 2.Store conversation history and context in a memory buffer window for continuity
  3. 3.Process message through an AI agent connected to OpenAI language models
  4. 4.Evaluate conditional logic to determine required response type and workflow path
  5. 5.Execute necessary tools and sub-workflows based on agent decision
  6. 6.Send structured response back to Slack channel via webhook integration

Use cases

  • Provide intelligent team support by answering questions without manual intervention
  • Generate automated reports and data analysis shared directly in Slack channels
  • Route and assign tasks automatically based on message content and context

Requirements

  • Valid OpenAI API key with access to chat models
  • Active Slack workspace with bot permissions for sending and receiving messages
  • Configured webhook URL for secure communication between Slack and n8n platform

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

OpenAI Memory Slack Tool AI Agent

Details

Trigger Webhook
Nodes 20
Apps 5
Views 209
Downloads 126

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

/

Verify Webhook

Webhook

#1

OpenAI Chat Model

OpenAI

#2

No Operation, do nothing

No Op

#3

Window Buffer Memory

Memory Buffer Window

#4

Check if Bot

If

#5

Send Initial Message

Slack

#6

Delete Initial Message

Slack

#7

Send Message

Slack

#8

Sticky Note

Sticky Note

#9

Sticky Note1

Sticky Note

#10

Sticky Note2

Sticky Note

#11

Sticky Note3

Sticky Note

#12

Sticky Note4

Sticky Note

#13

Sticky Note5

Sticky Note

#14

Sticky Note6

Sticky Note

#15

Sticky Note7

Sticky Note

#16

Sticky Note8

Sticky Note

#17

Receive DMs

Webhook

#18

Call Confluence Workflow Tool

Tool Workflow

#19

AI Agent

Agent

#20