{
  "name": "Scrape Reddit posts with BrowserAct, summarize with Gemini, and save to Google Sheets",
  "nodes": [
    {
      "id": "2b0263d5-2b2b-46dc-a4d3-dc0574f672bd",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        752,
        144
      ]
    },
    {
      "id": "db0ed312-d201-43d9-a4c4-cc244a9c9c5c",
      "name": "Google Gemini Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        704,
        432
      ]
    },
    {
      "id": "e4bc6c82-4380-4b12-9e11-0a4f27b8f427",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -128,
        -336
      ]
    },
    {
      "id": "0d1688a8-d586-4f37-8592-40fbe3326f32",
      "name": "GSheets: Read Config",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        160,
        -336
      ]
    },
    {
      "id": "6bd7e52d-2467-446e-b21b-01773a88b40e",
      "name": "If: Is Keyword?",
      "type": "n8n-nodes-base.if",
      "position": [
        432,
        -336
      ]
    },
    {
      "id": "facf1e54-d089-4705-b4f3-7b5411a914e4",
      "name": "Loop: Keyword List",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -160,
        -16
      ]
    },
    {
      "id": "4658c82c-3e25-4d76-8c02-b33ff51e5f46",
      "name": "BrowserAct: Scrape Keywords",
      "type": "n8n-nodes-browseract.browserAct",
      "position": [
        128,
        -16
      ]
    },
    {
      "id": "073fa66f-e581-44cb-8b8b-a75e35a05cf5",
      "name": "Clean Keyword Data",
      "type": "n8n-nodes-base.code",
      "position": [
        336,
        0
      ]
    },
    {
      "id": "080f16b5-183b-4ad3-881b-ee2e7450a702",
      "name": "Format Keyword Digest",
      "type": "n8n-nodes-base.code",
      "position": [
        512,
        0
      ]
    },
    {
      "id": "5f375240-e381-4ca2-8d2d-c717b07f216e",
      "name": "Keyword Analyst",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        704,
        0
      ]
    },
    {
      "id": "a18c2fe6-c39a-4c58-bece-d2b7c70aa971",
      "name": "Archive Keywords",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        976,
        0
      ]
    },
    {
      "id": "23248e31-0b61-4dc1-8972-95f6c28d2ae8",
      "name": "Is Competitor?",
      "type": "n8n-nodes-base.if",
      "position": [
        880,
        -224
      ]
    },
    {
      "id": "782fba02-cee0-4a92-86f8-0cd454687d68",
      "name": "Loop: Competitor List",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -176,
        272
      ]
    },
    {
      "id": "b5c385b4-ec5b-409a-b219-512301f8194f",
      "name": "BrowserAct: Scrape Subreddit",
      "type": "n8n-nodes-browseract.browserAct",
      "position": [
        64,
        288
      ]
    },
    {
      "id": "60640869-450b-4dbd-906e-c7722d5bdb3b",
      "name": "Clean Competitor Data",
      "type": "n8n-nodes-base.code",
      "position": [
        256,
        288
      ]
    },
    {
      "id": "766657f9-3c48-47bc-9cb0-b71a2bba546e",
      "name": "Format Competitor Digest",
      "type": "n8n-nodes-base.code",
      "position": [
        464,
        288
      ]
    },
    {
      "id": "9ee816e9-5b50-44fc-a5d1-bdd4cc0ee7c2",
      "name": "Competitor Analyst",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        640,
        288
      ]
    },
    {
      "id": "ebc716df-18b4-4cd5-a512-7f875773ef3b",
      "name": "Archive Competitors",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        992,
        288
      ]
    },
    {
      "id": "e9c8abb0-1237-4d16-8a8a-0b227ce22382",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1024,
        -336
      ],
      "parameters": {
        "width": 800,
        "height": 832,
        "content": "# 🕵️‍♂️ Reddit Intelligence Monitor: AI-Powered Scraping with BrowserAct\n\nAutomate your market research and competitor analysis with this powerful \"Set and Forget\" workflow. It monitors Reddit for spe"
      }
    },
    {
      "id": "83718d7f-58fc-4222-9867-6a51a20e2ce5",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -192,
        -432
      ],
      "parameters": {
        "width": 608,
        "height": 240,
        "content": "Title: 1. Prep Your Google Sheet\nText: Make a sheet with two tabs. \"Config\" needs columns: keywords, competitor. \"Report\" needs columns: Date, Competitor, Summary, Link to save your results."
      }
    },
    {
      "id": "da30cd01-4126-49b9-a74c-f6251f99ccd1",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -192,
        -160
      ],
      "parameters": {
        "width": 448,
        "height": 656,
        "content": "Title: 2. Link BrowserAct\nText: This node acts as your robot to browse Reddit. Just paste your own \"Task ID\" from your BrowserAct account so it knows what to do."
      }
    },
    {
      "id": "a4a0d519-a285-467c-8b23-419e86da4f01",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        512,
        -128
      ],
      "parameters": {
        "width": 438,
        "height": 624,
        "content": "Title: 3. Smart AI Summary\nText: Instead of reading posts one by one, we pack 3 posts together for the AI. This saves you money on AI tokens and gives one clean summary."
      }
    }
  ],
  "connections": {
    "Is Competitor?": {
      "main": [
        [
          {
            "node": "Loop: Competitor List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If: Is Keyword?": {
      "main": [
        [
          {
            "node": "Loop: Keyword List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Keyword Analyst": {
      "main": [
        [
          {
            "node": "Archive Keywords",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Archive Keywords": {
      "main": [
        [
          {
            "node": "Loop: Keyword List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "GSheets: Read Config",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Clean Keyword Data": {
      "main": [
        [
          {
            "node": "Format Keyword Digest",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Competitor Analyst": {
      "main": [
        [
          {
            "node": "Archive Competitors",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop: Keyword List": {
      "main": [
        [],
        [
          {
            "node": "BrowserAct: Scrape Keywords",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Archive Competitors": {
      "main": [
        [
          {
            "node": "Loop: Competitor List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GSheets: Read Config": {
      "main": [
        [
          {
            "node": "If: Is Keyword?",
            "type": "main",
            "index": 0
          },
          {
            "node": "Is Competitor?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Clean Competitor Data": {
      "main": [
        [
          {
            "node": "Format Competitor Digest",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Keyword Digest": {
      "main": [
        [
          {
            "node": "Keyword Analyst",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop: Competitor List": {
      "main": [
        [],
        [
          {
            "node": "BrowserAct: Scrape Subreddit",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Competitor Digest": {
      "main": [
        [
          {
            "node": "Competitor Analyst",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Keyword Analyst",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Competitor Analyst",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "BrowserAct: Scrape Keywords": {
      "main": [
        [
          {
            "node": "Clean Keyword Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "BrowserAct: Scrape Subreddit": {
      "main": [
        [
          {
            "node": "Clean Competitor Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}