{
  "name": "Monitor Reddit for sales opportunities with GPT-4o and create Asana tasks",
  "nodes": [
    {
      "id": "0ea531ab-ec68-45d6-b5ad-3eabbdb4dfa6",
      "name": "Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2992,
        96
      ],
      "parameters": {
        "width": 596,
        "height": 560,
        "content": "## 🎯 Reddit Sales Opportunity Monitor\n\n**What it does:**  \nAutomatically scans Reddit every 2 hours to identify potential sales opportunities using AI analysis\n\n**How it works:**  \n1. Searches Google "
      }
    },
    {
      "id": "0f194d60-e2ac-45a9-ae9e-22faa6356f49",
      "name": "Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3024,
        704
      ],
      "parameters": {
        "width": 592,
        "height": 416,
        "content": "## 📡 Data Collection\nScheduled search every 2 hours → Fetches Reddit posts via Google → Splits results for individual processing"
      }
    },
    {
      "id": "65fe4bef-924a-4c64-89ff-53b2a4ec5c6d",
      "name": "Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3728,
        720
      ],
      "parameters": {
        "width": 960,
        "height": 504,
        "content": "## 🧠 AI Analysis & Filtering\nAI evaluates each post for sales intent → Filters out non-opportunities → Extracts structured lead data"
      }
    },
    {
      "id": "20e9cade-9510-4580-bb41-86c9fe9833f2",
      "name": "Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4720,
        672
      ],
      "parameters": {
        "width": 260,
        "height": 668,
        "content": "## 🔀 Intent-Based Routing\nRoutes qualified leads by intent level: high → medium → low"
      }
    },
    {
      "id": "79992e5c-2c9a-48ee-bcad-03754525078a",
      "name": "Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4976,
        656
      ],
      "parameters": {
        "width": 444,
        "height": 668,
        "content": "## ✅ Actions & Notifications\nCreates Asana tasks for each intent level → Sends Google Chat alerts to notify team"
      }
    },
    {
      "id": "07e4d778-fa5a-43b0-b880-cacbaae2a157",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2976,
        1424
      ],
      "parameters": {
        "width": 672,
        "height": 336,
        "content": "## 🚨 Error Handling\nCatches workflow failures → Sends email alerts with error details"
      }
    },
    {
      "id": "20833be3-dcdc-4979-9eff-19f86bfc9edc",
      "name": "Every 2 Hours",
      "type": "n8n-nodes-base.cron",
      "position": [
        3104,
        896
      ]
    },
    {
      "id": "fab81217-f782-4414-9755-efb465df0101",
      "name": "Filter Valid Opportunities",
      "type": "n8n-nodes-base.if",
      "position": [
        4352,
        896
      ]
    },
    {
      "id": "7205545c-6c38-411e-879e-d165fb283514",
      "name": "Extract Lead Data",
      "type": "n8n-nodes-base.set",
      "position": [
        4576,
        896
      ]
    },
    {
      "id": "73584207-fa8e-4748-9f23-6ba83c744579",
      "name": "Alert High Intent Lead",
      "type": "n8n-nodes-base.googleChat",
      "position": [
        5248,
        768
      ]
    },
    {
      "id": "d361e951-f0f5-4b47-bab7-925423c32fa8",
      "name": "Create High Intent Task",
      "type": "n8n-nodes-base.asana",
      "position": [
        5040,
        768
      ]
    },
    {
      "id": "fcbacd0c-e4fe-4a71-925c-994bbe8fea59",
      "name": "Search Reddit Posts",
      "type": "n8n-nodes-serpapi.serpApi",
      "position": [
        3328,
        896
      ]
    },
    {
      "id": "75381826-4f9e-4309-bc07-83e9b30447fa",
      "name": "Split Search Results",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        3552,
        896
      ]
    },
    {
      "id": "3ef7e5d0-1138-4a48-bcc9-269910c8d6ba",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        3760,
        896
      ]
    },
    {
      "id": "0fd89372-03a0-49b2-a1f9-af6133145dd1",
      "name": "AI Lead Analyzer",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        4048,
        896
      ]
    },
    {
      "id": "b20e8fad-9d5e-457c-b139-9cad83f16fda",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        4176,
        1072
      ]
    },
    {
      "id": "f7c35091-07e5-43cc-ad22-dbcdf55fb973",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        4000,
        1088
      ]
    },
    {
      "id": "d74e4639-a790-4e19-8bdb-cb3460d54d3f",
      "name": "Route by Intent Level",
      "type": "n8n-nodes-base.switch",
      "position": [
        4800,
        896
      ]
    },
    {
      "id": "4f1d897a-4860-4041-bc7c-09f14511d3df",
      "name": "Alert Medium Intent Lead",
      "type": "n8n-nodes-base.googleChat",
      "position": [
        5248,
        960
      ]
    },
    {
      "id": "469c2286-9348-47c6-b013-a3921c773d89",
      "name": "Create Medium Intent Task",
      "type": "n8n-nodes-base.asana",
      "position": [
        5040,
        960
      ]
    },
    {
      "id": "697d793a-9d20-47e0-988c-eec635618d91",
      "name": "Alert Low Intent Lead",
      "type": "n8n-nodes-base.googleChat",
      "position": [
        5248,
        1152
      ]
    },
    {
      "id": "8271e872-eb27-4ff8-81bb-e197f9ca0aec",
      "name": "Create Low Intent Task",
      "type": "n8n-nodes-base.asana",
      "position": [
        5040,
        1152
      ]
    },
    {
      "id": "b5beb872-03f5-42f7-9933-bf404b76f8b8",
      "name": "Workflow Error Handler",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        3072,
        1584
      ]
    },
    {
      "id": "20157329-5fe5-4d9f-9f1d-cd6cc22399b3",
      "name": "Send Error Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        3392,
        1584
      ]
    }
  ],
  "connections": {
    "Every 2 Hours": {
      "main": [
        [
          {
            "node": "Search Reddit Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "AI Lead Analyzer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Lead Analyzer": {
      "main": [
        [
          {
            "node": "Filter Valid Opportunities",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Lead Data": {
      "main": [
        [
          {
            "node": "Route by Intent Level",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Lead Analyzer",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Search Reddit Posts": {
      "main": [
        [
          {
            "node": "Split Search Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Search Results": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Intent Level": {
      "main": [
        [
          {
            "node": "Create High Intent Task",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Low Intent Task": {
      "main": [
        [
          {
            "node": "Alert Low Intent Lead",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Error Handler": {
      "main": [
        [
          {
            "node": "Send Error Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create High Intent Task": {
      "main": [
        [
          {
            "node": "Alert High Intent Lead",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Lead Analyzer",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Create Medium Intent Task": {
      "main": [
        [
          {
            "node": "Alert Medium Intent Lead",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Valid Opportunities": {
      "main": [
        [
          {
            "node": "Extract Lead Data",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Extract Lead Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}