AutomationFlowsAI & RAG › Stock Market Analysis with GPT-4o for Telegram

Stock Market Analysis with GPT-4o for Telegram

Original n8n title: Stock Market Technical Analysis with Gpt-4o and Tradingview for Telegram

ByBadr @b4dr on n8n.io

The Stock Market Technical Analysis Bot is an advanced n8n workflow that brings professional-grade stock analysis to Telegram users. This powerful AI agent analyzes stock charts in real-time, providing detailed technical insights that would typically require expensive software…

Event trigger★★★★☆ complexityAI-powered16 nodesTelegram TriggerAgentMemory Buffer WindowTool WorkflowTelegramOpenAI ChatExecute Workflow TriggerHTTP Request
AI & RAG Trigger: Event Nodes: 16 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #3202 — we link there as the canonical source.

This workflow follows the Agent → Execute Workflow Trigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "57a8cbd8-bc2f-4600-a077-c2cec70962d8",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        220,
        100
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "c0794d04-4a75-4e78-93c8-fd6dbecfb87c",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        580,
        100
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "a7a243d2-80f7-4ace-b758-74770c83be0e",
      "name": "Window Buffer Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        640,
        320
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "aa4d7ada-5275-4271-8b9f-e0ec32f0c699",
      "name": "GetChart",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        860,
        320
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "c8f7d274-930e-4a23-ac6e-ab8a3b434c70",
      "name": "Response2",
      "type": "n8n-nodes-base.telegram",
      "position": [
        980,
        100
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "9580a9a5-3153-4fa9-8862-8e2e08506fac",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4c40f975-b35d-4706-9935-de521db30cd2",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        420,
        320
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "26b9939c-dec4-4142-b884-6cbef56adb26",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        460
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "19b572cf-1a26-4e83-bdf6-d005cf2e9ea1",
      "name": "When Executed by Another Workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        40,
        560
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "0e76105a-62b1-4b2f-9e84-7c4f11b3b0c4",
      "name": "Download Chart",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        840,
        560
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "6f506393-e225-45ec-a49f-eb473585e877",
      "name": "Analysis",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1020,
        560
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "1188a40d-16a2-4536-8d60-1be4eaccd353",
      "name": "Response",
      "type": "n8n-nodes-base.set",
      "position": [
        1420,
        560
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "655d3289-55c6-49e3-8e1d-c7883ce57415",
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1220,
        560
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "562a4d01-5a27-466d-9114-c5edc4205885",
      "name": "Get Chart",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        640,
        560
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "4fb8a467-b3b1-49c6-9eb9-c24e439fdfc4",
      "name": "Symbol And ChatId",
      "type": "n8n-nodes-base.set",
      "position": [
        440,
        560
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "61e766ff-1b07-4bbc-9d48-fe996281fc00",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        240,
        560
      ],
      "parameters": {},
      "typeVersion": 2
    }
  ],
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "Symbol And ChatId",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Response2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analysis": {
      "main": [
        [
          {
            "node": "Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GetChart": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Telegram": {
      "main": [
        [
          {
            "node": "Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Chart": {
      "main": [
        [
          {
            "node": "Download Chart",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Chart": {
      "main": [
        [
          {
            "node": "Analysis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Symbol And ChatId": {
      "main": [
        [
          {
            "node": "Get Chart",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Window Buffer Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "When Executed by Another Workflow": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

The Stock Market Technical Analysis Bot is an advanced n8n workflow that brings professional-grade stock analysis to Telegram users. This powerful AI agent analyzes stock charts in real-time, providing detailed technical insights that would typically require expensive software…

Source: https://n8n.io/workflows/3202/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

BoomerBobBot.TP. Uses agent, telegramTrigger, telegram, memoryBufferWindow. Event-driven trigger; 95 nodes.

Agent, Telegram Trigger, Telegram +10
AI & RAG

Generate AI viral videos with NanoBanana & VEO3, shared on socials via Blotato 2. Uses @blotato/n8n-nodes-blotato, googleSheets, lmChatOpenAi, toolThink. Event-driven trigger; 94 nodes.

@Blotato/N8N Nodes Blotato, Google Sheets, OpenAI Chat +9
AI & RAG

RAG CHATBOT Main. Uses telegram, telegramTrigger, lmChatOpenAi, n8n-nodes-mcp. Event-driven trigger; 87 nodes.

Telegram, Telegram Trigger, OpenAI Chat +8
AI & RAG

How it Works

Memory Buffer Window, Agent, Output Parser Structured +9
AI & RAG

The best content automation template in the market is now even better—with “deep research” on time-sensitive topics\! Unlike most n8n content automation templates that are mainly for “demo purposes,”

OpenAI, HTTP Request, XML +11