{
  "name": "Slack AI chatbot for business team with RAG, Claude 3.7 Sonnet and Google Drive",
  "nodes": [
    {
      "id": "df994f64-af5b-49f5-ad83-5c4b69983d41",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -780,
        340
      ]
    },
    {
      "id": "047141fc-a7a0-4532-ae45-da0f2cc27b69",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -720,
        600
      ]
    },
    {
      "id": "f7da4458-3dc5-43b8-a97d-dac3e599543c",
      "name": "Embeddings OpenAI1",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        -460,
        800
      ]
    },
    {
      "id": "14a6052f-e619-4d19-99aa-42253c45a913",
      "name": "RAG",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        -420,
        620
      ]
    },
    {
      "id": "c6334fd2-0d54-4980-857e-079be08959a5",
      "name": "Calculator",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        -560,
        600
      ]
    },
    {
      "id": "87a629b9-980f-4d0d-9fee-5efa560770d2",
      "name": "Get message",
      "type": "n8n-nodes-base.slackTrigger",
      "position": [
        -1040,
        340
      ]
    },
    {
      "id": "939b309d-1828-4159-b1dc-4a1629069c37",
      "name": "Send message",
      "type": "n8n-nodes-base.slack",
      "position": [
        -420,
        340
      ]
    },
    {
      "id": "50be03ea-ab0c-48cb-b95a-b096e51c3d16",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1120,
        -1020
      ]
    },
    {
      "id": "2a765d76-59c6-49c3-95b4-429e5439da37",
      "name": "Create collection",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -820,
        -1160
      ]
    },
    {
      "id": "66eb2691-4316-4470-aa6d-9696beff6cf2",
      "name": "Refresh collection",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -820,
        -900
      ]
    },
    {
      "id": "c0e16404-d82c-418e-b384-d9cc5dceeab6",
      "name": "Get folder",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -600,
        -900
      ]
    },
    {
      "id": "ed9768aa-e381-4d53-b0b4-702833e388b9",
      "name": "Download Files",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -380,
        -900
      ]
    },
    {
      "id": "0da72902-4338-4610-a48c-ad2762690623",
      "name": "Default Data Loader",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        20,
        -700
      ]
    },
    {
      "id": "8783e0bc-df82-4bee-9340-5c788e7f7d3c",
      "name": "Token Splitter",
      "type": "@n8n/n8n-nodes-langchain.textSplitterTokenSplitter",
      "position": [
        0,
        -520
      ]
    },
    {
      "id": "d3872217-ff7e-4ed7-9992-ab2b6f5af9e1",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -620,
        -1220
      ],
      "parameters": {
        "width": 880,
        "height": 220,
        "content": "# STEP 1\n\n## Create Qdrant Collection\nChange:\n- QDRANTURL\n- COLLECTION"
      }
    },
    {
      "id": "887598e8-5ac2-4433-9bd6-779a028eab14",
      "name": "Qdrant Vector Store1",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        -140,
        -900
      ]
    },
    {
      "id": "d0ab0fb8-e4b8-49e2-9d40-74c9855af7b0",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -840,
        -960
      ],
      "parameters": {
        "width": 620,
        "height": 400,
        "content": "# STEP 2\n\n\n\n\n\n\n\n\n\n\n\n\n## Documents vectorization with Qdrant and Google Drive\nChange:\n- QDRANTURL\n- COLLECTION"
      }
    },
    {
      "id": "f3311b6f-1130-41c7-ab3a-447bb617be1b",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1140,
        -1500
      ],
      "parameters": {
        "width": 1400,
        "height": 200,
        "content": "# Slack AI Chatbot Workflow with RAG\n\nImagine having an AI chatbot on Slack that seamlessly integrates with your company’s workflow, automating repetitive requests. No more digging through emails or d"
      }
    },
    {
      "id": "b81155d1-6382-4bd8-96a1-09b063f95c43",
      "name": "Embeddings OpenAI2",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        -140,
        -680
      ]
    },
    {
      "id": "7754f8bd-56c2-46c9-85da-d9a49ccf5c81",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1060,
        -340
      ],
      "parameters": {
        "width": 900,
        "height": 640,
        "content": "# STEP 3\nCreate a Slack Bot [here](https://api.slack.com) and add it to your Slack (Private o Public) channel.\n\nSet \"Scope Subscribe to Bot Event\":\n- app_mention \n- message.channels\n\nSet Bot Token Sco"
      }
    },
    {
      "id": "9933da43-8797-40ed-b399-49ddeb369e42",
      "name": "Anthropic Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        -900,
        600
      ]
    }
  ],
  "connections": {
    "RAG": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Send message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculator": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get folder": {
      "main": [
        [
          {
            "node": "Download Files",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get message": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Download Files": {
      "main": [
        [
          {
            "node": "Qdrant Vector Store1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Token Splitter": {
      "ai_textSplitter": [
        [
          {
            "node": "Default Data Loader",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI1": {
      "ai_embedding": [
        [
          {
            "node": "RAG",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI2": {
      "ai_embedding": [
        [
          {
            "node": "Qdrant Vector Store1",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Refresh collection": {
      "main": [
        [
          {
            "node": "Get folder",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Default Data Loader": {
      "ai_document": [
        [
          {
            "node": "Qdrant Vector Store1",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "Anthropic Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Create collection",
            "type": "main",
            "index": 0
          },
          {
            "node": "Refresh collection",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}