{
  "name": "Get AI insights from Databox in Slack using OpenAI",
  "nodes": [
    {
      "id": "f5b4185a-5d5b-44b1-8990-78ddafcd5b69",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3680,
        1776
      ],
      "parameters": {
        "width": 1688,
        "height": 408,
        "content": "## Ask Your Business Data in Slack and Get AI-powered Insights via Databox MCP\n\nGet instant answers about your business metrics directly in Slack. Mention the bot with any question - \"How did Google A"
      }
    },
    {
      "id": "ce43c8be-01bf-4152-9867-67ab2d8c45cc",
      "name": "Sticky Note 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3680,
        2208
      ],
      "parameters": {
        "width": 500,
        "height": 1436,
        "content": "## 1️⃣ Slack App + Trigger Setup\n\n### What this section does\nListens for @mentions of your Slack bot in a specific channel and forwards the question to the AI Agent.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
      }
    },
    {
      "id": "93ded68c-a533-491a-8002-128057675dc7",
      "name": "Sticky Note 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4224,
        2208
      ],
      "parameters": {
        "width": 550,
        "height": 1148,
        "content": "## 2️⃣ AI Agent + Databox MCP Setup\n\n### What this section does\nThe AI Agent reads the user's Slack question, queries Databox via MCP for the relevant data, and formats a concise Slack-friendly reply."
      }
    },
    {
      "id": "9fe07b6a-5290-46a5-9823-8576b22e25f9",
      "name": "Sticky Note 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4816,
        2208
      ],
      "parameters": {
        "width": 550,
        "height": 1148,
        "content": "## 3️⃣ Slack Message\n\n### What this section does\nThe AI agent delivers in Slack, augmented with intelligent analysis to provide deeper insights and actionable information.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
      }
    },
    {
      "id": "554aa5e2-eb21-4950-a26e-aacca3f1b490",
      "name": "Slack Trigger",
      "type": "n8n-nodes-base.slackTrigger",
      "position": [
        3856,
        2432
      ]
    },
    {
      "id": "4443080d-06cb-476b-9eb4-9d3117e12be3",
      "name": "Databox AI Assistant",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        4384,
        2432
      ]
    },
    {
      "id": "7bed168f-5d5a-45f4-9e57-b2d646754209",
      "name": "Databox MCP Tool",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        4576,
        2656
      ]
    },
    {
      "id": "5997d629-1be2-4c36-b72f-4c22b239d306",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        4320,
        2656
      ]
    },
    {
      "id": "f8b06d7a-31c6-4ce6-9f79-03e680612195",
      "name": "Post message",
      "type": "n8n-nodes-base.slack",
      "position": [
        5024,
        2432
      ]
    }
  ],
  "connections": {
    "Slack Trigger": {
      "main": [
        [
          {
            "node": "Databox AI Assistant",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Databox MCP Tool": {
      "ai_tool": [
        [
          {
            "node": "Databox AI Assistant",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Databox AI Assistant",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Databox AI Assistant": {
      "main": [
        [
          {
            "node": "Post message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}