{
  "name": "Analyze crypto market with CoinGecko: volatility metrics & investment signals",
  "nodes": [
    {
      "id": "745e4849-8c61-4b29-9980-24de93821adb",
      "name": "Fetch Crypto Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        220,
        385
      ]
    },
    {
      "id": "f4e6c40d-ab60-473b-9961-961eb1fa3505",
      "name": "Calculate Market Metrics",
      "type": "n8n-nodes-base.function",
      "position": [
        660,
        385
      ]
    },
    {
      "id": "5d760f94-ca2f-44cc-aef0-83eb2cf438ee",
      "name": "IF 24h Price Up >5%",
      "type": "n8n-nodes-base.if",
      "position": [
        880,
        60
      ]
    },
    {
      "id": "19ca8650-b642-4910-ac7c-50b1ceb41ffc",
      "name": "IF 24h Price Down >5%",
      "type": "n8n-nodes-base.if",
      "position": [
        1100,
        260
      ]
    },
    {
      "id": "c5d69bbb-df7e-4089-b0c8-50653cd936f0",
      "name": "IF High Volatility",
      "type": "n8n-nodes-base.if",
      "position": [
        1320,
        560
      ]
    },
    {
      "id": "77902b9a-2cf8-4b6f-95e9-590b51278c59",
      "name": "Set Uptrend Data",
      "type": "n8n-nodes-base.set",
      "position": [
        1540,
        60
      ]
    },
    {
      "id": "4706270b-3bdc-4806-a302-830a88c9a982",
      "name": "Set Downtrend Data",
      "type": "n8n-nodes-base.set",
      "position": [
        1540,
        260
      ]
    },
    {
      "id": "608729c4-23a5-4c5b-b9a0-d77f12166aa3",
      "name": "Set Volatility Data",
      "type": "n8n-nodes-base.set",
      "position": [
        1540,
        460
      ]
    },
    {
      "id": "f8134b51-4b41-4684-97a9-008e5f0260df",
      "name": "Set Stable Data",
      "type": "n8n-nodes-base.set",
      "position": [
        1540,
        660
      ]
    },
    {
      "id": "5f43178c-7bb5-405d-a988-b3b0ae0a0405",
      "name": "Merge Results",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1760,
        360
      ]
    },
    {
      "id": "e422a9e1-9016-4db9-912b-58be44604eb2",
      "name": "Set High Risk Rating",
      "type": "n8n-nodes-base.set",
      "position": [
        2200,
        -40
      ]
    },
    {
      "id": "383a55c7-f42f-4a32-b6ba-742049406f67",
      "name": "Set Medium Risk Rating",
      "type": "n8n-nodes-base.set",
      "position": [
        2200,
        160
      ]
    },
    {
      "id": "2f50e6cd-dd62-4fb2-8ee2-28096c758e23",
      "name": "Set Low Risk Rating",
      "type": "n8n-nodes-base.set",
      "position": [
        2200,
        460
      ]
    },
    {
      "id": "5a820de9-11f8-4aa7-8811-afb6153a7b54",
      "name": "Set Default Risk Rating",
      "type": "n8n-nodes-base.set",
      "position": [
        2200,
        660
      ]
    },
    {
      "id": "9b39eb90-f0c8-44df-9721-ef1d60a8a0fc",
      "name": "Final Merge",
      "type": "n8n-nodes-base.noOp",
      "position": [
        2420,
        360
      ]
    },
    {
      "id": "f84bd02a-92d1-49c7-9ba3-36e860a31636",
      "name": "Format Final Analysis",
      "type": "n8n-nodes-base.function",
      "position": [
        2640,
        635
      ]
    },
    {
      "id": "911280f8-82cb-42ee-bd8a-6de15c58f188",
      "name": "Collect All Analyses",
      "type": "n8n-nodes-base.noOp",
      "position": [
        660,
        -140
      ]
    },
    {
      "id": "a4de8078-7f49-4b22-a11a-a2efabfa16b1",
      "name": "Generate Portfolio Summary",
      "type": "n8n-nodes-base.function",
      "position": [
        880,
        -140
      ]
    },
    {
      "id": "3277b96e-ab2c-4561-a29c-958998f45686",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        440,
        385
      ]
    },
    {
      "id": "8256a60a-ddb8-4d72-b443-8fba819815bb",
      "name": "Switch by Market Score",
      "type": "n8n-nodes-base.switch",
      "position": [
        1980,
        339
      ]
    },
    {
      "id": "b8cb4f7d-3818-48df-89ea-9db22797375a",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1100,
        -140
      ]
    },
    {
      "id": "936e9ada-4b6b-4cab-90e1-0bea30eaaa0c",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1320,
        -140
      ]
    },
    {
      "id": "7791cebf-4733-4cf6-8341-96771733b507",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        0,
        380
      ]
    },
    {
      "id": "d25b2427-9fc7-4042-92f2-673de5019206",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2120,
        -140
      ],
      "parameters": {
        "width": 260,
        "height": 960,
        "content": "## Categorize and set the rating of coin"
      }
    },
    {
      "id": "ac3a6503-5ce7-406d-9efb-122928239337",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        680,
        40
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "c4e4e17d-bf13-44a2-9a9e-1d22104f1062",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        140,
        -20
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "## This workflow aims to"
      }
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Fetch Crypto Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Final Merge": {
      "main": [
        [
          {
            "node": "Format Final Analysis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Results": {
      "main": [
        [
          {
            "node": "Switch by Market Score",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Collect All Analyses",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Calculate Market Metrics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Stable Data": {
      "main": [
        [
          {
            "node": "Merge Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Uptrend Data": {
      "main": [
        [
          {
            "node": "Merge Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Crypto Data": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF High Volatility": {
      "main": [
        [
          {
            "node": "Set Volatility Data",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set Stable Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Downtrend Data": {
      "main": [
        [
          {
            "node": "Merge Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF 24h Price Up >5%": {
      "main": [
        [
          {
            "node": "Set Uptrend Data",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "IF 24h Price Down >5%",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Low Risk Rating": {
      "main": [
        [
          {
            "node": "Final Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Volatility Data": {
      "main": [
        [
          {
            "node": "Merge Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Collect All Analyses": {
      "main": [
        [
          {
            "node": "Generate Portfolio Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set High Risk Rating": {
      "main": [
        [
          {
            "node": "Final Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Final Analysis": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF 24h Price Down >5%": {
      "main": [
        [
          {
            "node": "Set Downtrend Data",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "IF High Volatility",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Medium Risk Rating": {
      "main": [
        [
          {
            "node": "Final Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch by Market Score": {
      "main": [
        [
          {
            "node": "Set High Risk Rating",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set Medium Risk Rating",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set Low Risk Rating",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set Default Risk Rating",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Default Risk Rating": {
      "main": [
        [
          {
            "node": "Final Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculate Market Metrics": {
      "main": [
        [
          {
            "node": "IF 24h Price Up >5%",
            "type": "main",
            "index": 0
          },
          {
            "node": "IF 24h Price Down >5%",
            "type": "main",
            "index": 0
          },
          {
            "node": "IF High Volatility",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Portfolio Summary": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}