{
  "name": "Find & qualify funded leads with BrowserAct & Gemini",
  "nodes": [
    {
      "id": "bb4a70a6-7f90-4bc5-9987-cb61ce23eeb4",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1216,
        -160
      ]
    },
    {
      "id": "7f473184-db91-4a3d-b95a-a8a7f5709464",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        16,
        -192
      ]
    },
    {
      "id": "9b74c5e1-a08f-460d-9b10-ab16f3249e97",
      "name": "Code in JavaScript",
      "type": "n8n-nodes-base.code",
      "position": [
        416,
        -176
      ]
    },
    {
      "id": "73a62b5c-a427-49de-845f-e47caaf209fc",
      "name": "Append or update row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        864,
        -160
      ]
    },
    {
      "id": "e5d22fa9-4427-4fe4-be39-332a4dfb6a65",
      "name": "Structured Output",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        160,
        -16
      ]
    },
    {
      "id": "38d75f68-ff2c-4a7e-b303-82fc9bf72c96",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        608,
        -176
      ]
    },
    {
      "id": "22543947-09a6-4368-860a-3775743e3445",
      "name": "Sticky Note - Intro",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -752,
        112
      ],
      "parameters": {
        "width": 592,
        "height": 434,
        "content": "## Try It Out!\n### This n8n template helps you find new investment leads by automatically scraping and analyzing articles for funding announcements using an AI Agent.\n\n### How it works\n* The workflow "
      }
    },
    {
      "id": "87bc8c36-7466-48a2-b8b6-a33bc4e031c6",
      "name": "Sticky Note - How to Use",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -144,
        112
      ],
      "parameters": {
        "width": 496,
        "height": 216,
        "content": "## How to use\n1.  **Set up Credentials:** Add your credentials for **BrowserAct**, **Google Gemini**, and **Google Sheets** to the workflow. They will be used by the relevant nodes.\n2.  **Set up Brows"
      }
    },
    {
      "id": "f75b58a0-ba8c-46bf-9d61-f90cbf9024e6",
      "name": "Sticky Note - Need Help",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -144,
        336
      ],
      "parameters": {
        "width": 496,
        "height": 200,
        "content": "## Need Help ?\n* [How to Find Your BrowseAct API Key & Workflow ID](https://www.youtube.com/watch?v=pDjoZWEsZlE)\n\n* [How to Connect n8n to Browseract](https://www.youtube.com/watch?v=RoYMdJaRdcQ)\n\n* ["
      }
    },
    {
      "id": "024ba7a1-8ff1-4815-b4c5-65fb8f0245f3",
      "name": "Sticky Note - Output Stage",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        784,
        -400
      ],
      "parameters": {
        "width": 448,
        "height": 176,
        "content": "### 💾 4. Save to Google Sheets & Send Notification\n\nThis is your final output stage.\n\nit updates google sheet then send alert to lack channel\n\n**💡 Tip:** The `appendOrUpdate` operation is a great choi"
      }
    },
    {
      "id": "05473d4d-938c-4e27-b615-35b7202f4f66",
      "name": "Sticky Note - Processing Stage",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        368,
        -400
      ],
      "parameters": {
        "width": 400,
        "height": 180,
        "content": "### 🧹 3. Transform & Filter\n\n* **Code Node:** This node is essential for processing lists from an AI. It correctly loops through the AI's output and wraps each item in the structure that n8n's item-ba"
      }
    },
    {
      "id": "2df834d8-32e4-46d9-a854-3239df83c9a6",
      "name": "Sticky Note - AI Stage",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -144,
        -400
      ],
      "parameters": {
        "width": 496,
        "height": 172,
        "content": "### 🧠 2. AI Analysis Core\n\nThis **AI Agent**, powered by **Google Gemini**, is the brain of your operation.\n\n* **Excellent Prompting:** if you change You need to give Clear instruction and also return"
      }
    },
    {
      "id": "79581880-83f3-4686-b327-83ddf5315205",
      "name": "Sticky Note - Scraping Stage",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -752,
        -496
      ],
      "parameters": {
        "width": 480,
        "height": 196,
        "content": "### 🌐 1. Scrape & Wait\n\nEvery two **BrowserAct** nodes work together to fetch your data.\nit get data for both keyword Series and merge them to Reduce the AI False Positive results.\n\n* **Run a workflow"
      }
    },
    {
      "id": "38e99a9b-927f-46b4-8050-3b0e387f59db",
      "name": "Gemini l",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        16,
        -16
      ]
    },
    {
      "id": "24440061-f540-4e26-af91-a13d950ab1b7",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        784,
        -208
      ],
      "parameters": {
        "width": 448,
        "height": 192,
        "content": ""
      }
    },
    {
      "id": "2139aa00-a434-4760-807a-00abf300b0f8",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        368,
        -208
      ],
      "parameters": {
        "width": 400,
        "height": 192,
        "content": ""
      }
    },
    {
      "id": "eb9c03d6-56f5-401a-8408-77712d051f0d",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -752,
        -80
      ],
      "parameters": {
        "width": 480,
        "height": 176,
        "content": ""
      }
    },
    {
      "id": "bc1c9245-2d9a-4bf8-9973-27207218a744",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -144,
        -208
      ],
      "parameters": {
        "width": 496,
        "height": 304,
        "content": ""
      }
    },
    {
      "id": "b4c28f6b-c618-4514-80f7-136963f37afa",
      "name": "Send a message",
      "type": "n8n-nodes-base.slack",
      "position": [
        1072,
        -160
      ]
    },
    {
      "id": "ff0919c6-2c38-4c11-aba8-4d3afe0e5bf6",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -752,
        -288
      ],
      "parameters": {
        "width": 480,
        "height": 192,
        "content": ""
      }
    },
    {
      "id": "c289a817-c7e7-4bef-9a6b-20c4854acdd5",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        -256,
        -160
      ]
    },
    {
      "id": "07c0a4e8-0cda-4015-9375-525e5afeed37",
      "name": "Get row(s) in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1072,
        -160
      ]
    },
    {
      "id": "135d1765-f6d4-47b5-8904-fe3ee2625ea0",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -896,
        -160
      ]
    },
    {
      "id": "efef17c0-4be1-4fed-903c-d98784e55b88",
      "name": "Run a workflow Series 2",
      "type": "n8n-nodes-browseract-workflows.browserAct",
      "position": [
        -672,
        -256
      ]
    },
    {
      "id": "fbc96d3b-e6e3-4c78-aaee-954c50f59c6d",
      "name": "Run a workflow Series 1",
      "type": "n8n-nodes-browseract-workflows.browserAct",
      "position": [
        -672,
        -64
      ]
    },
    {
      "id": "acb20c51-7d76-43af-838b-40dea11c9449",
      "name": "Get workflow Series 2",
      "type": "n8n-nodes-browseract-workflows.browserAct",
      "position": [
        -480,
        -256
      ]
    },
    {
      "id": "6d1c8952-55b2-4e83-bd18-b1f6fc9e1d29",
      "name": "Get workflow Series1",
      "type": "n8n-nodes-browseract-workflows.browserAct",
      "position": [
        -480,
        -64
      ]
    },
    {
      "id": "ae207264-ad23-481a-9012-13962cb28e3a",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1088,
        -288
      ],
      "parameters": {
        "width": 320,
        "height": 96,
        "content": "### 👆🏻 0. Get Input Data\nwe Get input keyword and location for the loop from the list of keywords and geo inside the google sheet."
      }
    },
    {
      "id": "e09458f1-4d37-4049-8bec-47003dd7b0be",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1088,
        -176
      ],
      "parameters": {
        "width": 320,
        "height": 208,
        "content": ""
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [],
        [
          {
            "node": "Append or update row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Code in JavaScript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini l": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Send a message": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Run a workflow Series 1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Run a workflow Series 2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get row(s) in sheet": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get workflow Series1": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Get workflow Series 2": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Run a workflow Series 1": {
      "main": [
        [
          {
            "node": "Get workflow Series1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Run a workflow Series 2": {
      "main": [
        [
          {
            "node": "Get workflow Series 2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Append or update row in sheet": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Get row(s) in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}