{
  "name": "Create daily Israeli economic newsletter using RSS and GPT-4o",
  "nodes": [
    {
      "id": "6d0b95c8-db4f-4bc1-b51b-87da0b1cbca9",
      "name": "Data Collection",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        820,
        3860
      ],
      "parameters": {
        "width": 380,
        "height": 620,
        "content": "# Data Collection\nFetches latest news articles from two RSS sources: Calcalist and Mako"
      }
    },
    {
      "id": "62a73f4d-229f-44fa-891d-c36dc50bad99",
      "name": "Data Processing",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1260,
        3860
      ],
      "parameters": {
        "width": 740,
        "height": 360,
        "content": "# Data Processing\nFilters, sorts and prepares news articles for AI selection"
      }
    },
    {
      "id": "13092778-b6a3-4436-b69d-f67245999ffe",
      "name": "AI Selection",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2020,
        3860
      ],
      "parameters": {
        "width": 400,
        "height": 360,
        "content": "# AI Selection\nUses GPT-4o to select the top 5 most relevant articles for a senior executive"
      }
    },
    {
      "id": "b1b25c3b-976e-41eb-a82d-e0571ba9b2f2",
      "name": "Email Generation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1260,
        4260
      ],
      "parameters": {
        "width": 1160,
        "height": 520,
        "content": "# Email Generation\nCreates and sends formatted HTML digest email with selected articles"
      }
    },
    {
      "id": "d846f068-37c2-48d2-96cb-991a42ecadf4",
      "name": "Send Daily News",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        2220,
        4620
      ]
    },
    {
      "id": "1c4ae1dd-bf0e-4726-b106-6b1b868aae2e",
      "name": "Get Date",
      "type": "n8n-nodes-base.function",
      "position": [
        1300,
        4640
      ]
    },
    {
      "id": "162bce34-bf3f-4f05-a9eb-dd2c3f6068de",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        1480,
        4620
      ]
    },
    {
      "id": "6444d6ad-efc1-4fec-be03-f9822624b5a6",
      "name": "Create HTML",
      "type": "n8n-nodes-base.html",
      "position": [
        2220,
        4360
      ]
    },
    {
      "id": "cfac2998-11ba-4665-9457-1a0669bf42b0",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        2040,
        4360
      ]
    },
    {
      "id": "dd36ab14-61dc-4b85-af3b-796be18a3169",
      "name": "Clean Text",
      "type": "n8n-nodes-base.set",
      "position": [
        1860,
        4360
      ]
    },
    {
      "id": "ce8a5da1-9ad0-4eca-8fcc-ea744738ac4e",
      "name": "Extract Text",
      "type": "n8n-nodes-base.html",
      "position": [
        1680,
        4360
      ]
    },
    {
      "id": "c8f061f1-57ad-4594-8ff1-baa7f0ef1427",
      "name": "Fetch HTML",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1480,
        4360
      ]
    },
    {
      "id": "95b33857-9f20-4ba4-aae0-67a3899c222a",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1300,
        4360
      ]
    },
    {
      "id": "7433ab1d-e162-469e-951d-af241c714e34",
      "name": "ChatGPT 4o",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        2060,
        4060
      ]
    },
    {
      "id": "28daaadd-426b-485a-b128-4660491ed6a9",
      "name": "Clean List",
      "type": "n8n-nodes-base.code",
      "position": [
        1860,
        4060
      ]
    },
    {
      "id": "9e041ef2-b440-447e-b3f3-fc3e846cf669",
      "name": "Sort List",
      "type": "n8n-nodes-base.sort",
      "position": [
        1680,
        4060
      ]
    },
    {
      "id": "781cc3bd-b78b-4a17-8886-e0fbb82c378a",
      "name": "Remove NaN",
      "type": "n8n-nodes-base.filter",
      "position": [
        1480,
        4060
      ]
    },
    {
      "id": "d0084e60-4c9d-4f3e-944c-a81e7dabae9c",
      "name": "Merged RSS",
      "type": "n8n-nodes-base.merge",
      "position": [
        1300,
        4060
      ]
    },
    {
      "id": "8178972f-e0c7-462a-8d66-853118756545",
      "name": "Edit Fields - Mako",
      "type": "n8n-nodes-base.set",
      "position": [
        1060,
        4040
      ]
    },
    {
      "id": "2c8f4766-5338-4319-98f9-1ab9b460b4e5",
      "name": "Edit Fields - Calcalist",
      "type": "n8n-nodes-base.set",
      "position": [
        1060,
        4320
      ]
    },
    {
      "id": "cd6173fc-2bb7-40b2-950b-8f09b0be442f",
      "name": "RSS - Calcalist",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        840,
        4320
      ]
    },
    {
      "id": "06c96a26-485b-4ca8-ab9e-d45da69f9d3d",
      "name": "RSS - Mako",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        840,
        4040
      ]
    },
    {
      "id": "a3fef1a0-8e27-4d55-865b-daea95fe2b71",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        500,
        4320
      ]
    }
  ],
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Send Daily News",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Date": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Create HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sort List": {
      "main": [
        [
          {
            "node": "Clean List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Fetch HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ChatGPT 4o": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Clean List": {
      "main": [
        [
          {
            "node": "ChatGPT 4o",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Clean Text": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch HTML": {
      "main": [
        [
          {
            "node": "Extract Text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merged RSS": {
      "main": [
        [
          {
            "node": "Remove NaN",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RSS - Mako": {
      "main": [
        [
          {
            "node": "Edit Fields - Mako",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Remove NaN": {
      "main": [
        [
          {
            "node": "Sort List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create HTML": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Text": {
      "main": [
        [
          {
            "node": "Clean Text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RSS - Calcalist": {
      "main": [
        [
          {
            "node": "Edit Fields - Calcalist",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "RSS - Mako",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Date",
            "type": "main",
            "index": 0
          },
          {
            "node": "RSS - Calcalist",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields - Mako": {
      "main": [
        [
          {
            "node": "Merged RSS",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields - Calcalist": {
      "main": [
        [
          {
            "node": "Merged RSS",
            "type": "main",
            "index": 1
          }
        ]
      ]
    }
  }
}