{
  "name": "Detect competitor tech adoption and notify AEs with PredictLeads, Sheets and Gmail",
  "nodes": [
    {
      "id": "2442beda-a2cc-4062-bb1b-68cc43915b57",
      "name": "About This Workflow",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -256,
        96
      ],
      "parameters": {
        "width": 420,
        "height": 400,
        "content": "ABOUT THIS WORKFLOW\n\nMonitors companies for competitor technology adoption and emails the assigned account executive when a match is found.\n\nSetup: Google Sheet with domains and AE emails, Gmail OAuth"
      }
    },
    {
      "id": "43b63d7e-9404-4f21-87d7-2d208e9143d3",
      "name": "📋 Sticky: Trigger & Input",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        -208
      ],
      "parameters": {
        "width": 460,
        "height": 730,
        "content": "## 1️⃣ Trigger & Company Source\n\n**Nodes:**  \n⏰ Daily Schedule Trigger → 📂 Read Company Watchlist\n\n**Description:**  \nThe workflow begins with a scheduled trigger that runs automatically each day.\n\nIt"
      }
    },
    {
      "id": "5f842e3a-5361-4aa4-8b2f-3b672dfdfa0d",
      "name": "📋 Sticky: Enrichment",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        752,
        -208
      ],
      "parameters": {
        "width": 460,
        "height": 746,
        "content": "## 2️⃣ Company Processing\n\n**Nodes:**  \n🔄 Loop Over Companies → 🔍 Fetch Tech Detections\n\n**Description:**  \nEach company from the watchlist is processed individually.\n\nFor every company domain, the wo"
      }
    },
    {
      "id": "a438d2ec-a0ad-4977-bd17-b3c316df1b7a",
      "name": "📋 Sticky: Processing",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1264,
        -208
      ],
      "parameters": {
        "width": 460,
        "height": 762,
        "content": "## 3️⃣ Competitor Technology Check\n\n**Nodes:**  \n⚙️ Check Competitor Tech → ❓ Competitor Tech Found?\n\n**Description:**  \nThe workflow evaluates the detected technologies to determine whether a configu"
      }
    },
    {
      "id": "ca1fb7a3-5f9e-44bc-870d-fa4ab2fd8dbc",
      "name": "📋 Sticky: Output",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1760,
        -208
      ],
      "parameters": {
        "width": 460,
        "height": 746,
        "content": "## 4️⃣ Notification\n\n**Nodes:**  \n⚙️ Extract AE Email → 📧 Gmail Alert to AE\n\n**Description:**  \nWhen a competitor technology match is detected, the workflow extracts the assigned Account Executive’s e"
      }
    },
    {
      "id": "edc88115-1604-461c-bef2-95f45a2eaa81",
      "name": "⏰ Daily Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        304,
        288
      ]
    },
    {
      "id": "18658cd9-fc01-42c0-a2ac-49ed7b005891",
      "name": "📂 Read Company Watchlist",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        528,
        288
      ]
    },
    {
      "id": "152d0c3a-76fb-4e7f-83c2-a7fd166db4cf",
      "name": "🔄 Loop Over Companies",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        848,
        288
      ]
    },
    {
      "id": "1a681017-7528-44b3-a455-5a1f41c6637a",
      "name": "🔍 Fetch Tech Detections",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1056,
        304
      ]
    },
    {
      "id": "f7f4be7f-1935-46f0-ace0-67ddc758957a",
      "name": "⚙️ Check Competitor Tech",
      "type": "n8n-nodes-base.code",
      "position": [
        1328,
        304
      ]
    },
    {
      "id": "7572827b-b396-41dc-924e-07840e6209be",
      "name": "❓ Competitor Tech Found?",
      "type": "n8n-nodes-base.if",
      "position": [
        1552,
        304
      ]
    },
    {
      "id": "36b27e8b-c2c6-482a-b95a-30c6c1e1c6bf",
      "name": "⚙️ Extract AE Email",
      "type": "n8n-nodes-base.code",
      "position": [
        1840,
        288
      ]
    },
    {
      "id": "524bff8f-7770-4d52-b3ec-9ae801a25fdc",
      "name": "📧 Gmail Alert to AE",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2048,
        288
      ]
    }
  ],
  "connections": {
    "📧 Gmail Alert to AE": {
      "main": [
        [
          {
            "node": "🔄 Loop Over Companies",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "⚙️ Extract AE Email": {
      "main": [
        [
          {
            "node": "📧 Gmail Alert to AE",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🔄 Loop Over Companies": {
      "main": [
        [],
        [
          {
            "node": "🔍 Fetch Tech Detections",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "⏰ Daily Schedule Trigger": {
      "main": [
        [
          {
            "node": "📂 Read Company Watchlist",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "❓ Competitor Tech Found?": {
      "main": [
        [
          {
            "node": "⚙️ Extract AE Email",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "🔄 Loop Over Companies",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🔍 Fetch Tech Detections": {
      "main": [
        [
          {
            "node": "⚙️ Check Competitor Tech",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📂 Read Company Watchlist": {
      "main": [
        [
          {
            "node": "🔄 Loop Over Companies",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "⚙️ Check Competitor Tech": {
      "main": [
        [
          {
            "node": "❓ Competitor Tech Found?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}