{
  "name": "📰 EU sustainability news curation with RSS, GPT, Gmail, ElevenLabs & Telegram",
  "nodes": [
    {
      "id": "5d229b75-1fe4-4bf5-99be-123b26bf9949",
      "name": "Loop Over News",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        112,
        -336
      ]
    },
    {
      "id": "a023f0eb-a572-484d-9806-f4a8fe2ac93b",
      "name": "Trigger: 09:00 am",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -800,
        -304
      ]
    },
    {
      "id": "b9898c31-7ab2-48c7-a730-af24b9351e80",
      "name": "RSS News EU",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        -608,
        -304
      ]
    },
    {
      "id": "4de2666f-d613-4248-b37b-8592fe62a172",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        752,
        -320
      ]
    },
    {
      "id": "54f09ffb-d95c-4df8-bd30-318e9d0836d4",
      "name": "Send the digest",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -272,
        48
      ]
    },
    {
      "id": "b453a6c4-7291-417e-985d-1d046419346b",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -832,
        -544
      ],
      "parameters": {
        "width": 860,
        "height": 444,
        "content": "## 1. Fetch the latest EU news from RSS\n"
      }
    },
    {
      "id": "4fe6b4b6-389a-4bce-a75f-4f091e5b0dea",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        64,
        -544
      ],
      "parameters": {
        "width": 1036,
        "height": 444,
        "content": "## 2. Select the relevant news using an AI Classifier\n"
      }
    },
    {
      "id": "ca887dd6-be25-4d13-a986-020823bbf583",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -832,
        -80
      ],
      "parameters": {
        "width": 864,
        "height": 244,
        "content": "## 3. Build the daily digest and send it by email"
      }
    },
    {
      "id": "b7b964e5-148b-447a-a003-13d26f991b48",
      "name": "Archived News",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        -608,
        -448
      ]
    },
    {
      "id": "b8296e41-8ff6-4367-8441-bb8fe6631f1a",
      "name": "Add Archived Guid(s)",
      "type": "n8n-nodes-base.merge",
      "position": [
        -272,
        -320
      ]
    },
    {
      "id": "2f9f60b8-d9c5-4479-9272-62937178110d",
      "name": "List of guid(s) archived",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -432,
        -448
      ]
    },
    {
      "id": "48441fbd-8c6a-4cec-a590-1c4f78da1bda",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1520,
        -544
      ],
      "parameters": {
        "width": 636,
        "height": 620,
        "content": "## AI-Powered EU News Digest by Topic\n\n### How it works\n1. Daily triggers to fetch latest news using RSS feed of the **Council of the European Union**\n2. Archived news are filtered out to avoid duplic"
      }
    },
    {
      "id": "92f4c68d-f73b-4ba6-88bb-91a91b5e5956",
      "name": "Today's News",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        -800,
        48
      ]
    },
    {
      "id": "239890a0-8634-4ab8-8cf5-35e22731b113",
      "name": "Add News",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        944,
        -336
      ]
    },
    {
      "id": "63c17be1-ffbc-43f3-80e5-769a14449cd2",
      "name": "Classify News based on a Topic",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        464,
        -320
      ]
    },
    {
      "id": "a7861a39-fac3-452a-a3de-d15b9820bbe2",
      "name": "Topic Config",
      "type": "n8n-nodes-base.set",
      "position": [
        320,
        -320
      ]
    },
    {
      "id": "e025cfca-6753-455e-8a4d-08e3872e92d7",
      "name": "Avoid Duplicates",
      "type": "n8n-nodes-base.if",
      "position": [
        -96,
        -320
      ]
    },
    {
      "id": "af38b182-8398-46cc-8f1b-f0b5243a5357",
      "name": "Generate a Digest in HTML",
      "type": "n8n-nodes-base.code",
      "position": [
        -512,
        48
      ]
    },
    {
      "id": "87ca7616-168b-4f7e-bd3b-4cc9580f3198",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        304,
        336
      ]
    },
    {
      "id": "a6a23f06-1a59-4d39-bd35-71d3899f1f65",
      "name": "Create Daily Voice Summary",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        352,
        176
      ]
    },
    {
      "id": "143a112b-3b6d-4e38-8d54-c563ec5e622f",
      "name": "Send Voice Summary",
      "type": "n8n-nodes-base.telegram",
      "position": [
        896,
        176
      ]
    },
    {
      "id": "5f432783-94ed-47c4-b28e-4b3c695887c9",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        64,
        80
      ],
      "parameters": {
        "width": 1056,
        "height": 388,
        "content": "## 4. Send a 30-second voice message summarizing the news using titles"
      }
    },
    {
      "id": "b59a890e-9a79-4a8b-8e6e-9b31716aaf75",
      "name": "Generate Voice Message",
      "type": "@elevenlabs/n8n-nodes-elevenlabs.elevenLabs",
      "position": [
        688,
        176
      ]
    },
    {
      "id": "bfd9b83b-0350-41b7-a02e-fe11de91bb6d",
      "name": "Aggregate Titles",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        128,
        176
      ]
    },
    {
      "id": "b4c633f6-c0e3-4104-b0ea-d9d400e3bb3b",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1520,
        112
      ],
      "parameters": {
        "width": 656,
        "height": 368,
        "content": "@[youtube](vNavNGRqcK4)"
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Add News",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RSS News EU": {
      "main": [
        [
          {
            "node": "Add Archived Guid(s)",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Today's News": {
      "main": [
        [
          {
            "node": "Generate a Digest in HTML",
            "type": "main",
            "index": 0
          },
          {
            "node": "Aggregate Titles",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Topic Config": {
      "main": [
        [
          {
            "node": "Classify News based on a Topic",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Archived News": {
      "main": [
        [
          {
            "node": "List of guid(s) archived",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate Titles": {
      "main": [
        [
          {
            "node": "Create Daily Voice Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Create Daily Voice Summary",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Trigger: 09:00 am": {
      "main": [
        [
          {
            "node": "Today's News",
            "type": "main",
            "index": 0
          },
          {
            "node": "RSS News EU",
            "type": "main",
            "index": 0
          },
          {
            "node": "Archived News",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add Archived Guid(s)": {
      "main": [
        [
          {
            "node": "Avoid Duplicates",
            "type": "main",
            "index": 0
          },
          {
            "node": "Generate a Digest in HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Voice Message": {
      "main": [
        [
          {
            "node": "Send Voice Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "List of guid(s) archived": {
      "main": [
        [
          {
            "node": "Add Archived Guid(s)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate a Digest in HTML": {
      "main": [
        [
          {
            "node": "Send the digest",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Daily Voice Summary": {
      "main": [
        [
          {
            "node": "Generate Voice Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Classify News based on a Topic": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}