{
  "name": "Monitor eBay deals with GPT-4 scoring,Decodo & Telegram notifications",
  "nodes": [
    {
      "id": "01fb9a7a-bca2-417a-ba7c-8305afce9e87",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        48,
        268
      ]
    },
    {
      "id": "8cfb215d-975c-4f69-8869-902c134bc4b6",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        784,
        304
      ]
    },
    {
      "id": "e895bafe-82b3-49d6-9345-6f96892fc0dd",
      "name": "Code in JavaScript",
      "type": "n8n-nodes-base.code",
      "position": [
        1248,
        320
      ]
    },
    {
      "id": "81532dcb-26f5-4b6a-abe5-3a0719956a2b",
      "name": "Send a text message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1744,
        364
      ]
    },
    {
      "id": "3d7f517f-b1a2-453b-a52a-6b628f78b01d",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        1424,
        352
      ]
    },
    {
      "id": "4a4d3e65-b267-45ea-b919-ec191a45b5ca",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        48,
        464
      ]
    },
    {
      "id": "b99e0a63-9200-4e88-8175-dcc0b1057ad2",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        -80
      ],
      "parameters": {
        "width": null,
        "height": 1040,
        "content": "## What this workflow does\nThis workflow automatically monitors **eBay Deals** and sends **Telegram alerts** when relevant, high-quality deals are detected.\n\nIt combines:\n- **Web scraping with Decodo*"
      }
    },
    {
      "id": "5909fa1f-93b5-4250-82b5-00e9b471ad5e",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        304,
        128
      ],
      "parameters": {
        "width": 256,
        "height": 112,
        "content": "The workflow starts manually or on a schedule.\nDecodo is used to scrape the eBay Deals page reliably, handling proxies and anti-bot protections."
      }
    },
    {
      "id": "45ff29ea-83a1-4f66-aea1-6c8c75d49fbe",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        784,
        128
      ],
      "parameters": {
        "width": 336,
        "height": 96,
        "content": "Raw HTML is reduced using JavaScript to extract only key product data.\nAn AI Agent enriches each item with category classification and deal quality scoring."
      }
    },
    {
      "id": "8d6e218d-b169-4302-9e56-653a6e594cd0",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1264,
        128
      ],
      "parameters": {
        "width": null,
        "height": 128,
        "content": "Business rules are applied using price and score conditions.\nOnly high-quality deals pass the filter and trigger a Telegram alert."
      }
    },
    {
      "id": "dfc6b969-e588-403c-afdc-13259c754669",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        640,
        560
      ]
    },
    {
      "id": "cb3da9a8-f39c-4931-89b1-35cc9c8a32e6",
      "name": "Code in JavaScript1",
      "type": "n8n-nodes-base.code",
      "position": [
        496,
        364
      ]
    },
    {
      "id": "0ef01345-c99a-4fa8-bbba-6f2135016305",
      "name": "Decodo",
      "type": "@decodo/n8n-nodes-decodo.decodo",
      "position": [
        272,
        364
      ]
    },
    {
      "id": "44c2c592-6541-4263-a3cf-69197987323e",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        1136,
        416
      ]
    },
    {
      "id": "0e045b88-6180-48e7-a5b1-b8766fed4c27",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1952,
        -32
      ],
      "parameters": {
        "width": 656,
        "height": 624,
        "content": "##  Output\n![txt](https://ik.imagekit.io/agbb7sr41/telegram_output.png)"
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Send a text message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Code in JavaScript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Decodo": {
      "main": [
        [
          {
            "node": "Code in JavaScript1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Decodo",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript1": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Decodo",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}