{
  "name": "Get AI crypto price analysis via Telegram using GPT-4o-mini and TwelveData",
  "nodes": [
    {
      "id": "bf76056f-da65-4299-af9e-55292801f93e",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4560,
        624
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "9efed457-b3c5-4d27-924c-af436266e8ac",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4560,
        1360
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "791206b7-cef7-43fc-b728-262355057b55",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5376,
        1344
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "5457e798-4066-459c-ad2f-6bb20ac8f2c9",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        6176,
        1344
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "b9fda676-612e-4175-89d3-3ff0e0b71dd5",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4544,
        2320
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "8b6821fa-47d6-49fc-81c2-ff3cc8e7d2cf",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        4592,
        1536
      ]
    },
    {
      "id": "108ae602-92f2-4e10-8bfc-85c80f657ac3",
      "name": "Extract Query & Chat ID",
      "type": "n8n-nodes-base.set",
      "position": [
        4816,
        1536
      ]
    },
    {
      "id": "4bc29c24-e252-469d-88d7-9ab11c380002",
      "name": "Is Price Check Intent?",
      "type": "n8n-nodes-base.if",
      "position": [
        5392,
        1536
      ]
    },
    {
      "id": "d38f142f-77ca-4077-ab0c-f070317fe758",
      "name": "Fetch OHLC Data from TwelveData",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        5616,
        1536
      ]
    },
    {
      "id": "0a67b147-61b3-48e6-a27e-0278cd17ae52",
      "name": "Send Analysis to Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        6768,
        1536
      ]
    },
    {
      "id": "f120ae79-6022-4c3a-9fa8-0202146a049b",
      "name": "Classify Intent with AI",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        5040,
        1536
      ]
    },
    {
      "id": "f7277603-5fe3-465d-b605-62ee6fab7479",
      "name": "OpenAI GPT-4o-mini",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        5056,
        1760
      ]
    },
    {
      "id": "10d490e5-8c96-4f48-bc17-4537907ae568",
      "name": "Parse Intent JSON",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        5184,
        1760
      ]
    },
    {
      "id": "b25a0a55-c503-4bd0-b7a7-3fe450d5309d",
      "name": "Analyze Price Trends with AI",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        5840,
        1536
      ]
    },
    {
      "id": "5bb88f21-53f4-4050-8c31-1377980a3e6b",
      "name": "OpenAI GPT-4o-mini Analysis",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        5856,
        1760
      ]
    },
    {
      "id": "fc53c04e-043c-4d26-b416-9cc5f39dfaf2",
      "name": "Parse Analysis JSON",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        5984,
        1760
      ]
    },
    {
      "id": "88bfac03-2156-44f9-a12f-22f95d7aa3d7",
      "name": "Structure Analysis Data",
      "type": "n8n-nodes-base.set",
      "position": [
        6192,
        1536
      ]
    },
    {
      "id": "ebc34c16-7837-4b83-89f8-0541327083e0",
      "name": "Format Message for Telegram",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        6416,
        1536
      ]
    },
    {
      "id": "e37fa63a-0b1c-4b46-8c67-166f63345cf4",
      "name": "OpenAI GPT-4o-mini Formatter",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        6496,
        1760
      ]
    },
    {
      "id": "9f0e2303-fd04-4d52-b2f3-042ca604573c",
      "name": "Workflow Error Handler",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        4640,
        2480
      ]
    },
    {
      "id": "eebf5a70-5a62-4807-8ed0-e1fae64ecb34",
      "name": "Send Error Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        4960,
        2480
      ]
    }
  ],
  "connections": {
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Extract Query & Chat ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Intent JSON": {
      "ai_outputParser": [
        [
          {
            "node": "Classify Intent with AI",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI GPT-4o-mini": {
      "ai_languageModel": [
        [
          {
            "node": "Classify Intent with AI",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Parse Analysis JSON": {
      "ai_outputParser": [
        [
          {
            "node": "Analyze Price Trends with AI",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Is Price Check Intent?": {
      "main": [
        [
          {
            "node": "Fetch OHLC Data from TwelveData",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Error Handler": {
      "main": [
        [
          {
            "node": "Send Error Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Classify Intent with AI": {
      "main": [
        [
          {
            "node": "Is Price Check Intent?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Query & Chat ID": {
      "main": [
        [
          {
            "node": "Classify Intent with AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structure Analysis Data": {
      "main": [
        [
          {
            "node": "Format Message for Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Message for Telegram": {
      "main": [
        [
          {
            "node": "Send Analysis to Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI GPT-4o-mini Analysis": {
      "ai_languageModel": [
        [
          {
            "node": "Analyze Price Trends with AI",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Analyze Price Trends with AI": {
      "main": [
        [
          {
            "node": "Structure Analysis Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI GPT-4o-mini Formatter": {
      "ai_languageModel": [
        [
          {
            "node": "Format Message for Telegram",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Fetch OHLC Data from TwelveData": {
      "main": [
        [
          {
            "node": "Analyze Price Trends with AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}