{
  "name": "Beginner lead finder using SerpAPI search",
  "nodes": [
    {
      "id": "1849d161-5e20-4984-b257-d4beba8d3984",
      "name": "OpenAI Chat Model3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2240,
        2560
      ]
    },
    {
      "id": "56bcccd4-b43b-4614-af68-965f006f4442",
      "name": "Structured Output Parser2",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2420,
        2600
      ]
    },
    {
      "id": "cec08431-626d-42c3-9ad4-ef76dc5954b9",
      "name": "Loop Over Items1",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1720,
        2400
      ]
    },
    {
      "id": "a523d13f-653d-4a91-a672-b0bd5d558f27",
      "name": "Run Workflow",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1060,
        2840
      ]
    },
    {
      "id": "46962894-9e74-4fec-a1f4-14b28ee824b1",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        2420
      ],
      "parameters": {
        "width": 500,
        "height": 640,
        "content": "## 🛠️ Step-by-Step Setup & Execution\n\n### 1️⃣ Run Workflow (Manual Trigger)\n- **Node**: `Run Workflow`  \n- **Type**: Manual Trigger  \n- **Purpose**: Kick off the flow on demand.\n\n---\n\n### 2️⃣ Set Your"
      }
    },
    {
      "id": "6d4a9f51-0ab5-43f9-888a-2ffd9fec5792",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        740,
        2240
      ],
      "parameters": {
        "width": 1840,
        "height": 820,
        "content": "### 7️⃣ Loop Over Each URL\n- **Node**: `Loop Over Items1`  \n- **Type**: SplitInBatches  \n- **Purpose**: Process one URL at a time  \n- **Error Handling**: `onError: continueRegularOutput`\n\n---\n\n### 8️⃣"
      }
    },
    {
      "id": "e0dcc28a-b52e-4622-b7bd-e89bf3e132dc",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -600,
        2240
      ],
      "parameters": {
        "width": 1320,
        "height": 820,
        "content": "\n### 3️⃣ Search Google Results (1–10)\n- **Node**: `Search Google (top 10)`  \n- **Type**: SerpAPI  \n- **Prerequisite / API Setup**:  \n  1. Sign up at https://serpapi.com/  \n  2. Copy your API key  \n  3"
      }
    },
    {
      "id": "be1e7afd-b791-43ab-94be-daf8c23b01b0",
      "name": "Set Topic",
      "type": "n8n-nodes-base.set",
      "position": [
        -820,
        2860
      ]
    },
    {
      "id": "e14ad342-76a7-4227-a950-d45cc345867f",
      "name": "Search Google (top 10)",
      "type": "n8n-nodes-serpapi.serpApi",
      "position": [
        60,
        2400
      ]
    },
    {
      "id": "8b11f8ed-8a6f-42dc-82d1-4fa6e6a7fd1e",
      "name": "Search Google (11-20)",
      "type": "n8n-nodes-serpapi.serpApi",
      "position": [
        40,
        2620
      ]
    },
    {
      "id": "4a0122a6-3ac2-4d0b-97fa-fe369ca9c638",
      "name": "Extract Url",
      "type": "n8n-nodes-base.code",
      "position": [
        240,
        2620
      ]
    },
    {
      "id": "3f92ad79-4829-43cd-8a99-578df75e259b",
      "name": "Extract Url 2",
      "type": "n8n-nodes-base.code",
      "position": [
        240,
        2820
      ]
    },
    {
      "id": "da2c21e0-7d55-4bc6-a695-ed911ebc6713",
      "name": "Append Results",
      "type": "n8n-nodes-base.merge",
      "position": [
        500,
        2680
      ]
    },
    {
      "id": "10774467-0641-4dc5-875b-7a8d5680baa5",
      "name": "Scrape URL with apify",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2000,
        2440
      ]
    },
    {
      "id": "dcdd0bba-3379-40d3-9d6c-893f0fe8539b",
      "name": "Extract Email from webpage",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2240,
        2380
      ]
    },
    {
      "id": "bea6d164-80bd-4f6c-883f-fa50557bb578",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        2240
      ],
      "parameters": {
        "width": 500,
        "height": null,
        "content": "## 📬 Need Help or Want to Customize This?\n📧 [robert@ynteractive.com](mailto:robert@ynteractive.com)  \n🔗 [LinkedIn](https://www.linkedin.com/in/robert-breen-29429625/)"
      }
    }
  ],
  "connections": {
    "Set Topic": {
      "main": [
        [
          {
            "node": "Search Google (top 10)",
            "type": "main",
            "index": 0
          },
          {
            "node": "Search Google (11-20)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Url": {
      "main": [
        [
          {
            "node": "Append Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Run Workflow": {
      "main": [
        [
          {
            "node": "Set Topic",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Url 2": {
      "main": [
        [
          {
            "node": "Append Results",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Append Results": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items1": {
      "main": [
        [],
        [
          {
            "node": "Scrape URL with apify",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model3": {
      "ai_languageModel": [
        [
          {
            "node": "Extract Email from webpage",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Scrape URL with apify": {
      "main": [
        [
          {
            "node": "Extract Email from webpage",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search Google (11-20)": {
      "main": [
        [
          {
            "node": "Extract Url 2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search Google (top 10)": {
      "main": [
        [
          {
            "node": "Extract Url",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser2": {
      "ai_outputParser": [
        [
          {
            "node": "Extract Email from webpage",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Extract Email from webpage": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}