AI Agents

Slack automation

14 nodes 226 106 Webhook
Download

Workflow Description

Advanced automation template integrating an OpenAI-powered AI agent with Slack to process inquiries automatically. Receives messages via webhook, executes search and research through specialized tools, and maintains context in memory for consistent conversations.

How it works

  1. 1.Receive message from Slack via webhook and validate the request
  2. 2.Process inquiry using OpenAI agent with access to search and knowledge tools
  3. 3.Store context and previous responses in buffer memory for conversation continuity
  4. 4.Send generated response back to Slack in the appropriate thread

Use cases

  • Automatically answer repetitive team questions using live search capabilities
  • Create an intelligent assistant that learns from previous context and provides more accurate responses
  • Automate quick information retrieval from Wikipedia or web directly within Slack

Requirements

  • OpenAI API key with Chat model permissions
  • Slack workspace authentication with message send/receive permissions
  • SerpAPI key for web search functionality (optional but recommended)

Service Value

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

Apps Used

AI Agent OpenAI Memory Tool Slack

Details

Trigger Webhook
Nodes 14
Apps 5
Views 226
Downloads 106

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

/

Sticky Note

Sticky Note

#1

Sticky Note1

Sticky Note

#2

Sticky Note2

Sticky Note

#3

Sticky Note3

Sticky Note

#4

Sticky Note4

Sticky Note

#5

AI Agent

Agent

#6

OpenAI Chat Model

OpenAI

#7

Simple Memory

Memory Buffer Window

#8

Is user message?

If

#9

No Operation, do nothing

No Op

#10

SerpAPI

Tool Serp Api

#11

Wikipedia

Tool Wikipedia

#12

Slack

Slack

#13

Webhook

Webhook

#14