Advanced LangChain Knowledge Base Bot with Slack & Dual-Mode AI Logging
    100%
    Automation
    0(0 reviews)
    0 downloads

    Advanced LangChain Knowledge Base Bot with Slack & Dual-Mode AI Logging

    NM

    Curated by n8n Markets team

    Last updated: June 27, 2026

    Equip your operations team with an intelligent, self-learning troubleshooting assistant. Built using n8n's advanced LangChain integration (Agents, Memory, and Chat Triggers), this bot operates in two distinct operational modes: Search Mode (Default): A user asks a technical or operational question. The AI Agent scans your internal Google Sheets log, matches past resolutions, formats a response referencing old Slack/Confluence links, and asks the user if they want to post the verified fix to a public help channel. Knowledge Capture Mode (!new): When an engineer or manager types !new [meeting notes/chat logs], the AI shifts behaviors. It extracts the raw text into a flawless JSON schema containing the structured issue, the engineered solution, task to-dos, and hashtags, appending it immediately as a new reference row in your Google Sheet.

    What's Included

    • Chat Widget / Slack Trigger receives the user query.
    • Router/If Node checks if the string contains the !new command.
    • If True (Capture): OpenAI Agent extracts metadata -> JavaScript node flattens the output -> Google Sheets appends the new entry -> Chat interface receives a success block.
    • If False (Search): Google Sheets pulls the historical log -> LangChain Agent parses data through Window Buffer Memory -> Chat displays the match.
    • Slack Branch: If the user text-confirms "Ja/Ok", an agent fishes out the last bot reply and pushes it cleanly into the company Slack workspace.

    Requirements

    OpenAI API Key (GPT-4o-mini or GPT-4o) Google Sheets account (OAuth2) Slack App Bot Token

    How to import this template into n8n

    1. Download the workflow JSON file from this page.
    2. In n8n, open Workflows, create a new workflow and choose Import from File.
    3. Open each node that shows a warning and connect your own credentials.
    4. Run the workflow once manually to check the output before you activate it.
    Included in Pro
    • Importable n8n workflow JSON file
    • Download with Builder Pro or Agency Unlimited
    • Built for n8n v1.0+
    • Setup time: 1 hour

    Included in Builder Pro — $19/mo, 4,177 premium workflows

    Before you activate

    Templates are reviewed before they are listed. Test with your own credentials and data before running it in production.

    Updated Jun 2026
    v1.0.0
    SSL
    Secure
    GDPR

    100% Secure Checkout

    Refund requests within 7 days of a new subscription

    Dependencies & Requirements

    Slack
    Communication
    Google Sheets
    Data

    ⚠️ 2 services require credentials. Make sure you have accounts set up before importing.

    Reviews

    0

    No reviews yet

    See all 0 reviews ↓
    —

    0 reviews

    5★
    0
    4★
    0
    3★
    0
    2★
    0
    1★
    0

    No reviews yet.

    Questions & Answers

    0

    Log in to ask a question.

    No questions yet. Be the first to ask!

    People Also Bought