{
  "name": "Analyze meeting sentiment with Azure OpenAI and save insights to Google Sheets",
  "nodes": [
    {
      "id": "993121a7-0a99-4a32-a758-9a76a9df7639",
      "name": "Workflow Error Handler",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        -544,
        848
      ]
    },
    {
      "id": "78fdedaa-8b2c-498a-8b56-897cfc30f335",
      "name": "Send a message1",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -192,
        848
      ]
    },
    {
      "id": "e3b414e6-21d4-4fd0-84e6-e288eea17843",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -624,
        688
      ],
      "parameters": {
        "width": 672,
        "height": 336,
        "content": "## Error Handling\nSends alerts when the workflow fails\n"
      }
    },
    {
      "id": "40fe87cb-d337-4c3c-bef8-09cc714538be",
      "name": "Overview Sticky",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1536,
        -768
      ],
      "parameters": {
        "width": 674,
        "height": 448,
        "content": "## 📊 Smart Trade Alert Dispatcher for Slack & Telegram\n\n### How it works\nThis workflow monitors Apple stock (AAPL) in real-time using RSI indicators and price data from TwelveData API. It analyzes mom"
      }
    },
    {
      "id": "75bfec43-ce06-4d01-a832-cd24efb737e4",
      "name": "Data Collection Section",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -592,
        -384
      ],
      "parameters": {
        "width": 620,
        "height": 880,
        "content": "## 📡 Data Collection\nFetches real-time AAPL data from TwelveData API:\n- RSI (14-period, 5min intervals) for momentum\n- Price quotes with volume metrics\n\nBoth requests run in parallel for efficiency, t"
      }
    },
    {
      "id": "1cea4fab-9245-4720-84c6-94b8dee55b13",
      "name": "Signal Processing Section",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        64,
        -256
      ],
      "parameters": {
        "width": 272,
        "height": 608,
        "content": "## 🧮 Signal Processing\nCalculates trading signals by:\n- Classifying momentum (oversold/overbought)\n- Comparing volume vs average\n- Determining action: PREPARE_BUY, WATCH, or WAIT\n\nOutputs structured d"
      }
    },
    {
      "id": "373156cb-ecd6-4911-bc2f-e6be1be7b333",
      "name": "AI Analysis Section",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        352,
        -352
      ],
      "parameters": {
        "width": 608,
        "height": 848,
        "content": "## 🤖 AI Market Analysis\nGPT-4 transforms raw signals into professional market updates using:\n- Clear bullet-point formatting\n- Neutral, factual language\n- No exaggeration or financial advice\n\nProduces"
      }
    },
    {
      "id": "1d4af6fa-fcb1-43ab-928f-8c214fe2595b",
      "name": "Alerts Section",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        992,
        -320
      ],
      "parameters": {
        "width": 656,
        "height": 752,
        "content": "## 🚨 Priority Routing & Alerts\nCalculates alert priority based on RSI + volume:\n- **HIGH**: RSI <30 + high volume → Telegram\n- **MEDIUM/LOW**: Other conditions → Slack\n\nEnsures critical signals reach "
      }
    },
    {
      "id": "c67da394-3a8c-400c-8106-0d99312837b2",
      "name": "Security Notice",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1728,
        176
      ],
      "parameters": {
        "width": 380,
        "height": 180,
        "content": "## 🔐 Security & API Keys\n**Required credentials:**\n- TwelveData API (free tier available)\n- OpenAI API for GPT-4\n- Telegram Bot Token\n- Slack OAuth2\n\nRemove all personal IDs before sharing this templa"
      }
    },
    {
      "id": "66707290-9f75-4eb4-a163-b4b0d93678f2",
      "name": "Fetch RSI Indicator",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -432,
        -160
      ]
    },
    {
      "id": "2563d043-770e-4d3d-895f-a7b947588c57",
      "name": "Fetch Price & Volume Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -432,
        208
      ]
    },
    {
      "id": "a3f1670c-aa4f-46cd-b217-d4e91591da16",
      "name": "Merge API Responses",
      "type": "n8n-nodes-base.merge",
      "position": [
        -96,
        16
      ]
    },
    {
      "id": "1ee35512-7dea-49fa-a05e-f038666e2ff7",
      "name": "Calculate Trading Signals",
      "type": "n8n-nodes-base.code",
      "position": [
        160,
        16
      ]
    },
    {
      "id": "e8aabe3d-ff94-4456-bcf9-84acc00807c0",
      "name": "Generate AI Summary",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        448,
        16
      ]
    },
    {
      "id": "66916e79-e8d7-4aca-96ac-466a7cabacce",
      "name": "OpenAI GPT-4 Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        432,
        304
      ]
    },
    {
      "id": "22fa88f8-9642-4296-9cdb-dd56859a5905",
      "name": "Assign Alert Priority",
      "type": "n8n-nodes-base.code",
      "position": [
        800,
        16
      ]
    },
    {
      "id": "c71b4fe8-9351-414f-b583-20aa45f68268",
      "name": "Route by Priority",
      "type": "n8n-nodes-base.if",
      "position": [
        1120,
        16
      ]
    },
    {
      "id": "4dec4c2a-3463-4370-823e-3e0d64b5933e",
      "name": "Send to Slack (Low Priority)",
      "type": "n8n-nodes-base.slack",
      "position": [
        1424,
        144
      ]
    },
    {
      "id": "49ea04be-b7ac-4cc3-ab77-344d40577acc",
      "name": "Send to Telegram (High Priority)",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1424,
        -96
      ]
    },
    {
      "id": "f173ecd5-67a7-4e68-8dde-b25bd7325b2c",
      "name": "Schedule Trigger1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -816,
        0
      ]
    }
  ],
  "connections": {
    "Route by Priority": {
      "main": [
        [
          {
            "node": "Send to Telegram (High Priority)",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send to Slack (Low Priority)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger1": {
      "main": [
        [
          {
            "node": "Fetch Price & Volume Data",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch RSI Indicator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI GPT-4 Model": {
      "ai_languageModel": [
        [
          {
            "node": "Generate AI Summary",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Fetch RSI Indicator": {
      "main": [
        [
          {
            "node": "Merge API Responses",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate AI Summary": {
      "main": [
        [
          {
            "node": "Assign Alert Priority",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge API Responses": {
      "main": [
        [
          {
            "node": "Calculate Trading Signals",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Assign Alert Priority": {
      "main": [
        [
          {
            "node": "Route by Priority",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Error Handler": {
      "main": [
        [
          {
            "node": "Send a message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculate Trading Signals": {
      "main": [
        [
          {
            "node": "Generate AI Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Price & Volume Data": {
      "main": [
        [
          {
            "node": "Merge API Responses",
            "type": "main",
            "index": 1
          }
        ]
      ]
    }
  }
}