WorkflowSlackOpen

Slack RAG chatbot for company staff n8n

This n8n workflow is a Slack chatbot that answers staff questions from company documents, such as IT requests, policies or vacation days. It is for companies that want employees to ask a bot in Slack instead of digging through emails and files.

What it does

Setup creates a Qdrant collection and vectorizes documents from Google Drive. A Slack trigger then passes each message to an AI agent with memory, a calculator and a RAG tool that searches Qdrant with OpenAI embeddings, and the reply is sent back in Slack.

How to use it

Change QDRANTURL and COLLECTION in steps one and two, then connect Slack, Google Drive and OpenAI.

More in Slack and the n8n workflow library.

Full text

Front matter
name: Slack AI Chatbot with RAG for company staff
description: Triggered manually or by an app event. Connects Google Drive, HTTP request, Slack. # STEP 1 ## Create Qdrant Collection Change: - QDRANTURL - COLLECTION # STEP 2 ## Documents vectorization with Qdrant and Google Drive Change: - QDRANTURL - COLLECTION # Slack AI Chatbot Workflow with RAG Imagine having an AI chatbot on Slack that seamlessly integrates with your company’s workflow, automating repetitive requests. No more digging through emails or documents to find answers about IT requests, company policies, or vacation days—just ask the bot, and it will instantly
category: Automation
kind: Workflow
software: Google Drive|HTTP request|Slack

Slack AI Chatbot with RAG for company staff

Triggered manually or by an app event. Connects Google Drive, HTTP request, Slack. # STEP 1

Create Qdrant Collection

Change:

  • QDRANTURL
  • COLLECTION # STEP 2

Documents vectorization with Qdrant and Google Drive

Change:

  • QDRANTURL
  • COLLECTION # Slack AI Chatbot Workflow with RAG

Imagine having an AI chatbot on Slack that seamlessly integrates with your company’s workflow, automating repetitive requests. No more digging through emails or documents to find answers about IT requests, company policies, or vacation days—just ask the bot, and it will instantly

Steps

  • AI Agent (noOp)
  • Simple Memory (noOp)
  • Embeddings OpenAI1 (noOp)
  • RAG (noOp)
  • Calculator (noOp)
  • Get message (slackTrigger)
  • Send message (slack)
  • When clicking ‘Test workflow’ (manualTrigger)
  • Create collection (httpRequest)
  • Refresh collection (httpRequest)
  • Get folder (googleDrive)
  • Download Files (googleDrive)
  • Default Data Loader (noOp)
  • Token Splitter (noOp)
  • Sticky Note3 (stickyNote)
  • Qdrant Vector Store1 (noOp)
  • Sticky Note5 (stickyNote)
  • Sticky Note2 (stickyNote)
  • Embeddings OpenAI2 (noOp)
  • Sticky Note4 (stickyNote)
  • Anthropic Chat Model (noOp)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source and license

Source: https://github.com/Zie619/n8n-workflows/blob/main/Slack/1643_Slack_Manual_Automate_Webhook.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.