AutomationFlowsAI & RAG › Tesla 1day Indicators Tool (macro-level Technical Ai)

Tesla 1day Indicators Tool (macro-level Technical Ai)

ByDon Jayamaha Jr @don-the-gem-dealer on n8n.io

📅 Analyze Tesla’s daily trading structure with AI using 6 Alpha Vantage indicators. This tool evaluates long-term trend health, volatility patterns, and potential reversal signals at the 1-day timeframe. Designed for use within the Tesla Financial Market Data Analyst Tool, this…

Event trigger★★★☆☆ complexityAI-powered11 nodesExecute Workflow TriggerMemory Buffer WindowAgentOpenAI ChatHTTP Request Tool
AI & RAG Trigger: Event Nodes: 11 Complexity: ★★★☆☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #4098 — 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
{
  "id": "Zqt7sbkAXvx0pir1",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Tesla 1day Indicators Tool n8n",
  "tags": [],
  "nodes": [
    {
      "id": "9eb2431e-0649-4cda-b3a7-8f9480538581",
      "name": "When Executed by Another Workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        160,
        -200
      ],
      "parameters": {
        "workflowInputs": {
          "values": [
            {
              "name": "message"
            },
            {
              "name": "sessionId"
            }
          ]
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "00654438-d958-4503-b735-57c3c5d43ffe",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        680,
        100
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "a2c45d6b-fc24-4701-a82c-aad504ed551a",
      "name": "Tesla 1day Indicators Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        580,
        -200
      ],
      "parameters": {
        "text": "={{ $json.message }}",
        "options": {
          "systemMessage": "You are a **Tesla 1-Day Technical Indicators Analyst AI**.\n\nYour purpose is to evaluate long-term trading conditions for Tesla (TSLA) using daily interval technical indicators sourced from **Alpha Vantage**. These indicators help identify macro-level momentum, price extremes, and trend health for swing and position trading strategies.\n\n---\n\n### \ud83d\udd27 You have access to the following tools:\n\n1. **RSI (Relative Strength Index)** \u2013 Detects long-term overbought or oversold conditions.\n2. **BBANDS (Bollinger Bands)** \u2013 Gauges price volatility and positioning relative to moving averages.\n3. **SMA (Simple Moving Average)** \u2013 Identifies prevailing long-term price trends.\n4. **EMA (Exponential Moving Average)** \u2013 Highlights recent directional shifts with faster reaction time.\n5. **ADX (Average Directional Index)** \u2013 Measures trend strength independent of direction.\n6. **MACD (Moving Average Convergence Divergence)** \u2013 Signals potential trend reversals and momentum shifts.\n\n---\n\n### \ud83d\udee0 Data Workflow:\n\nAll indicator data is retrieved via HTTPS calls to a secured **webhook** endpoint:\n\n* The webhook then queries Alpha Vantage with a premium API key.\n* It returns the latest **20 values** for each indicator, properly trimmed and formatted as JSON.\n* These JSON results are delivered to you (the Analyst AI Agent) to perform structured evaluation.\n\nYou are supported by:\n\n* **OpenAI GPT-4.1** for LLM processing\n* A short-term **memory module** for contextual continuity\n* The **Tesla Financial Market Analyst Tool**, which uses your output for comprehensive multi-timeframe analysis\n\n---\n\n### \ud83e\uddea Your Tasks:\n\n1. **Parse** and interpret the most recent indicator values from the webhook response.\n2. **Assess** whether the market is trending, reversing, or consolidating at the daily timeframe.\n3. **Output** a structured response including:\n\n   * A concise summary of overall trend conditions\n   * Exact indicator values in JSON format\n\n---\n\n### \ud83d\udce4 Output Format:\n\n```json\n{\n  \"summary\": \"TSLA shows consolidation on the daily chart. RSI is neutral, Bollinger Bands are contracting, and MACD is flattening. Trend strength is weak per ADX.\",\n  \"timeframe\": \"1d\",\n  \"indicators\": {\n    \"RSI\": 51.3,\n    \"BBANDS\": {\n      \"upper\": 192.80,\n      \"lower\": 168.20,\n      \"middle\": 180.50,\n      \"close\": 179.90\n    },\n    \"SMA\": 181.10,\n    \"EMA\": 179.75,\n    \"ADX\": 15.8,\n    \"MACD\": {\n      \"macd\": -0.25,\n      \"signal\": -0.20,\n      \"histogram\": -0.05\n    }\n  }\n}\n```\n\n---\n\nOnly draw conclusions based on clear evidence from the indicators. Avoid vague language. Remain structured, concise, and aligned with professional financial analysis standards.\n"
        },
        "promptType": "define"
      },
      "typeVersion": 1.8
    },
    {
      "id": "a952286a-2848-49eb-93cc-6336bf4c2ea3",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        340,
        120
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1",
          "cachedResultName": "gpt-4.1"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "04d50d38-9bbf-4676-a76a-f23fa65a317d",
      "name": "1day Data",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        1040,
        100
      ],
      "parameters": {
        "url": "https://treasurium.app.n8n.cloud/webhook/1dayData",
        "options": {}
      },
      "typeVersion": 4.2
    },
    {
      "id": "86bba663-c22a-4b41-ab2b-c12baac09eac",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        520,
        -440
      ],
      "parameters": {
        "color": 5,
        "width": 420,
        "height": 420,
        "content": "## Tesla 1-Day Technical Indicators AI\n\n\u2022 Processes the **webhook data** and **performs daily timeframe evaluation for TSLA**.\n\n\u2022 Outputs a **JSON summary** of **market condition, trend state, and all indicator values**.\n\n\u2022 This feeds into the broader **Tesla Financial Market Data Analyst**."
      },
      "typeVersion": 1
    },
    {
      "id": "cdc88028-e238-40ed-9cf6-1fb644322a8c",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        -400
      ],
      "parameters": {
        "color": 4,
        "width": 280,
        "height": 380,
        "content": "## Trigger from Parent Workflow \nThis node activates the workflow when called to execute Workflow action from the **Tesla Financial Market Analyst Tool**. Ensure proper inputs **message, sessionId** are passed."
      },
      "typeVersion": 1
    },
    {
      "id": "c40b515d-7888-4bb4-80df-f0b824bdf776",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        260,
        60
      ],
      "parameters": {
        "color": 2,
        "height": 380,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n## GPT Model for Reasoning \nUtilizes **OpenAI GPT-4.1** to interpret **technical indicators** and generate long-term trend analysis and structured **JSON output**."
      },
      "typeVersion": 1
    },
    {
      "id": "07a5c3c4-a9ee-4a19-a7e7-e1fa38ddeca1",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        600,
        60
      ],
      "parameters": {
        "color": 3,
        "height": 380,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n## Short-Term Memory Module\nMaintains context across requests within the same session. Supports consistent logic between indicator evaluations for the **Tesla Financial Market Analyst Tool**."
      },
      "typeVersion": 1
    },
    {
      "id": "4bc1a27f-b082-4983-94cf-2863add312fc",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        960,
        60
      ],
      "parameters": {
        "color": 6,
        "height": 480,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n## 1-Day Indicator Data from Alpha Vantage \nMakes an HTTP call to a secured **webhook**, which fetches Tesla 1-day interval indicators **(RSI, BBANDS, SMA, EMA, ADX, MACD)** via **Alpha Vantage Premium API**.\nOnly the latest **20 values** are returned, cleaned and trimmed."
      },
      "typeVersion": 1
    },
    {
      "id": "431807cd-8af2-471a-9181-179c94c1c9d6",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1400,
        -1760
      ],
      "parameters": {
        "width": 1240,
        "height": 2300,
        "content": "\n## \ud83d\udcd8 Tesla 1-Day Indicators Tool\n\n### \ud83d\udd27 Purpose\n\nThis tool analyzes **daily timeframe technical indicators** for TSLA using Alpha Vantage. It evaluates long-term market conditions, trend momentum, and potential reversals to support **macro-level swing trading decisions**.\n\n---\n\n### \ud83d\udcc2 Required Dependencies (to use this workflow):\n\nTo function correctly, this tool depends on:\n\n* \u2705 **Tesla Financial Market Data Analyst Tool** (which triggers this workflow)\n* \u2705 **Alpha Vantage Premium API key** (configured via HTTP Query Auth Credential)\n* \u2705 **Tesla Quant Technical Indicators Webhook Tool** (handles HTTPS fetch and trims the latest 20 values)\n* \u2705 **OpenAI API key** (for GPT-4.1 access)\n\n---\n\n### \ud83d\udee0\ufe0f Step-by-Step Installation:\n\n1. **Import Workflow**\n\n   * Upload `Tesla_1day_Indicators_Tool.json` to your n8n instance.\n\n2. **Set Up API Credentials**\n\n   * In **Credentials**, create:\n\n     * **HTTP Query Auth** credential named `Alpha Vantage Premium`\n     * **OpenAI API Key** credential (for GPT-4.1)\n\n3. **Connect Workflow Trigger**\n\n   * This tool begins execution when called via:\n     \ud83d\udc49 `Execute Workflow` from the **Tesla Financial Market Data Analyst Tool**\n\n4. **Configure Webhook Source**\n\n   * A webhook triggers an HTTP request that pulls Alpha Vantage indicator data:\n\n     * RSI, BBANDS, SMA, EMA, ADX, MACD\n   * Only the **latest 20 values** are returned and cleaned.\n\n5. **Key Nodes Explained**\n\n   | Node Name                     | Role                                                               |\n   | ----------------------------- | ------------------------------------------------------------------ |\n   | `1day Data`                   | Pulls technical indicator JSON via webhook                         |\n   | `OpenAI Chat Model`           | GPT-4.1 model used for AI-driven trend interpretation              |\n   | `Tesla 1day Indicators Agent` | LangChain agent parses indicators and outputs a structured summary |\n   | `Simple Memory`               | Maintains short-term session context                               |\n\n6. **Test Workflow Output**\n   A typical JSON output looks like:\n\n```json\n{\n  \"summary\": \"TSLA shows consolidation on the daily chart. RSI is neutral, BBANDS are contracting, MACD is flattening.\",\n  \"timeframe\": \"1d\",\n  \"indicators\": {\n    \"RSI\": 51.3,\n    \"BBANDS\": {\n      \"upper\": 192.80,\n      \"lower\": 168.20,\n      \"middle\": 180.50,\n      \"close\": 179.90\n    },\n    \"SMA\": 181.10,\n    \"EMA\": 179.75,\n    \"ADX\": 15.8,\n    \"MACD\": {\n      \"macd\": -0.25,\n      \"signal\": -0.20,\n      \"histogram\": -0.05\n    }\n  }\n}\n```\n\n---\n\n### \ud83e\udde0 AI Agent Logic\n\n* Leverages GPT-4.1 via LangChain Agent\n* Analyzes:\n\n  * Trend strength (ADX)\n  * Momentum shifts (MACD)\n  * Price volatility (BBANDS)\n  * Overbought/Oversold signals (RSI)\n  * Long-term trends (SMA, EMA)\n* Feeds results to:\n  \ud83d\udc49 `Tesla Financial Market Data Analyst Tool`\n\n---\n\n## \ud83d\ude80 Support & Licensing\n\n\ud83d\udd17 **Don Jayamaha \u2013 LinkedIn**\n[http://linkedin.com/in/donjayamahajr](http://linkedin.com/in/donjayamahajr)\n\n\u00a9 2025 Treasurium Capital Limited Company. All rights reserved.\nThis AI workflow architecture, including logic, design, and prompt structures, is the intellectual property of Treasurium Capital Limited Company. Unauthorized reproduction, redistribution, or resale is prohibited under U.S. copyright law. Licensed use only.\n"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "a225a383-1063-4b3d-843e-63162a17c154",
  "connections": {
    "1day Data": {
      "ai_tool": [
        [
          {
            "node": "Tesla 1day Indicators Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "Tesla 1day Indicators Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Tesla 1day Indicators Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "When Executed by Another Workflow": {
      "main": [
        [
          {
            "node": "Tesla 1day Indicators Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

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

About this workflow

📅 Analyze Tesla’s daily trading structure with AI using 6 Alpha Vantage indicators. This tool evaluates long-term trend health, volatility patterns, and potential reversal signals at the 1-day timeframe. Designed for use within the Tesla Financial Market Data Analyst Tool, this…

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

A short-term technical analysis agent for 15-minute candles on Binance Spot Market pairs. Calculates and interprets key trading indicators (RSI, MACD, BBANDS, ADX, SMA/EMA) and returns structured summ

OpenAI Chat, Memory Buffer Window, Execute Workflow Trigger +2
AI & RAG

A medium-term trend analyzer for the Binance Spot Market that leverages core technical indicators across 4-hour candle data to provide human-readable swing-trade signals via AI.

OpenAI Chat, Memory Buffer Window, Execute Workflow Trigger +2
AI & RAG

A precision trading signal engine that interprets 1-hour candlestick indicators for Binance Spot Market pairs using a GPT-4.1-mini LLM. Ideal for swing traders seeking directional bias and momentum cl

OpenAI Chat, Memory Buffer Window, Execute Workflow Trigger +2
AI & RAG

This advanced agent analyzes long-term price action in the Binance Spot Market using 1-day candles. It calculates key macro indicators like RSI, MACD, BBANDS, EMA, SMA, and ADX to identify high-confid

OpenAI Chat, Memory Buffer Window, Execute Workflow Trigger +2
AI & RAG

⏱️ Analyze Tesla (TSLA) short-term market structure and momentum using 6 technical indicators on the 15-minute timeframe. This AI agent tool is part of the Tesla Quant Trading AI Agent system. It is d

Execute Workflow Trigger, Memory Buffer Window, Agent +2