Tesla Quant Technical Indicators Webhooks Tool

Go to Workflow
412 views
Built by Don Jayamaha Jr Don Jayamaha Jr
Created on May 16, 2025

Description

πŸ“‘ This workflow serves as the central Alpha Vantage API fetcher for Tesla trading indicators, delivering cleaned 20-point JSON outputs for three timeframes: 15min, 1hour, and 1day.
It is required by the following agents:

Tesla 15min, 1h, 1d Indicators Tools
Tesla Financial Market Data Analyst Tool

βœ… Requires an Alpha Vantage Premium API Key
πŸš€ Used as a sub-agent via webhook endpoints triggered by other workflows

πŸ“ˆ What It Does

For each timeframe (15min, 1h, 1d), this tool:

Triggers 6 technical indicators via Alpha Vantage:

RSI
MACD
BBANDS
SMA
EMA
ADX
Trims the raw response to the latest 20 data points
Reformats into a clean JSON structure:

{
"indicator": "MACD",
"timeframe": "1hour",
"data": {
"timestamp": "...",
"macd": 0.32,
"signal": 0.29
}
}
Returns results via Webhook Respond for the calling agent

πŸ“‚ Required Credentials

πŸ”‘ Alpha Vantage Premium API Key
Set up under Credentials > HTTP Query Auth

Name: Alpha Vantage Premium
Query Param: apikey

Get yours here: https://www.alphavantage.co/premium/

πŸ› οΈ Setup Steps

Import Workflow into n8n
Name it: Tesla_Quant_Technical_Indicators_Webhooks_Tool

Add HTTP Query Auth Credential
Name: Alpha Vantage Premium
Param key: apikey
Value: your Alpha Vantage key

Publish and Use the Webhooks
This workflow exposes 3 endpoints:

/15minData β†’ used by 15m Indicator Tool
/1hourData β†’ used by 1h Indicator Tool
/1dayData β†’ used by 1d Indicator Tool

Connect via Execute Workflow or HTTP Request
Ensure caller sends webhook trigger correctly to the path

🧱 Architecture Summary

Each timeframe section includes:

| Component | Details |
| ------------------ | --------------------------------------------- |
| πŸ“‘ Webhook Trigger | Entry node (/15minData, /1hourData, etc.) |
| πŸ”„ API Calls | 6 nodes fetching indicators via Alpha Vantage |
| 🧹 Formatters | JS Code nodes to clean and trim responses |
| 🧩 Merge Node | Consolidates cleaned JSONs |
| πŸš€ Webhook Respond | Returns structured data to calling workflow |

🧾 Sticky Notes Overview

βœ… Webhook Entry: Instructions per timeframe
βœ… API Call Summary: Alpha Vantage endpoint for each indicator
βœ… Format Nodes: Explain JSON parsing and cleaning
βœ… Merge Logic: Final output format
βœ… Webhook Response: What gets returned to caller

All stickies follow n8n standard color-coding:

Blue = Webhook flow
Yellow = API request group
Purple = Formatters
Green = Merge step
Gray = Workflow overview and usage

πŸ” Licensing & Support

Β© 2025 Treasurium Capital Limited Company
This agent is part of the Tesla Quant AI Trading System and protected under U.S. copyright.

For support:
πŸ”— Don Jayamaha – LinkedIn
πŸ”— n8n Creator Profile

πŸš€ Use this API tool to feed Tesla technical indicators into any AI or trading agent across 15m, 1h, and 1d timeframes.
Required for all Tesla Quant Agent indicator tools.

Nodes Used (2)

Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest