{
  "name": "Analyze crypto news sentiment for any token with GPT-4o and Telegram alerts",
  "nodes": [
    {
      "id": "1d71285d-a4bf-456a-a356-b9fa8b74c9d3",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1020,
        1220
      ]
    },
    {
      "id": "300cab6c-63ee-4271-a63e-b3afb135bdcf",
      "name": "Set Query",
      "type": "n8n-nodes-base.set",
      "position": [
        -460,
        1040
      ]
    },
    {
      "id": "d7307bc3-f7c2-4db1-8674-5c6025ce7e2a",
      "name": "Crypto News & Sentiment Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -960,
        1040
      ]
    },
    {
      "id": "c4ad1805-cb48-45a3-b850-4960f59299f0",
      "name": "RSS Cointelegraph",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        160,
        200
      ]
    },
    {
      "id": "5fc71ef5-a376-41a0-9213-15cc4527b049",
      "name": "RSS Bitcoinmagazine",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        160,
        360
      ]
    },
    {
      "id": "bdbf7bab-c3a6-4f65-bbb9-a6cd83763dc5",
      "name": "RSS Coindesk",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        160,
        520
      ]
    },
    {
      "id": "836d7edd-62c5-4819-aa30-c48c4b1f005d",
      "name": "RSS Bitcoinist",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        160,
        680
      ]
    },
    {
      "id": "a0778852-e86b-41e5-a3f8-6d4352e397a1",
      "name": "RSS Newsbtc",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        160,
        840
      ]
    },
    {
      "id": "d5c5cc4f-ef15-40af-be33-31ce2dbdc45e",
      "name": "RSS Cryptopotato",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        160,
        1200
      ]
    },
    {
      "id": "5f02ad60-9b0a-49fc-afd7-558ac5aeee2d",
      "name": "RSS 99bitcoins",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        160,
        1380
      ]
    },
    {
      "id": "cc5373ab-931a-4b95-a1d4-6d21fa18273a",
      "name": "RSS Cryptobriefing",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        160,
        1560
      ]
    },
    {
      "id": "e5baa2ef-0455-42b0-a597-dedd551ae1aa",
      "name": "RSS Crypto.news",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        160,
        1720
      ]
    },
    {
      "id": "2cb96040-0e47-41b5-9c32-8362d397333c",
      "name": "Merge All Articles",
      "type": "n8n-nodes-base.merge",
      "position": [
        840,
        880
      ]
    },
    {
      "id": "a1f53681-504a-445a-9aa1-35c40f174e0c",
      "name": "Filter by Query",
      "type": "n8n-nodes-base.code",
      "position": [
        1080,
        1020
      ]
    },
    {
      "id": "3b886f03-884f-4c9a-bb74-46be78c941fe",
      "name": "Build Prompt",
      "type": "n8n-nodes-base.code",
      "position": [
        1400,
        1020
      ]
    },
    {
      "id": "936b9c46-0ea4-498a-9dbb-b4f6b62cf70f",
      "name": "Summarize News & Sentiment (GPT-4o)",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1680,
        1020
      ]
    },
    {
      "id": "2c1b4212-3675-416d-a0f4-f1bce7b1581b",
      "name": "Prepare Telegram Message",
      "type": "n8n-nodes-base.set",
      "position": [
        2100,
        1020
      ]
    },
    {
      "id": "ae4eacc3-281d-4c40-a1c8-fbd580fb49a8",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        900
      ],
      "parameters": {
        "width": 600,
        "height": 460,
        "content": "##  Extract Keyword \nThis AI agent parses the user input and returns a single-word keyword to help match relevant news articles."
      }
    },
    {
      "id": "ea8734d6-5f17-4587-88aa-fcd342a563c5",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": 460,
        "height": 1980,
        "content": "## News Aggregators\nPulls articles from major crypto news sources. You can add more RSS feeds here to expand coverage."
      }
    },
    {
      "id": "214d3fa9-d3f2-4e8a-bfab-5d4deb2881cf",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        760,
        680
      ],
      "parameters": {
        "width": 480,
        "height": 760,
        "content": "## Merge & Filter News\nCombines all RSS articles and filters them using the extracted keyword to match only relevant results."
      }
    },
    {
      "id": "c6942449-1e0b-4bca-b1e0-411a3deaf26d",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1320,
        840
      ],
      "parameters": {
        "width": 260,
        "height": 360,
        "content": "## Prepare AI Prompt\nConstructs the input prompt for GPT-4o with a list of filtered articles. Output includes summary, sentiment, and article links."
      }
    },
    {
      "id": "7f401bd0-f14d-49d6-9d4a-fcb6e01bd64c",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1640,
        800
      ],
      "parameters": {
        "width": 340,
        "height": 440,
        "content": "## Summarize News & Sentiment (GPT-4o)\nUses OpenAI GPT-4o to generate a concise summary of the news, analyze market sentiment, and return formatted results.\n\n"
      }
    },
    {
      "id": "f60cb8e4-8d3f-4112-a200-6affb3b80cb3",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2040,
        760
      ],
      "parameters": {
        "width": null,
        "height": 460,
        "content": "## Format for Telegram\n\nExtracts the AI summary and prepares it for Telegram delivery. Change the variable if you want to include other data.\n\n\n"
      }
    },
    {
      "id": "e19e48b4-36cb-4b0b-87c5-0bae7f6068d7",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -1440,
        1040
      ]
    },
    {
      "id": "7fae635b-2c8d-44e5-ac2a-b8a458653905",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2440,
        1020
      ]
    },
    {
      "id": "96b562cd-1a55-40ef-aa0c-5d553d7f9818",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1500,
        740
      ],
      "parameters": {
        "width": null,
        "height": 480,
        "content": "## Webhook Trigger\nNode: Webhook\nAccepts **incoming HTTP POST requests**.\nExpected body format:\n\njson\n{ \"message\": \"<symbol>\" }\n\nThis kicks off the **full news + sentiment analysis process** for a giv"
      }
    },
    {
      "id": "8422e6bb-320e-4b5b-b392-2ba3adb215b7",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2380,
        760
      ],
      "parameters": {
        "width": null,
        "height": 480,
        "content": "## Return Results to Caller\nNode: Respond to Webhook\n**Sends the final formatted message** back to the parent workflow that triggered the call."
      }
    },
    {
      "id": "f323030f-c92f-4bff-a5df-f498aa70d9c4",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2780,
        -360
      ],
      "parameters": {
        "width": 1340,
        "height": 2360,
        "content": "# 📰 Binance SM News and Sentiment Analyst Webhook Tool – Documentation\n\nA sentiment intelligence sub-agent that aggregates crypto news from top-tier RSS feeds, filters it based on a given token, and g"
      }
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Crypto News & Sentiment Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Query": {
      "main": [
        [
          {
            "node": "RSS Cointelegraph",
            "type": "main",
            "index": 0
          },
          {
            "node": "RSS Bitcoinmagazine",
            "type": "main",
            "index": 0
          },
          {
            "node": "RSS Coindesk",
            "type": "main",
            "index": 0
          },
          {
            "node": "RSS Bitcoinist",
            "type": "main",
            "index": 0
          },
          {
            "node": "RSS Newsbtc",
            "type": "main",
            "index": 0
          },
          {
            "node": "RSS Cryptopotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "RSS 99bitcoins",
            "type": "main",
            "index": 0
          },
          {
            "node": "RSS Cryptobriefing",
            "type": "main",
            "index": 0
          },
          {
            "node": "RSS Crypto.news",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RSS Newsbtc": {
      "main": [
        [
          {
            "node": "Merge All Articles",
            "type": "main",
            "index": 4
          }
        ]
      ]
    },
    "Build Prompt": {
      "main": [
        [
          {
            "node": "Summarize News & Sentiment (GPT-4o)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RSS Coindesk": {
      "main": [
        [
          {
            "node": "Merge All Articles",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "RSS 99bitcoins": {
      "main": [
        [
          {
            "node": "Merge All Articles",
            "type": "main",
            "index": 7
          }
        ]
      ]
    },
    "RSS Bitcoinist": {
      "main": [
        [
          {
            "node": "Merge All Articles",
            "type": "main",
            "index": 3
          }
        ]
      ]
    },
    "Filter by Query": {
      "main": [
        [
          {
            "node": "Build Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RSS Crypto.news": {
      "main": [
        [
          {
            "node": "Merge All Articles",
            "type": "main",
            "index": 9
          }
        ]
      ]
    },
    "RSS Cryptopotato": {
      "main": [
        [
          {
            "node": "Merge All Articles",
            "type": "main",
            "index": 6
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Crypto News & Sentiment Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "RSS Cointelegraph": {
      "main": [
        [
          {
            "node": "Merge All Articles",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge All Articles": {
      "main": [
        [
          {
            "node": "Filter by Query",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RSS Cryptobriefing": {
      "main": [
        [
          {
            "node": "Merge All Articles",
            "type": "main",
            "index": 8
          }
        ]
      ]
    },
    "RSS Bitcoinmagazine": {
      "main": [
        [
          {
            "node": "Merge All Articles",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Prepare Telegram Message": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Crypto News & Sentiment Agent": {
      "main": [
        [
          {
            "node": "Set Query",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarize News & Sentiment (GPT-4o)": {
      "main": [
        [
          {
            "node": "Prepare Telegram Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}