{
  "name": "Get a daily financial news digest on Telegram with Mistral and RSS feeds",
  "nodes": [
    {
      "id": "293a2733-fefb-4587-a7fd-c503effb4a3a",
      "name": "Digest Complete",
      "type": "n8n-nodes-base.set",
      "position": [
        2848,
        -144
      ]
    },
    {
      "id": "a4144121-78d9-46b9-9243-624c3c74e701",
      "name": "Log Digest to Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2624,
        -144
      ]
    },
    {
      "id": "e9cc7653-2c62-48a4-b842-4d70411f95ba",
      "name": "Send to Telegram",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2224,
        -128
      ]
    },
    {
      "id": "756014c1-876b-45c2-a264-1a01dd05767a",
      "name": "Extract Digest",
      "type": "n8n-nodes-base.set",
      "position": [
        1872,
        -128
      ]
    },
    {
      "id": "437127c2-f8d7-4605-9807-67875f422eb0",
      "name": "Generate Digest (NIM)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1648,
        -80
      ]
    },
    {
      "id": "821a7e7a-c6f8-41a8-b808-8d4a63ce2e8d",
      "name": "No Stories Alert",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1552,
        368
      ]
    },
    {
      "id": "10687201-bec2-4505-9479-76a4be5770c6",
      "name": "Any Stories Today?",
      "type": "n8n-nodes-base.if",
      "position": [
        960,
        -64
      ]
    },
    {
      "id": "5ce23e1a-ae6c-460e-a91f-dd143074fc7f",
      "name": "📋 RSS Feed Config1",
      "type": "n8n-nodes-base.set",
      "position": [
        400,
        -64
      ]
    },
    {
      "id": "f8b220ba-ff59-4654-9e77-b3eb2404bcfd",
      "name": "⏰ Schedule Trigger1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        192,
        -64
      ]
    },
    {
      "id": "39afbb3e-6bf5-46d0-a38a-31807633428a",
      "name": "Generate Feed Items",
      "type": "n8n-nodes-base.code",
      "position": [
        640,
        -64
      ]
    },
    {
      "id": "7029c4a0-787c-46e5-9e7c-3b9c807ce480",
      "name": "Loop Over Feeds",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        944,
        -272
      ]
    },
    {
      "id": "7e21c963-8d51-4c54-a074-416c5db63e45",
      "name": "Read RSS Feed",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        1328,
        -384
      ]
    },
    {
      "id": "6b0de010-3697-4f15-8576-b873e9bc26c4",
      "name": "Tag Articles",
      "type": "n8n-nodes-base.code",
      "position": [
        1680,
        -320
      ]
    },
    {
      "id": "852bc0e4-c1b9-4f0e-b90c-2e3689cb150b",
      "name": "Aggregate and Rank",
      "type": "n8n-nodes-base.code",
      "position": [
        1808,
        288
      ]
    },
    {
      "id": "112bfa39-9a02-43d8-819c-74cf9daa40e4",
      "name": "Is Processing Done?",
      "type": "n8n-nodes-base.if",
      "position": [
        2000,
        48
      ]
    },
    {
      "id": "6f8bd1f6-da0f-4399-bd35-ba83e9961238",
      "name": "Build NIM Payload",
      "type": "n8n-nodes-base.code",
      "position": [
        1440,
        -80
      ]
    },
    {
      "id": "3e26bf8f-6404-42f8-9a7e-9538cb9e7053",
      "name": "Build Telegram Payload",
      "type": "n8n-nodes-base.code",
      "position": [
        2048,
        -128
      ]
    },
    {
      "id": "f24db22a-40e6-423e-99df-9d296d455c32",
      "name": "Telegram Send OK?",
      "type": "n8n-nodes-base.if",
      "position": [
        2400,
        -128
      ]
    },
    {
      "id": "4fad0fa3-c295-415a-8475-9d8baf0f67c3",
      "name": "Build Error Log Row",
      "type": "n8n-nodes-base.set",
      "position": [
        2448,
        208
      ]
    },
    {
      "id": "f1524be6-cf67-41e2-a2d6-28f4d9e4cf90",
      "name": "Log Error to Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2640,
        208
      ]
    },
    {
      "id": "f801e595-cbf0-4594-8bea-3e80b03874fa",
      "name": "Digest Failed",
      "type": "n8n-nodes-base.set",
      "position": [
        2848,
        208
      ]
    },
    {
      "id": "024b6d54-1b76-4a92-8f76-49922b78f7ce",
      "name": "Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -560,
        -544
      ],
      "parameters": {
        "width": 680,
        "height": 712,
        "content": "## Overview\n\n**Who it's for:** Operators, investors, analysts, founders, and solo builders who want a daily finance news digest delivered to Telegram without manually checking multiple RSS feeds.\n\n**W"
      }
    },
    {
      "id": "c2af8166-03eb-4214-90ca-1c450077b426",
      "name": "Step 1 — Config",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        176,
        -816
      ],
      "parameters": {
        "width": 644,
        "height": 1100,
        "content": "## Step 1 — Config\n\nOpen `RSS Feed Config1` and update these values before testing:\n\n- `rssFeeds` — add, remove, or replace feed URLs\n- `maxStoriesInDigest` — number of stories to include in each dige"
      }
    },
    {
      "id": "36b62d2a-7e5a-47d5-9d2d-e0c37c192f5d",
      "name": "Step 2 — Credentials",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        864,
        -832
      ],
      "parameters": {
        "width": 972,
        "height": 1108,
        "content": "## Step 2 — Credentials\n\nConnect these credentials before going live:\n\n- **HTTP Header Auth** on `Generate Digest (NIM)`\n  - Header name: `Authorization`\n  - Value: `Bearer YOUR_NVIDIA_API_KEY`\n\n- **G"
      }
    },
    {
      "id": "b107921c-7442-433a-b912-f32e546cadec",
      "name": "Optional — Telegram Channel Setup",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1888,
        -448
      ],
      "parameters": {
        "width": 620,
        "height": 288,
        "content": "## Optional — Telegram Channel Setup\n\nUse a personal chat ID for testing first.\n\nFor a channel:\n1. Create the channel\n2. Add the bot as an admin\n3. Set `telegramChatId` to `@channelname`\n\nAll Telegram"
      }
    },
    {
      "id": "09c70b5c-0f85-4fc4-9c4f-d3c0cf4636a7",
      "name": "Step 3 — Delivery",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2432,
        384
      ],
      "parameters": {
        "width": 540,
        "height": 466,
        "content": "## Step 3 — Delivery\n\nThis workflow writes to Google Sheets and sends the digest to Telegram.\n\nBefore going live:\n- Create a Google Sheet with two tabs:\n  - `Digest_Log`\n  - `Error_Log`\n- Make sure `g"
      }
    },
    {
      "id": "fd69712f-4f83-4370-b146-39ee2729a996",
      "name": "Step 4 — Activate",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3056,
        -112
      ],
      "parameters": {
        "width": 388,
        "height": 380,
        "content": "## Step 4 — Activate\n\nBefore activating the schedule:\n\n- Run the workflow manually once\n- Confirm the digest reaches Telegram\n- Confirm `Digest_Log` receives a new row\n- Confirm story count and titles"
      }
    }
  ],
  "connections": {
    "Tag Articles": {
      "main": [
        [
          {
            "node": "Aggregate and Rank",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read RSS Feed": {
      "main": [
        [
          {
            "node": "Tag Articles",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Digest": {
      "main": [
        [
          {
            "node": "Build Telegram Payload",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Feeds": {
      "main": [
        [],
        [
          {
            "node": "Read RSS Feed",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send to Telegram": {
      "main": [
        [
          {
            "node": "Telegram Send OK?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build NIM Payload": {
      "main": [
        [
          {
            "node": "Generate Digest (NIM)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Send OK?": {
      "main": [
        [
          {
            "node": "Log Digest to Sheets",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Build Error Log Row",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate and Rank": {
      "main": [
        [
          {
            "node": "Is Processing Done?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Any Stories Today?": {
      "main": [
        [
          {
            "node": "Build NIM Payload",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "No Stories Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Error Log Row": {
      "main": [
        [
          {
            "node": "Log Error to Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Feed Items": {
      "main": [
        [
          {
            "node": "Loop Over Feeds",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Processing Done?": {
      "main": [
        [
          {
            "node": "Any Stories Today?",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Loop Over Feeds",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Error to Sheets": {
      "main": [
        [
          {
            "node": "Digest Failed",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Digest to Sheets": {
      "main": [
        [
          {
            "node": "Digest Complete",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Digest (NIM)": {
      "main": [
        [
          {
            "node": "Extract Digest",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "⏰ Schedule Trigger1": {
      "main": [
        [
          {
            "node": "📋 RSS Feed Config1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📋 RSS Feed Config1": {
      "main": [
        [
          {
            "node": "Generate Feed Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Telegram Payload": {
      "main": [
        [
          {
            "node": "Send to Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}