{
  "name": "Query GA4 data with Google Gemini AI in a Slack channel",
  "nodes": [
    {
      "id": "5f649028-62b1-4ebe-a1ec-02eca7d007aa",
      "name": "Slack Trigger",
      "type": "n8n-nodes-base.slackTrigger",
      "position": [
        -1456,
        -2064
      ]
    },
    {
      "id": "47fb84b8-1a4a-4ad5-9aea-cb9169d7a25f",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        -1248,
        -2064
      ]
    },
    {
      "id": "5c980803-2e81-4770-9a72-64c00859c384",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1040,
        -2064
      ]
    },
    {
      "id": "43787510-2642-4c58-8835-85801c1699f0",
      "name": "Get a report in Google Analytics",
      "type": "n8n-nodes-base.googleAnalyticsTool",
      "position": [
        -800,
        -1856
      ]
    },
    {
      "id": "fa360f13-2343-4aed-8e67-2b0163453848",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -1184,
        -1840
      ]
    },
    {
      "id": "59037e5c-7658-42c3-9f98-fb1d137c8ca0",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -992,
        -1840
      ]
    },
    {
      "id": "73c0219f-4251-4af5-b7d4-f4a1ac82ac27",
      "name": "Send a message",
      "type": "n8n-nodes-base.slack",
      "position": [
        -688,
        -2064
      ]
    },
    {
      "id": "798a2455-e09b-4b63-bb51-408bc8d787a7",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1664,
        -2512
      ],
      "parameters": {
        "width": 1440,
        "height": 848,
        "content": "## How it works\n\nThis workflow seamlessly integrates Google Analytics 4 (GA4) with Slack, allowing users to query their website data using natural language inside a dedicated Slack channel. Video walk"
      }
    }
  ],
  "connections": {
    "AI Agent": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Slack Trigger": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Get a report in Google Analytics": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}