AutomationFlowsAI & RAG › Automated Stock Technical Analysis with Xai Grok & Multi-channel Notifications

Automated Stock Technical Analysis with Xai Grok & Multi-channel Notifications

BySpaGreen Creative @spagreen on n8n.io

This workflow is designed for stock traders, financial analysts, investment enthusiasts, and anyone interested in automated stock market analysis. It's particularly useful for those who want to make data-driven trading decisions based on technical indicators without spending…

Cron / scheduled trigger★★★★☆ complexityAI-powered25 nodesN8N Nodes RapiwaGmailHTTP RequestTelegramMemory Buffer WindowAgentRss Feed Read ToolLm Chat Xai Grok
AI & RAG Trigger: Cron / scheduled Nodes: 25 Complexity: ★★★★☆ AI nodes: yes Added:

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

This workflow follows the Agent → Gmail 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
{
  "id": "INjYAz2yUulLmjPs",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Stock Market Analysis Automation",
  "tags": [],
  "nodes": [
    {
      "id": "d283c82f-beea-4cd8-bd93-5d1a6377f97d",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        64,
        448
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "830581af-c106-4745-a7f3-f0e547b84cfe",
      "name": "Interpret Data",
      "type": "n8n-nodes-base.code",
      "position": [
        1200,
        400
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "f088658f-f3b7-452f-886e-1b55c68681ce",
      "name": "Rapiwa",
      "type": "n8n-nodes-rapiwa.rapiwa",
      "position": [
        1920,
        592
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8d68504b-add5-4de4-8612-5403608b8616",
      "name": "Send a message",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1920,
        16
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "3be23be0-7025-46bd-82a8-c702f9eb1cb1",
      "name": "Fetch Stock Market Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        976,
        400
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "83a82f75-5c8b-4faf-9060-0d45ee9dc95a",
      "name": "Send warning message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        752,
        592
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "75df83bb-681b-4609-9020-c768f0232878",
      "name": "Send Market Summary message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1920,
        208
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "b964a493-8cb1-471a-ab95-58df82e85685",
      "name": "Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        1552,
        624
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "da4fed6a-5520-4549-8820-0a088518a895",
      "name": "Analysis Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1488,
        400
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "70e9286d-610d-4f3c-8986-cf9dc62a5711",
      "name": "Send Market Summary On Channel",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1920,
        400
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "f8a5d77a-b006-4448-a8fe-2ad344f08ec0",
      "name": "Get Market Condition",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        304,
        496
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "0e6b1129-5af9-4bd2-a499-5c7b11a35f86",
      "name": "Check Market is open/close",
      "type": "n8n-nodes-base.if",
      "position": [
        528,
        496
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "bef89a5f-7af8-4bcd-b6e5-77c432293d6e",
      "name": "Currency/Symble List",
      "type": "n8n-nodes-base.set",
      "position": [
        752,
        400
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "7722f5ce-9e99-4cf9-a930-787fe47d53cf",
      "name": "RSS Read",
      "type": "n8n-nodes-base.rssFeedReadTool",
      "position": [
        1680,
        624
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "ea040c34-a97a-41c0-b129-b0a0a5394215",
      "name": "xAI",
      "type": "@n8n/n8n-nodes-langchain.lmChatXAiGrok",
      "position": [
        1424,
        624
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "67c4a0c1-057c-4b68-b535-3859ffd83900",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        32,
        160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "645d3e35-d44b-4b2e-850c-71cbfe00bacb",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        672,
        32
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a0c4064c-1bb5-4d5d-b245-88f7ec9aa25c",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1472,
        224
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2f5d79e2-7d60-4afc-83da-8f2233a6289d",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        688,
        672
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d81e5037-6465-4754-8e62-41b556b6dafa",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1616,
        736
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "03abd1b8-27b1-4979-8309-202508096f36",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1904,
        -96
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e6d9f001-33bb-412a-96db-ba65507db6b9",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -672,
        176
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7a025bac-e13e-4c18-9e60-9c6c71fa93f6",
      "name": "Append row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1920,
        752
      ],
      "parameters": {},
      "typeVersion": 4.7
    },
    {
      "id": "17dd0f9e-a110-441e-b8a6-6fcd6c603b46",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1232,
        688
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4250d35b-de1a-426e-8eed-d54372de3634",
      "name": "Clicking",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        64,
        592
      ],
      "parameters": {},
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "e89e15ed-39d0-412a-9853-afa6b8f3f038",
  "connections": {
    "xAI": {
      "ai_languageModel": [
        [
          {
            "node": "Analysis Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Memory": {
      "ai_memory": [
        [
          {
            "node": "Analysis Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Clicking": {
      "main": [
        [
          {
            "node": "Get Market Condition",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RSS Read": {
      "ai_tool": [
        [
          {
            "node": "Analysis Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Analysis Agent": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Market Summary message",
            "type": "main",
            "index": 0
          },
          {
            "node": "Rapiwa",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Market Summary On Channel",
            "type": "main",
            "index": 0
          },
          {
            "node": "Append row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Interpret Data": {
      "main": [
        [
          {
            "node": "Analysis Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Get Market Condition",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Currency/Symble List": {
      "main": [
        [
          {
            "node": "Fetch Stock Market Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Market Condition": {
      "main": [
        [
          {
            "node": "Check Market is open/close",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Stock Market Data": {
      "main": [
        [
          {
            "node": "Interpret Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Market is open/close": {
      "main": [
        [
          {
            "node": "Currency/Symble List",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send warning message",
            "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

This workflow is designed for stock traders, financial analysts, investment enthusiasts, and anyone interested in automated stock market analysis. It's particularly useful for those who want to make data-driven trading decisions based on technical indicators without spending…

Source: https://n8n.io/workflows/11621/ — 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

Arvifund - Supabase (Fixed v5). Uses httpRequest, telegram, googleSheets, telegramTrigger. Event-driven trigger; 91 nodes.

HTTP Request, Telegram, Google Sheets +9
AI & RAG

Arvifund - Supabase. Uses httpRequest, telegram, googleSheets, telegramTrigger. Event-driven trigger; 90 nodes.

HTTP Request, Telegram, Google Sheets +8
AI & RAG

Arvifund - Supabase (Fixed v2). Uses httpRequest, telegram, googleSheets, telegramTrigger. Event-driven trigger; 90 nodes.

HTTP Request, Telegram, Google Sheets +9
AI & RAG

Arvifund - Supabase (Fixed v4). Uses httpRequest, telegram, googleSheets, telegramTrigger. Event-driven trigger; 90 nodes.

HTTP Request, Telegram, Google Sheets +9
AI & RAG

Arvifund - Supabase (Fixed v3). Uses httpRequest, telegram, googleSheets, telegramTrigger. Event-driven trigger; 90 nodes.

HTTP Request, Telegram, Google Sheets +9