{
  "name": "Analyze crypto market sentiment and send Discord alerts with Gemini Gemini 2.5",
  "nodes": [
    {
      "id": "0bf0b63e-0b90-4774-9969-4e1c5b27a679",
      "name": "Sticky Note - Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -640,
        -16
      ],
      "parameters": {
        "width": 400,
        "height": 844,
        "content": "## 🚀 Crypto market sentiment analyzer\n\n**Who is this for?**\nCrypto traders and investors who want daily AI-powered market analysis delivered to Discord.\n\n**What it does:**\nFetches real-time crypto dat"
      }
    },
    {
      "id": "350c425d-7f59-4d09-8283-0dd33f4e4420",
      "name": "Sticky Note - Data Collection",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -96
      ],
      "parameters": {
        "width": 520,
        "height": 140,
        "content": "### 📥 Data Collection\nFetch prices, metrics, DXY, Fear & Greed, and funding rates from free APIs"
      }
    },
    {
      "id": "e1d3efc5-7283-44fc-915c-4178efc59e54",
      "name": "Sticky Note - AI Output",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        432,
        304
      ],
      "parameters": {
        "width": 1428,
        "height": 332,
        "content": "### 🤖 AI Analysis & Output\nProcess data with Gemini AI and send formatted alerts to Discord"
      }
    },
    {
      "id": "645de307-28dd-44be-861a-0043cb8260ed",
      "name": "Daily Schedule Trigger (5PM)",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -192,
        464
      ]
    },
    {
      "id": "0233cf32-f2d9-41f0-9e6c-a5986f94219c",
      "name": "Fetch Global Market Metrics",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        32,
        -16
      ]
    },
    {
      "id": "2d1e0146-a25a-40fb-bd3e-b490b6d44628",
      "name": "Fetch BTC ETH USDT Prices",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        32,
        176
      ]
    },
    {
      "id": "37a04359-f20e-4709-8213-635491217c0e",
      "name": "Fetch DXY Dollar Index",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        32,
        368
      ]
    },
    {
      "id": "f420df43-ded3-4c74-ae2c-29b5548d0500",
      "name": "Fetch Fear and Greed Index",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        32,
        560
      ]
    },
    {
      "id": "f8a17e8e-185a-41aa-a8ab-5853f665d0c8",
      "name": "Fetch BTC Funding Rate",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        32,
        752
      ]
    },
    {
      "id": "f3ee976d-1d66-4552-888f-b93c37ee8bce",
      "name": "Fetch ETH Funding Rate",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        32,
        944
      ]
    },
    {
      "id": "ad8073d3-eb85-4753-9ae0-9e8c9f6ba0c5",
      "name": "Combine All API Data",
      "type": "n8n-nodes-base.merge",
      "position": [
        256,
        400
      ]
    },
    {
      "id": "a12b6208-c3df-402f-bcf6-80b5918ac2ef",
      "name": "Format and Parse All Data",
      "type": "n8n-nodes-base.code",
      "position": [
        480,
        464
      ]
    },
    {
      "id": "b5b4f83a-dab7-4a22-a68e-698e6c2cb8e7",
      "name": "Build Gemini Analysis Prompt",
      "type": "n8n-nodes-base.code",
      "position": [
        704,
        464
      ]
    },
    {
      "id": "0f020404-0d9c-42a0-9db8-2c7d871529c8",
      "name": "Gemini AI Analysis",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        928,
        464
      ]
    },
    {
      "id": "23442ae7-9bae-48b3-88cf-75e2d1f9656c",
      "name": "Extract AI Analysis and Stance",
      "type": "n8n-nodes-base.code",
      "position": [
        1280,
        464
      ]
    },
    {
      "id": "66fb2a96-f035-4a33-a8fb-09b0a791560e",
      "name": "Build Discord Alert Message",
      "type": "n8n-nodes-base.code",
      "position": [
        1504,
        464
      ]
    },
    {
      "id": "20bf26a5-ce70-412b-a824-969095b16cd8",
      "name": "Send to Discord Webhook",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1728,
        464
      ]
    }
  ],
  "connections": {
    "Gemini AI Analysis": {
      "main": [
        [
          {
            "node": "Extract AI Analysis and Stance",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Combine All API Data": {
      "main": [
        [
          {
            "node": "Format and Parse All Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch BTC Funding Rate": {
      "main": [
        [
          {
            "node": "Combine All API Data",
            "type": "main",
            "index": 4
          }
        ]
      ]
    },
    "Fetch DXY Dollar Index": {
      "main": [
        [
          {
            "node": "Combine All API Data",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Fetch ETH Funding Rate": {
      "main": [
        [
          {
            "node": "Combine All API Data",
            "type": "main",
            "index": 5
          }
        ]
      ]
    },
    "Fetch BTC ETH USDT Prices": {
      "main": [
        [
          {
            "node": "Combine All API Data",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Format and Parse All Data": {
      "main": [
        [
          {
            "node": "Build Gemini Analysis Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Fear and Greed Index": {
      "main": [
        [
          {
            "node": "Combine All API Data",
            "type": "main",
            "index": 3
          }
        ]
      ]
    },
    "Build Discord Alert Message": {
      "main": [
        [
          {
            "node": "Send to Discord Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Global Market Metrics": {
      "main": [
        [
          {
            "node": "Combine All API Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Gemini Analysis Prompt": {
      "main": [
        [
          {
            "node": "Gemini AI Analysis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Schedule Trigger (5PM)": {
      "main": [
        [
          {
            "node": "Fetch Global Market Metrics",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch DXY Dollar Index",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch BTC ETH USDT Prices",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch Fear and Greed Index",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch BTC Funding Rate",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch ETH Funding Rate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract AI Analysis and Stance": {
      "main": [
        [
          {
            "node": "Build Discord Alert Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}