{
  "name": "Find qualified leads in Reddit posts with Firecrawl and GPT-4.1-mini",
  "nodes": [
    {
      "id": "fdb23425-59f8-4668-ab01-d769a4456476",
      "name": "Structured Output Parser2",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1328,
        816
      ]
    },
    {
      "id": "14e7e0df-be8d-432e-bb72-b9b93a70becf",
      "name": "Aggregate1",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        2784,
        720
      ]
    },
    {
      "id": "93c4c204-11f4-4e3c-80ae-d9805cc2615c",
      "name": "Merge1",
      "type": "n8n-nodes-base.merge",
      "position": [
        3008,
        592
      ]
    },
    {
      "id": "dd08eb2e-8495-41e0-b07e-76f8bb794f01",
      "name": "Reddit Posts Keywords Generator1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1184,
        592
      ]
    },
    {
      "id": "6f0c5e5d-595a-4035-9f6a-df63f3934590",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        656,
        336
      ],
      "parameters": {
        "width": 2784,
        "height": 640,
        "content": "## Find Your First Reddit Users (Loop Over All 10 keywords)"
      }
    },
    {
      "id": "3ebe2566-7e5b-4e66-a07a-bf96b77d44dd",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1536,
        592
      ]
    },
    {
      "id": "2f9784e8-3651-4edd-91e9-630d866f517c",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1760,
        592
      ]
    },
    {
      "id": "918197b0-57a7-47c9-9cd5-c92490186227",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2384,
        688
      ]
    },
    {
      "id": "7ec273b2-262c-4a3a-acb6-3be86262a016",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1200,
        816
      ]
    },
    {
      "id": "d93897ab-ac48-46b7-85fe-8728a40d15b3",
      "name": "Posts Relevance Processing AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2432,
        480
      ]
    },
    {
      "id": "aeec208a-6e3e-4f14-8e42-572c3dcf77e7",
      "name": "Parse Qualified Posts Data",
      "type": "n8n-nodes-base.code",
      "position": [
        3232,
        672
      ]
    },
    {
      "id": "7e9cce81-36ea-4d77-a2bc-8a2b1aaecd81",
      "name": "Sanitize Results",
      "type": "n8n-nodes-base.code",
      "position": [
        2208,
        592
      ]
    },
    {
      "id": "ac13e6d2-e153-4568-b6af-a64ab11e65bc",
      "name": "Search for Posts per Keyword/Phrase",
      "type": "n8n-nodes-base.reddit",
      "position": [
        1984,
        592
      ]
    },
    {
      "id": "a11332b1-ccfb-45a0-9eab-21d2c7eb15fc",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2608,
        688
      ]
    },
    {
      "id": "6488bc7f-85a1-44fb-891b-42004452ae84",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        2800,
        464
      ]
    },
    {
      "id": "582c5a7b-5739-44ea-bb3a-39c7d60a57d4",
      "name": "Aggregate All Qualified Conversations",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1984,
        368
      ]
    },
    {
      "id": "ed383bf6-763d-4370-b441-6a14fe2fa264",
      "name": "Scrape Product URL and get its content",
      "type": "@mendable/n8n-nodes-firecrawl.firecrawl",
      "position": [
        960,
        592
      ]
    },
    {
      "id": "00c62ac9-eace-4409-8f14-615ba9c4c8d6",
      "name": "Enter Product URL",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        736,
        592
      ]
    },
    {
      "id": "f3e42e1d-1238-47ad-8c84-d6086ebb82ec",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        192,
        336
      ],
      "parameters": {
        "width": 432,
        "height": 640,
        "content": "![](https://res.cloudinary.com/dd6vlwblr/image/upload/v1769022321/1_cps1u9.png)\n## Basic Setup Guide\nYou can follow the n8n credential setup docs for reddit, openai to set them up. Then the workflow e"
      }
    },
    {
      "id": "4b688885-8208-4a2e-8849-24de0670d008",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3472,
        336
      ],
      "parameters": {
        "width": 368,
        "height": 640,
        "content": "## Resources\n\n1. [Youtube Tutorial](https://bit.ly/youtubetutorialredditworkflow)\n2. [Medium Article Guide](https://bit.ly/mediumarticleredditworkflow)\n3. [Frontend Integrated Version](https://bit.ly/"
      }
    }
  ],
  "connections": {
    "Merge1": {
      "main": [
        [
          {
            "node": "Parse Qualified Posts Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate1": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Aggregate All Qualified Conversations",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Search for Posts per Keyword/Phrase",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sanitize Results": {
      "main": [
        [
          {
            "node": "Aggregate1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Posts Relevance Processing AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Enter Product URL": {
      "main": [
        [
          {
            "node": "Scrape Product URL and get its content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Posts Relevance Processing AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Reddit Posts Keywords Generator1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Posts Relevance Processing AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser2": {
      "ai_outputParser": [
        [
          {
            "node": "Reddit Posts Keywords Generator1",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Parse Qualified Posts Data": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Reddit Posts Keywords Generator1": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Posts Relevance Processing AI Agent": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search for Posts per Keyword/Phrase": {
      "main": [
        [
          {
            "node": "Sanitize Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape Product URL and get its content": {
      "main": [
        [
          {
            "node": "Reddit Posts Keywords Generator1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}