{
  "name": "Create a founder digest and leads from Hacker News with GPT-4o and Gmail",
  "nodes": [
    {
      "id": "d02a36b6-0bfd-47d2-8fd7-679a6fd5efe5",
      "name": "Main Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2080,
        -576
      ],
      "parameters": {
        "width": 870,
        "height": 593,
        "content": "## 🚀 Automate Founder Digest & Lead Discovery from Hacker News (AI-Powered)\n\n### How it works\nThis workflow automatically scans Hacker News on a daily schedule to identify high-signal discussions rele"
      }
    },
    {
      "id": "593d7ecd-148c-4994-81f0-0a54359de3c2",
      "name": "Section: Trigger",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1392,
        160
      ],
      "parameters": {
        "width": 488,
        "height": 320,
        "content": "## 📡 Trigger & Search\nScheduled daily scan of Hacker News via Google SERP API. Searches for Show HN, Launch HN, AI, startup, and SaaS discussions to capture relevant founder conversations."
      }
    },
    {
      "id": "720a64e3-cf81-451b-af7f-f969265020d3",
      "name": "Section: Processing",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -864,
        160
      ],
      "parameters": {
        "width": 468,
        "height": 352,
        "content": "## 🔍 Data Processing\nExtracts search results into structured records, filters out noise pages and guidelines, keeping only real discussion threads with actionable content."
      }
    },
    {
      "id": "2c9f14f3-3e8e-4b1f-a03d-0f2814f1a01e",
      "name": "Section: Email Digest",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        64,
        480
      ],
      "parameters": {
        "width": 760,
        "height": 548,
        "content": "## 📧 Founder Digest\nGenerates a concise daily email digest highlighting key trends, why they matter, and actionable insights for founders. Uses AI to synthesize discussions into strategic intelligence"
      }
    },
    {
      "id": "85408107-043e-4d32-a606-248397ab1e98",
      "name": "Section: Lead Discovery",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16,
        -192
      ],
      "parameters": {
        "width": 916,
        "height": 580,
        "content": "## 🎯 Lead Discovery\nAnalyzes discussions to identify buying-intent signals and qualify leads. Uses MCP client to enrich data from social platforms, then logs qualified leads to Google Sheets for follo"
      }
    },
    {
      "id": "3c55d015-d432-415d-a02e-f74cf2f3700f",
      "name": "Security Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        896,
        784
      ],
      "parameters": {
        "width": 320,
        "height": 260,
        "content": "## 🔐 Required Credentials\n- SerpAPI for search\n- Azure OpenAI for AI analysis\n- Gmail OAuth2 for email delivery\n- Google Sheets OAuth2 for data storage\n- Xpoz MCP for social enrichment\n\nUse OAuth2 whe"
      }
    },
    {
      "id": "f86e7fa1-f94a-4919-9fbe-84a01b9b41c8",
      "name": "Trigger Daily Hacker News Scan",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1344,
        304
      ]
    },
    {
      "id": "775dada6-198d-43d3-a37e-447aac9bd49c",
      "name": "Search Hacker News Discussions via Google SERP",
      "type": "n8n-nodes-serpapi.serpApi",
      "position": [
        -1088,
        304
      ]
    },
    {
      "id": "d87cdb6a-1feb-4f13-a3c8-e590f0f8a003",
      "name": "Extract SERP Results into Discussion Records",
      "type": "n8n-nodes-base.code",
      "position": [
        -816,
        304
      ]
    },
    {
      "id": "c44e3b2f-8b1d-4852-af48-c97c2fac3c3a",
      "name": "Filter Valid Hacker News Discussion Threads",
      "type": "n8n-nodes-base.code",
      "position": [
        -560,
        304
      ]
    },
    {
      "id": "c6f288ad-a311-4e9c-89fd-44618a08aa50",
      "name": "Aggregate Hacker News Discussions for Analysis",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -224,
        304
      ]
    },
    {
      "id": "1ebc5e27-f872-4477-9f80-75b51f2c37ae",
      "name": "Generate Founder Digest from Hacker News Discussions (AI)",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        176,
        624
      ]
    },
    {
      "id": "e1bb9d1f-3887-409d-9366-2fc6ac99d2d0",
      "name": "LLM Reasoning Engine for Founder Digest",
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "position": [
        128,
        832
      ]
    },
    {
      "id": "7be782d4-4ae5-4864-b3a1-ddf9e3b31f2b",
      "name": "Email Founder Daily Hacker News Digest",
      "type": "n8n-nodes-base.gmail",
      "position": [
        656,
        624
      ]
    },
    {
      "id": "0e419ee0-ecd6-4c2d-a82b-43be5d2c4937",
      "name": "Append Founder Insights to Hacker News Intelligence Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        768,
        -32
      ]
    },
    {
      "id": "8fda0a24-80a5-4ab1-9dc0-a760208c421e",
      "name": "Normalize AI Insight Output for Storage",
      "type": "n8n-nodes-base.code",
      "position": [
        544,
        -32
      ]
    },
    {
      "id": "0af613a0-3d2c-4203-a0ea-596b586a9c32",
      "name": "LLM Engine for Lead Qualification & Signal Interpretation",
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "position": [
        96,
        240
      ]
    },
    {
      "id": "9f492633-bd06-4e64-afd3-346b0ee12783",
      "name": "External Social Context & Enrichment Tool (MCP Client)",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        320,
        208
      ]
    },
    {
      "id": "b2bceeb9-8451-440c-9278-c1b424d7c13e",
      "name": "Extract High-Signal Founder & Buying-Intent Insights (AI)",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        112,
        -32
      ]
    },
    {
      "id": "0a3b2e7c-ecf3-49ca-98f7-84e1ecc6f796",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -336,
        32
      ],
      "parameters": {
        "width": 304,
        "height": 464,
        "content": "## 📦 Discussion Aggregation\nCombines all valid Hacker News discussions into a single\ndataset for downstream AI analysis.\n\n• Aggregates multiple threads  \n• Preserves discussion context  \n• Prepares da"
      }
    }
  ],
  "connections": {
    "Trigger Daily Hacker News Scan": {
      "main": [
        [
          {
            "node": "Search Hacker News Discussions via Google SERP",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "LLM Reasoning Engine for Founder Digest": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Founder Digest from Hacker News Discussions (AI)",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Normalize AI Insight Output for Storage": {
      "main": [
        [
          {
            "node": "Append Founder Insights to Hacker News Intelligence Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Valid Hacker News Discussion Threads": {
      "main": [
        [
          {
            "node": "Aggregate Hacker News Discussions for Analysis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract SERP Results into Discussion Records": {
      "main": [
        [
          {
            "node": "Filter Valid Hacker News Discussion Threads",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate Hacker News Discussions for Analysis": {
      "main": [
        [
          {
            "node": "Generate Founder Digest from Hacker News Discussions (AI)",
            "type": "main",
            "index": 0
          },
          {
            "node": "Extract High-Signal Founder & Buying-Intent Insights (AI)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search Hacker News Discussions via Google SERP": {
      "main": [
        [
          {
            "node": "Extract SERP Results into Discussion Records",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "External Social Context & Enrichment Tool (MCP Client)": {
      "ai_tool": [
        [
          {
            "node": "Extract High-Signal Founder & Buying-Intent Insights (AI)",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Extract High-Signal Founder & Buying-Intent Insights (AI)": {
      "main": [
        [
          {
            "node": "Normalize AI Insight Output for Storage",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Founder Digest from Hacker News Discussions (AI)": {
      "main": [
        [
          {
            "node": "Email Founder Daily Hacker News Digest",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "LLM Engine for Lead Qualification & Signal Interpretation": {
      "ai_languageModel": [
        [
          {
            "node": "Extract High-Signal Founder & Buying-Intent Insights (AI)",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}