Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / AI Agents & Assistants

AI Agents & Assistants

Analyze Tesla Daily Technical Indicators with OpenAI

When another workflow calls it, an OpenAI agent evaluates daily Alpha Vantage indicators for Tesla to assess long-term trend and reversals.

What it does

## 📘 Tesla 1-Day Indicators Tool ### 🔧 Purpose This 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. --- ### 📂 Required Dependencies (to use this workflow): To function correctly, this tool depends on: * ✅ Tesla Financial Market Data Analyst Tool (which triggers this workflow) * ✅ Alpha Vantage Premium API key (configured via HTTP Query Auth Credential) * ✅ Tesla Quant Technical Indicators Webhook Tool (handles HTTPS fetch and trims the latest 20 values) * ✅ OpenAI API key (for GPT-4.1 access) --- ### 🛠️ Step-by-Step Installation: 1. Import Workflow * Upload Tesla_1day_Indicators_Tool.json to your n8n instance. 2. Set Up API Credentials * In Credentials, create: * HTTP Query Auth credential named Alpha Vantage Premium * OpenAI API Key credential (for GPT-4.1) 3. Connect Workflow Trigger * This tool begins execution when called via: 👉 Execute Workflow from the Tesla Financial Market Data Analyst Tool 4. Configure Webhook Source * A webhook triggers an HTTP request that pulls Alpha Vantage indicator data: * RSI, BBANDS, SMA, EMA, ADX, MACD * Only the latest 20 values are returned and cleaned. 5. Key Nodes Explained | Node Name | Role | | ----------------------------- | ------------------------------------------------------------------ | | 1day Data | Pulls technical indicator JSON via webhook | | OpenAI Chat Model | GPT-4.1 model used for AI-driven trend interpretation | | Tesla 1day Indicators Agent | LangChain agent parses indicators and outputs a structured summary | | Simple Memory | Maintains short-term session context | 6. Test Workflow Output A typical JSON output looks like: json { "summary": "TSLA shows consolidation on the daily chart. RSI is neutral, BBANDS are contracting, MACD is flattening.", "timeframe": "1d", "indicators": { "RSI": 51.3, "BBANDS": { "upper": 192.80, "lower": 168.20, "middle": 180.50, "close": 179.90 }, "SMA": 181.10, "EMA": 179.75, "ADX": 15.8, "MACD": { "macd": -0.25, "signal": -0.20, "histogram": -0.05 } } } --- ### 🧠 AI Agent Logic * Leverages GPT-4.1 via LangChain Agent * Analyzes: * Trend strength (ADX) * Momentum shifts (MACD) * Price volatility (BBANDS) * Overbought/Oversold signals (RSI) * Long-term trends

The steps

  1. When Executed by Another Workflow
  2. Simple Memory
  3. Tesla 1day Indicators Agent
  4. OpenAI Chat Model
  5. 1day Data

Similar automations