{
  "name": "Send 24-hour Hacker News trends to Telegram with OpenRouter AI translation",
  "nodes": [
    {
      "id": "57574ba6-49e8-4d19-b7d0-1ea4a7b747af",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        352,
        -224
      ],
      "parameters": {
        "width": 592,
        "height": 352,
        "content": "# Hacker News Trend Tracking\rTrack popular via https://hn.algolia.com/api\r\r## Sliding Window\rTimer (Trigger): Run every 4 hours. Lookback: Fetch data from the past 24 hours.\r\r- Define a rule—\"Posts pu"
      }
    },
    {
      "id": "6a607aac-b15f-46d8-901c-a53d9099a08d",
      "name": "Filter",
      "type": "n8n-nodes-base.filter",
      "position": [
        1200,
        176
      ]
    },
    {
      "id": "f0fbb4ac-164c-483c-b0eb-2bfedab2e2a0",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        368,
        176
      ]
    },
    {
      "id": "ba782266-418a-4d19-90bf-255f0f955cb9",
      "name": "Send a text message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2096,
        176
      ]
    },
    {
      "id": "fd96243b-229e-436d-91ea-b31438f175a8",
      "name": "OpenRouter Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        1248,
        416
      ]
    },
    {
      "id": "7eaefa3f-577d-4809-895b-49d03e23495a",
      "name": "Algolia parameters",
      "type": "n8n-nodes-base.code",
      "position": [
        576,
        176
      ]
    },
    {
      "id": "b346f0d8-f5c1-4161-af9f-75059735f0f4",
      "name": "Recalculate popularity score",
      "type": "n8n-nodes-base.code",
      "position": [
        992,
        176
      ]
    },
    {
      "id": "105d6b96-622a-4956-bf77-77c69b814ef0",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1376,
        352
      ],
      "parameters": {
        "width": 272,
        "height": null,
        "content": "### 👆 Replace with your target language\nMust be Spanish, French, Chinese, Japanese..."
      }
    },
    {
      "id": "19c8577a-7191-45c5-b6b8-60a8be70ed5d",
      "name": "Translate",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1376,
        176
      ]
    },
    {
      "id": "aeefe4c7-1603-4e57-b7a0-d373dcddf67d",
      "name": "Request Algolia",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        784,
        176
      ]
    },
    {
      "id": "48997584-e40b-4a2d-bcaa-f1de24a6ad6b",
      "name": "Merge translation results",
      "type": "n8n-nodes-base.code",
      "position": [
        1680,
        176
      ]
    },
    {
      "id": "28dba153-23d5-4c12-a786-605cb236040d",
      "name": "Combine message templates",
      "type": "n8n-nodes-base.code",
      "position": [
        1872,
        176
      ]
    },
    {
      "id": "ff3c82ac-4846-4744-96a3-0d70c20008be",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2096,
        336
      ],
      "parameters": {
        "width": 448,
        "height": 208,
        "content": "### 👆 Replace this with your ChatID\n1. **Credentials**: Create a bot via @BotFather and save the Token in the credentials.\n2. **Chat ID**:\n   - For **Personal**: Search @userinfobot to get your ID.\n  "
      }
    }
  ],
  "connections": {
    "Filter": {
      "main": [
        [
          {
            "node": "Translate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Translate": {
      "main": [
        [
          {
            "node": "Merge translation results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Request Algolia": {
      "main": [
        [
          {
            "node": "Recalculate popularity score",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Algolia parameters",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Algolia parameters": {
      "main": [
        [
          {
            "node": "Request Algolia",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Translate",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Combine message templates": {
      "main": [
        [
          {
            "node": "Send a text message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge translation results": {
      "main": [
        [
          {
            "node": "Combine message templates",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Recalculate popularity score": {
      "main": [
        [
          {
            "node": "Filter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}